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 |
|---|---|---|---|---|---|---|---|---|
[
31,
49,
13,
47
] | 57 | [
"49-47=2",
"13*2=26",
"31+26=57"
] | Current State: 57:[31, 49, 13, 47], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [31, 13, 2]
Generated Node #2: [31, 13, 2] from Operation: 49-47=2
Current State: 57:[31, 13, 2], Operations: ['49-47=2']
Exploring Operation: 13*2=26, Resulting Numbers: [31, 26]
Generated Node #3: [31, 26] from Operation: 13*2=26
Current State: 57:[31, 26], Operations: ['49-47=2', '13*2=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[31, 49, 13, 47], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [31, 13, 2]
Generated Node #0,0: 57:[31, 13, 2] Operation: 49-47=2
Exploring Operation: 31-13=18, Resulting Numbers: [49, 47, 18]
Generated Node #0,1: 57:[49, 47, 18] Operation: 31-13=18
Exploring Operation: 47-31=16, Resulting Numbers: [49, 13, 16]
Generated Node #0,2: 57:[49, 13, 16] Operation: 47-31=16
Exploring Operation: 49-31=18, Resulting Numbers: [13, 47, 18]
Generated Node #0,3: 57:[13, 47, 18] Operation: 49-31=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[49, 13, 16], Operations: ['47-31=16']
Exploring Operation: 49+13=62, Resulting Numbers: [16, 62]
Generated Node #0,2,0: 57:[16, 62] Operation: 49+13=62
Exploring Operation: 16-13=3, Resulting Numbers: [49, 3]
Generated Node #0,2,1: 57:[49, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [49, 29]
Generated Node #0,2,2: 57:[49, 29] Operation: 13+16=29
Exploring Operation: 49+16=65, Resulting Numbers: [13, 65]
Generated Node #0,2,3: 57:[13, 65] Operation: 49+16=65
Moving to Node #0,2,0
Current State: 57:[16, 62], Operations: ['47-31=16', '49+13=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,57 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[49, 3], Operations: ['47-31=16', '16-13=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,57 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[13, 65], Operations: ['47-31=16', '49+16=65']
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[49, 29], Operations: ['47-31=16', '13+16=29']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[13, 47, 18], Operations: ['49-31=18']
Exploring Operation: 47-13=34, Resulting Numbers: [18, 34]
Generated Node #0,3,0: 57:[18, 34] Operation: 47-13=34
Exploring Operation: 13+47=60, Resulting Numbers: [18, 60]
Generated Node #0,3,1: 57:[18, 60] Operation: 13+47=60
Exploring Operation: 18-13=5, Resulting Numbers: [47, 5]
Generated Node #0,3,2: 57:[47, 5] Operation: 18-13=5
Exploring Operation: 47+18=65, Resulting Numbers: [13, 65]
Generated Node #0,3,3: 57:[13, 65] Operation: 47+18=65
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[18, 60], Operations: ['49-31=18', '13+47=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,57 unequal: No Solution
No 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: 57:[47, 5], Operations: ['49-31=18', '18-13=5']
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,57 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,57 unequal: No Solution
No 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: 57:[13, 65], Operations: ['49-31=18', '47+18=65']
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,57 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,57 unequal: No Solution
No 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: 57:[18, 34], Operations: ['49-31=18', '47-13=34']
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,57 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: 57:[31, 13, 2], Operations: ['49-47=2']
Exploring Operation: 31-13=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 57:[2, 18] Operation: 31-13=18
Exploring Operation: 31*2=62, Resulting Numbers: [13, 62]
Generated Node #0,0,1: 57:[13, 62] Operation: 31*2=62
Exploring Operation: 31+13=44, Resulting Numbers: [2, 44]
Generated Node #0,0,2: 57:[2, 44] Operation: 31+13=44
Exploring Operation: 31-2=29, Resulting Numbers: [13, 29]
Generated Node #0,0,3: 57:[13, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[2, 18], Operations: ['49-47=2', '31-13=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No 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: 57:[13, 62], Operations: ['49-47=2', '31*2=62']
Exploring Operation: 13*62=806, Resulting Numbers: [806]
806,57 unequal: No Solution
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,57 unequal: No Solution
No 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: 57:[2, 44], Operations: ['49-47=2', '31+13=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,57 unequal: No Solution
No 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: 57:[13, 29], Operations: ['49-47=2', '31-2=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,57 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: 57:[49, 47, 18], Operations: ['31-13=18']
Exploring Operation: 47+18=65, Resulting Numbers: [49, 65]
Generated Node #0,1,0: 57:[49, 65] Operation: 47+18=65
Exploring Operation: 47-18=29, Resulting Numbers: [49, 29]
Generated Node #0,1,1: 57:[49, 29] Operation: 47-18=29
Exploring Operation: 49+18=67, Resulting Numbers: [47, 67]
Generated Node #0,1,2: 57:[47, 67] Operation: 49+18=67
Exploring Operation: 49-47=2, Resulting Numbers: [18, 2]
Generated Node #0,1,3: 57:[18, 2] Operation: 49-47=2
Moving to Node #0,1,3
Current State: 57:[18, 2], Operations: ['31-13=18', '49-47=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[49, 65], Operations: ['31-13=18', '47+18=65']
Exploring Operation: 49*65=3185, Resulting Numbers: [3185]
3185,57 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 49+65=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[49, 29], Operations: ['31-13=18', '47-18=29']
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,57 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[47, 67], Operations: ['31-13=18', '49+18=67']
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,57 unequal: No Solution
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,57 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 |
[
89,
91,
17,
19
] | 87 | [
"19-17=2",
"89*2=178",
"178-91=87"
] | Current State: 87:[89, 91, 17, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [89, 91, 2]
Generated Node #2: [89, 91, 2] from Operation: 19-17=2
Current State: 87:[89, 91, 2], Operations: ['19-17=2']
Exploring Operation: 89*2=178, Resulting Numbers: [91, 178]
Generated Node #3: [91, 178] from Operation: 89*2=178
Current State: 87:[91, 178], Operations: ['19-17=2', '89*2=178']
Exploring Operation: 178-91=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[89, 91, 17, 19], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [89, 91, 36]
Generated Node #0,0: 87:[89, 91, 36] Operation: 17+19=36
Exploring Operation: 91-17=74, Resulting Numbers: [89, 19, 74]
Generated Node #0,1: 87:[89, 19, 74] Operation: 91-17=74
Exploring Operation: 91-89=2, Resulting Numbers: [17, 19, 2]
Generated Node #0,2: 87:[17, 19, 2] Operation: 91-89=2
Exploring Operation: 19-17=2, Resulting Numbers: [89, 91, 2]
Generated Node #0,3: 87:[89, 91, 2] Operation: 19-17=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[89, 91, 2], Operations: ['19-17=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91, 91]
Generated Node #0,3,0: 87:[91, 91] Operation: 89+2=91
Exploring Operation: 91-2=89, Resulting Numbers: [89, 89]
Generated Node #0,3,1: 87:[89, 89] Operation: 91-2=89
Exploring Operation: 91-89=2, Resulting Numbers: [2, 2]
Generated Node #0,3,2: 87:[2, 2] Operation: 91-89=2
Exploring Operation: 89-2=87, Resulting Numbers: [91, 87]
Generated Node #0,3,3: 87:[91, 87] Operation: 89-2=87
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 87:[2, 2], Operations: ['19-17=2', '91-89=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 2+2=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,3,1
Current State: 87:[89, 89], Operations: ['19-17=2', '91-2=89']
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 89*89=7921, Resulting Numbers: [7921]
7921,87 unequal: No Solution
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,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:[91, 87], Operations: ['19-17=2', '89-2=87']
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 91*87=7917, Resulting Numbers: [7917]
7917,87 unequal: No Solution
Exploring Operation: 91+87=178, Resulting Numbers: [178]
178,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,0
Current State: 87:[91, 91], Operations: ['19-17=2', '89+2=91']
Exploring Operation: 91*91=8281, Resulting Numbers: [8281]
8281,87 unequal: No Solution
Exploring Operation: 91-91=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 91/91=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 91+91=182, Resulting Numbers: [182]
182,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,0
Current State: 87:[89, 91, 36], Operations: ['17+19=36']
Exploring Operation: 89+36=125, Resulting Numbers: [91, 125]
Generated Node #0,0,0: 87:[91, 125] Operation: 89+36=125
Exploring Operation: 89-36=53, Resulting Numbers: [91, 53]
Generated Node #0,0,1: 87:[91, 53] Operation: 89-36=53
Exploring Operation: 91-89=2, Resulting Numbers: [36, 2]
Generated Node #0,0,2: 87:[36, 2] Operation: 91-89=2
Exploring Operation: 91-36=55, Resulting Numbers: [89, 55]
Generated Node #0,0,3: 87:[89, 55] Operation: 91-36=55
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[36, 2], Operations: ['17+19=36', '91-89=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[91, 53], Operations: ['17+19=36', '89-36=53']
Exploring Operation: 91*53=4823, Resulting Numbers: [4823]
4823,87 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 91+53=144, Resulting Numbers: [144]
144,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:[89, 55], Operations: ['17+19=36', '91-36=55']
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,87 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,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:[91, 125], Operations: ['17+19=36', '89+36=125']
Exploring Operation: 91*125=11375, Resulting Numbers: [11375]
11375,87 unequal: No Solution
Exploring Operation: 125-91=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 91+125=216, Resulting Numbers: [216]
216,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:[17, 19, 2], Operations: ['91-89=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19, 19]
Generated Node #0,2,0: 87:[19, 19] Operation: 17+2=19
Exploring Operation: 17+19=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 87:[2, 36] Operation: 17+19=36
Exploring Operation: 17*2=34, Resulting Numbers: [19, 34]
Generated Node #0,2,2: 87:[19, 34] Operation: 17*2=34
Exploring Operation: 19-17=2, Resulting Numbers: [2, 2]
Generated Node #0,2,3: 87:[2, 2] Operation: 19-17=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 87:[2, 2], Operations: ['91-89=2', '19-17=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 2*2=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,2,1
Current State: 87:[2, 36], Operations: ['91-89=2', '17+19=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,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:[19, 34], Operations: ['91-89=2', '17*2=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,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:[19, 19], Operations: ['91-89=2', '17+2=19']
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,87 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,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:[89, 19, 74], Operations: ['91-17=74']
Exploring Operation: 19+74=93, Resulting Numbers: [89, 93]
Generated Node #0,1,0: 87:[89, 93] Operation: 19+74=93
Exploring Operation: 74-19=55, Resulting Numbers: [89, 55]
Generated Node #0,1,1: 87:[89, 55] Operation: 74-19=55
Exploring Operation: 89-19=70, Resulting Numbers: [74, 70]
Generated Node #0,1,2: 87:[74, 70] Operation: 89-19=70
Exploring Operation: 89-74=15, Resulting Numbers: [19, 15]
Generated Node #0,1,3: 87:[19, 15] Operation: 89-74=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[89, 93], Operations: ['91-17=74', '19+74=93']
Exploring Operation: 89+93=182, Resulting Numbers: [182]
182,87 unequal: No Solution
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 89*93=8277, Resulting Numbers: [8277]
8277,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 87:[19, 15], Operations: ['91-17=74', '89-74=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[89, 55], Operations: ['91-17=74', '74-19=55']
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,87 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[74, 70], Operations: ['91-17=74', '89-19=70']
Exploring Operation: 74*70=5180, Resulting Numbers: [5180]
5180,87 unequal: No Solution
Exploring Operation: 74+70=144, Resulting Numbers: [144]
144,87 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
93,
22,
68,
10
] | 55 | [
"93-68=25",
"22*25=550",
"550/10=55"
] | Current State: 55:[93, 22, 68, 10], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [22, 10, 25]
Generated Node #2: [22, 10, 25] from Operation: 93-68=25
Current State: 55:[22, 10, 25], Operations: ['93-68=25']
Exploring Operation: 22*25=550, Resulting Numbers: [10, 550]
Generated Node #3: [10, 550] from Operation: 22*25=550
Current State: 55:[10, 550], Operations: ['93-68=25', '22*25=550']
Exploring Operation: 550/10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[93, 22, 68, 10], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [22, 10, 25]
Generated Node #0,0: 55:[22, 10, 25] Operation: 93-68=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[22, 10, 25], Operations: ['93-68=25']
Exploring Operation: 25-22=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 55:[10, 3] Operation: 25-22=3
Moving to Node #0,0,0
Current State: 55:[10, 3], Operations: ['93-68=25', '25-22=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,55 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 |
[
41,
48,
13,
52
] | 46 | [
"48-41=7",
"52-13=39",
"7+39=46"
] | Current State: 46:[41, 48, 13, 52], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [13, 52, 7]
Generated Node #2: [13, 52, 7] from Operation: 48-41=7
Current State: 46:[13, 52, 7], Operations: ['48-41=7']
Exploring Operation: 52-13=39, Resulting Numbers: [7, 39]
Generated Node #3: [7, 39] from Operation: 52-13=39
Current State: 46:[7, 39], Operations: ['48-41=7', '52-13=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[41, 48, 13, 52], Operations: []
Exploring Operation: 41-13=28, Resulting Numbers: [48, 52, 28]
Generated Node #0,0: 46:[48, 52, 28] Operation: 41-13=28
Exploring Operation: 52/13=4, Resulting Numbers: [41, 48, 4]
Generated Node #0,1: 46:[41, 48, 4] Operation: 52/13=4
Moving to Node #0,1
Current State: 46:[41, 48, 4], Operations: ['52/13=4']
Exploring Operation: 41+4=45, Resulting Numbers: [48, 45]
Generated Node #0,1,0: 46:[48, 45] Operation: 41+4=45
Exploring Operation: 48-41=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 46:[4, 7] Operation: 48-41=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[48, 45], Operations: ['52/13=4', '41+4=45']
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,46 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[4, 7], Operations: ['52/13=4', '48-41=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 46:[48, 52, 28], Operations: ['41-13=28']
Exploring Operation: 52-28=24, Resulting Numbers: [48, 24]
Generated Node #0,0,0: 46:[48, 24] Operation: 52-28=24
Exploring Operation: 52-48=4, Resulting Numbers: [28, 4]
Generated Node #0,0,1: 46:[28, 4] Operation: 52-48=4
Moving to Node #0,0,0
Current State: 46:[48, 24], Operations: ['41-13=28', '52-28=24']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[28, 4], Operations: ['41-13=28', '52-48=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
70,
87,
81
] | 76 | [
"87-81=6",
"36/6=6",
"70+6=76"
] | Current State: 76:[36, 70, 87, 81], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [36, 70, 6]
Generated Node #2: [36, 70, 6] from Operation: 87-81=6
Current State: 76:[36, 70, 6], Operations: ['87-81=6']
Exploring Operation: 36/6=6, Resulting Numbers: [70, 6]
Generated Node #3: [70, 6] from Operation: 36/6=6
Current State: 76:[70, 6], Operations: ['87-81=6', '36/6=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[36, 70, 87, 81], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [36, 81, 17]
Generated Node #0,0: 76:[36, 81, 17] Operation: 87-70=17
Moving to Node #0,0
Current State: 76:[36, 81, 17], Operations: ['87-70=17']
Exploring Operation: 36-17=19, Resulting Numbers: [81, 19]
Generated Node #0,0,0: 76:[81, 19] Operation: 36-17=19
Moving to Node #0,0,0
Current State: 76:[81, 19], Operations: ['87-70=17', '36-17=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,76 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
94,
96,
56,
2
] | 74 | [
"96-56=40",
"40/2=20",
"94-20=74"
] | Current State: 74:[94, 96, 56, 2], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [94, 2, 40]
Generated Node #2: [94, 2, 40] from Operation: 96-56=40
Current State: 74:[94, 2, 40], Operations: ['96-56=40']
Exploring Operation: 40/2=20, Resulting Numbers: [94, 20]
Generated Node #3: [94, 20] from Operation: 40/2=20
Current State: 74:[94, 20], Operations: ['96-56=40', '40/2=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[94, 96, 56, 2], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [96, 56, 47]
Generated Node #0,0: 74:[96, 56, 47] Operation: 94/2=47
Exploring Operation: 96/2=48, Resulting Numbers: [94, 56, 48]
Generated Node #0,1: 74:[94, 56, 48] Operation: 96/2=48
Exploring Operation: 96-56=40, Resulting Numbers: [94, 2, 40]
Generated Node #0,2: 74:[94, 2, 40] Operation: 96-56=40
Exploring Operation: 96-94=2, Resulting Numbers: [56, 2, 2]
Generated Node #0,3: 74:[56, 2, 2] Operation: 96-94=2
Exploring Operation: 94-56=38, Resulting Numbers: [96, 2, 38]
Generated Node #0,4: 74:[96, 2, 38] Operation: 94-56=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[56, 2, 2], Operations: ['96-94=2']
Exploring Operation: 56/2=28, Resulting Numbers: [2, 28]
Generated Node #0,3,0: 74:[2, 28] Operation: 56/2=28
Exploring Operation: 56+2=58, Resulting Numbers: [2, 58]
Generated Node #0,3,1: 74:[2, 58] Operation: 56+2=58
Exploring Operation: 56+2=58, Resulting Numbers: [2, 58]
Generated Node #0,3,2: 74:[2, 58] Operation: 56+2=58
Exploring Operation: 56/2=28, Resulting Numbers: [2, 28]
Generated Node #0,3,3: 74:[2, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [2, 54]
Generated Node #0,3,4: 74:[2, 54] Operation: 56-2=54
Moving to Node #0,3,0
Current State: 74:[2, 28], Operations: ['96-94=2', '56/2=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[2, 28], Operations: ['96-94=2', '56/2=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[2, 58], Operations: ['96-94=2', '56+2=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[2, 58], Operations: ['96-94=2', '56+2=58']
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[2, 54], Operations: ['96-94=2', '56-2=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[94, 2, 40], Operations: ['96-56=40']
Exploring Operation: 94-2=92, Resulting Numbers: [40, 92]
Generated Node #0,2,0: 74:[40, 92] Operation: 94-2=92
Exploring Operation: 94+2=96, Resulting Numbers: [40, 96]
Generated Node #0,2,1: 74:[40, 96] Operation: 94+2=96
Exploring Operation: 94/2=47, Resulting Numbers: [40, 47]
Generated Node #0,2,2: 74:[40, 47] Operation: 94/2=47
Exploring Operation: 40-2=38, Resulting Numbers: [94, 38]
Generated Node #0,2,3: 74:[94, 38] Operation: 40-2=38
Exploring Operation: 94-40=54, Resulting Numbers: [2, 54]
Generated Node #0,2,4: 74:[2, 54] Operation: 94-40=54
Moving to Node #0,2,2
Current State: 74:[40, 47], Operations: ['96-56=40', '94/2=47']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[2, 54], Operations: ['96-56=40', '94-40=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[40, 92], Operations: ['96-56=40', '94-2=92']
Exploring Operation: 40*92=3680, Resulting Numbers: [3680]
3680,74 unequal: No Solution
Exploring Operation: 40+92=132, Resulting Numbers: [132]
132,74 unequal: No Solution
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[94, 38], Operations: ['96-56=40', '40-2=38']
Exploring Operation: 94*38=3572, Resulting Numbers: [3572]
3572,74 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 94+38=132, Resulting Numbers: [132]
132,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[40, 96], Operations: ['96-56=40', '94+2=96']
Exploring Operation: 40+96=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Exploring Operation: 40*96=3840, Resulting Numbers: [3840]
3840,74 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[96, 2, 38], Operations: ['94-56=38']
Exploring Operation: 96/2=48, Resulting Numbers: [38, 48]
Generated Node #0,4,0: 74:[38, 48] Operation: 96/2=48
Exploring Operation: 38-2=36, Resulting Numbers: [96, 36]
Generated Node #0,4,1: 74:[96, 36] Operation: 38-2=36
Exploring Operation: 96-38=58, Resulting Numbers: [2, 58]
Generated Node #0,4,2: 74:[2, 58] Operation: 96-38=58
Exploring Operation: 2*38=76, Resulting Numbers: [96, 76]
Generated Node #0,4,3: 74:[96, 76] Operation: 2*38=76
Exploring Operation: 96-2=94, Resulting Numbers: [38, 94]
Generated Node #0,4,4: 74:[38, 94] Operation: 96-2=94
Moving to Node #0,4,0
Current State: 74:[38, 48], Operations: ['94-56=38', '96/2=48']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,74 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[2, 58], Operations: ['94-56=38', '96-38=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[38, 94], Operations: ['94-56=38', '96-2=94']
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,74 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[96, 36], Operations: ['94-56=38', '38-2=36']
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,74 unequal: No Solution
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[96, 76], Operations: ['94-56=38', '2*38=76']
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,74 unequal: No Solution
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[94, 56, 48], Operations: ['96/2=48']
Exploring Operation: 94-56=38, Resulting Numbers: [48, 38]
Generated Node #0,1,0: 74:[48, 38] Operation: 94-56=38
Exploring Operation: 94-48=46, Resulting Numbers: [56, 46]
Generated Node #0,1,1: 74:[56, 46] Operation: 94-48=46
Exploring Operation: 94+48=142, Resulting Numbers: [56, 142]
Generated Node #0,1,2: 74:[56, 142] Operation: 94+48=142
Exploring Operation: 56-48=8, Resulting Numbers: [94, 8]
Generated Node #0,1,3: 74:[94, 8] Operation: 56-48=8
Exploring Operation: 56+48=104, Resulting Numbers: [94, 104]
Generated Node #0,1,4: 74:[94, 104] Operation: 56+48=104
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[48, 38], Operations: ['96/2=48', '94-56=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,74 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,74 unequal: No Solution
No 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: 74:[94, 8], Operations: ['96/2=48', '56-48=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,74 unequal: No Solution
No 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: 74:[56, 46], Operations: ['96/2=48', '94-48=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,74 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 74:[94, 104], Operations: ['96/2=48', '56+48=104']
Exploring Operation: 94+104=198, Resulting Numbers: [198]
198,74 unequal: No Solution
Exploring Operation: 94*104=9776, Resulting Numbers: [9776]
9776,74 unequal: No Solution
Exploring Operation: 104-94=10, Resulting Numbers: [10]
10,74 unequal: No Solution
No 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: 74:[56, 142], Operations: ['96/2=48', '94+48=142']
Exploring Operation: 56+142=198, Resulting Numbers: [198]
198,74 unequal: No Solution
Exploring Operation: 56*142=7952, Resulting Numbers: [7952]
7952,74 unequal: No Solution
Exploring Operation: 142-56=86, Resulting Numbers: [86]
86,74 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: 74:[96, 56, 47], Operations: ['94/2=47']
Exploring Operation: 96-47=49, Resulting Numbers: [56, 49]
Generated Node #0,0,0: 74:[56, 49] Operation: 96-47=49
Exploring Operation: 56+47=103, Resulting Numbers: [96, 103]
Generated Node #0,0,1: 74:[96, 103] Operation: 56+47=103
Exploring Operation: 96+47=143, Resulting Numbers: [56, 143]
Generated Node #0,0,2: 74:[56, 143] Operation: 96+47=143
Exploring Operation: 96-56=40, Resulting Numbers: [47, 40]
Generated Node #0,0,3: 74:[47, 40] Operation: 96-56=40
Exploring Operation: 56-47=9, Resulting Numbers: [96, 9]
Generated Node #0,0,4: 74:[96, 9] Operation: 56-47=9
Moving to Node #0,0,3
Current State: 74:[47, 40], Operations: ['94/2=47', '96-56=40']
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,74 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[96, 9], Operations: ['94/2=47', '56-47=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,74 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[56, 49], Operations: ['94/2=47', '96-47=49']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 56*49=2744, Resulting Numbers: [2744]
2744,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[96, 103], Operations: ['94/2=47', '56+47=103']
Exploring Operation: 96*103=9888, Resulting Numbers: [9888]
9888,74 unequal: No Solution
Exploring Operation: 96+103=199, Resulting Numbers: [199]
199,74 unequal: No Solution
Exploring Operation: 103-96=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[56, 143], Operations: ['94/2=47', '96+47=143']
Exploring Operation: 56+143=199, Resulting Numbers: [199]
199,74 unequal: No Solution
Exploring Operation: 56*143=8008, Resulting Numbers: [8008]
8008,74 unequal: No Solution
Exploring Operation: 143-56=87, Resulting Numbers: [87]
87,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
41,
2,
88
] | 15 | [
"88-36=52",
"52/2=26",
"41-26=15"
] | Current State: 15:[36, 41, 2, 88], Operations: []
Exploring Operation: 88-36=52, Resulting Numbers: [41, 2, 52]
Generated Node #2: [41, 2, 52] from Operation: 88-36=52
Current State: 15:[41, 2, 52], Operations: ['88-36=52']
Exploring Operation: 52/2=26, Resulting Numbers: [41, 26]
Generated Node #3: [41, 26] from Operation: 52/2=26
Current State: 15:[41, 26], Operations: ['88-36=52', '52/2=26']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[36, 41, 2, 88], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [2, 88, 5]
Generated Node #0,0: 15:[2, 88, 5] Operation: 41-36=5
Exploring Operation: 88-36=52, Resulting Numbers: [41, 2, 52]
Generated Node #0,1: 15:[41, 2, 52] Operation: 88-36=52
Exploring Operation: 88-41=47, Resulting Numbers: [36, 2, 47]
Generated Node #0,2: 15:[36, 2, 47] Operation: 88-41=47
Moving to Node #0,2
Current State: 15:[36, 2, 47], Operations: ['88-41=47']
Exploring Operation: 36/2=18, Resulting Numbers: [47, 18]
Generated Node #0,2,0: 15:[47, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [47, 34]
Generated Node #0,2,1: 15:[47, 34] Operation: 36-2=34
Exploring Operation: 47-36=11, Resulting Numbers: [2, 11]
Generated Node #0,2,2: 15:[2, 11] Operation: 47-36=11
Moving to Node #0,1
Current State: 15:[41, 2, 52], Operations: ['88-36=52']
Exploring Operation: 52/2=26, Resulting Numbers: [41, 26]
Generated Node #0,1,0: 15:[41, 26] Operation: 52/2=26
Exploring Operation: 41-2=39, Resulting Numbers: [52, 39]
Generated Node #0,1,1: 15:[52, 39] Operation: 41-2=39
Exploring Operation: 52-41=11, Resulting Numbers: [2, 11]
Generated Node #0,1,2: 15:[2, 11] Operation: 52-41=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[2, 11], Operations: ['88-36=52', '52-41=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[41, 26], Operations: ['88-36=52', '52/2=26']
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,15 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,15 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[36, 41, 2, 88], Operations: []
Exploring Operation: 88-36=52, Resulting Numbers: [41, 2, 52]
Generated Node #0,1: 15:[41, 2, 52] Operation: 88-36=52
Moving to Node #0,1
Current State: 15:[41, 2, 52], Operations: ['88-36=52']
Exploring Operation: 52/2=26, Resulting Numbers: [41, 26]
Generated Node #0,1,0: 15:[41, 26] Operation: 52/2=26
Moving to Node #0,1,0
Current State: 15:[41, 26], Operations: ['88-36=52', '52/2=26']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
99,
54,
54,
63
] | 54 | [
"99-54=45",
"63-54=9",
"45+9=54"
] | Current State: 54:[99, 54, 54, 63], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [63, 45]
Generated Node #2: [63, 45] from Operation: 99-54=45
Current State: 54:[63, 45], Operations: ['99-54=45']
Exploring Operation: 63-54=9, Resulting Numbers: [45, 9]
Generated Node #3: [45, 9] from Operation: 63-54=9
Current State: 54:[45, 9], Operations: ['99-54=45', '63-54=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[99, 54, 54, 63], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [54, 63, 45]
Generated Node #0,0: 54:[54, 63, 45] Operation: 99-54=45
Exploring Operation: 99-63=36, Resulting Numbers: [54, 54, 36]
Generated Node #0,1: 54:[54, 54, 36] Operation: 99-63=36
Exploring Operation: 63-54=9, Resulting Numbers: [99, 54, 9]
Generated Node #0,2: 54:[99, 54, 9] Operation: 63-54=9
Exploring Operation: 99-54=45, Resulting Numbers: [54, 63, 45]
Generated Node #0,3: 54:[54, 63, 45] Operation: 99-54=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[54, 54, 36], Operations: ['99-63=36']
Exploring Operation: 54-54=0, Resulting Numbers: [36, 0]
Generated Node #0,1,0: 54:[36, 0] Operation: 54-54=0
Exploring Operation: 54/54=1, Resulting Numbers: [36, 1]
Generated Node #0,1,1: 54:[36, 1] Operation: 54/54=1
Exploring Operation: 54-36=18, Resulting Numbers: [54, 18]
Generated Node #0,1,2: 54:[54, 18] Operation: 54-36=18
Exploring Operation: 54-36=18, Resulting Numbers: [54, 18]
Generated Node #0,1,3: 54:[54, 18] Operation: 54-36=18
Moving to Node #0,1,2
Current State: 54:[54, 18], Operations: ['99-63=36', '54-36=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,54 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[54, 18], Operations: ['99-63=36', '54-36=18']
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,54 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[36, 1], Operations: ['99-63=36', '54/54=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[36, 0], Operations: ['99-63=36', '54-54=0']
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[54, 63, 45], Operations: ['99-54=45']
Exploring Operation: 63-45=18, Resulting Numbers: [54, 18]
Generated Node #0,0,0: 54:[54, 18] Operation: 63-45=18
Exploring Operation: 54-45=9, Resulting Numbers: [63, 9]
Generated Node #0,0,1: 54:[63, 9] Operation: 54-45=9
Exploring Operation: 63-54=9, Resulting Numbers: [45, 9]
Generated Node #0,0,2: 54:[45, 9] Operation: 63-54=9
Exploring Operation: 54+45=99, Resulting Numbers: [63, 99]
Generated Node #0,0,3: 54:[63, 99] Operation: 54+45=99
Moving to Node #0,0,0
Current State: 54:[54, 18], Operations: ['99-54=45', '63-45=18']
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,54 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[45, 9], Operations: ['99-54=45', '63-54=9']
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,54 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[99, 54, 54, 63], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [54, 63, 45]
Generated Node #0,0: 54:[54, 63, 45] Operation: 99-54=45
Moving to Node #0,0
Current State: 54:[54, 63, 45], Operations: ['99-54=45']
Exploring Operation: 63-54=9, Resulting Numbers: [45, 9]
Generated Node #0,0,2: 54:[45, 9] Operation: 63-54=9
Moving to Node #0,0,2
Current State: 54:[45, 9], Operations: ['99-54=45', '63-54=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
61,
12,
4,
20
] | 73 | [
"61-12=49",
"4+20=24",
"49+24=73"
] | Current State: 73:[61, 12, 4, 20], Operations: []
Exploring Operation: 61-12=49, Resulting Numbers: [4, 20, 49]
Generated Node #2: [4, 20, 49] from Operation: 61-12=49
Current State: 73:[4, 20, 49], Operations: ['61-12=49']
Exploring Operation: 4+20=24, Resulting Numbers: [49, 24]
Generated Node #3: [49, 24] from Operation: 4+20=24
Current State: 73:[49, 24], Operations: ['61-12=49', '4+20=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[61, 12, 4, 20], Operations: []
Exploring Operation: 4*20=80, Resulting Numbers: [61, 12, 80]
Generated Node #0,0: 73:[61, 12, 80] Operation: 4*20=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[61, 12, 80], Operations: ['4*20=80']
Exploring Operation: 61+12=73, Resulting Numbers: [80, 73]
Generated Node #0,0,0: 73:[80, 73] Operation: 61+12=73
Moving to Node #0,0,0
Current State: 73:[80, 73], Operations: ['4*20=80', '61+12=73']
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,73 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 |
[
87,
82,
68,
63
] | 25 | [
"87-82=5",
"68-63=5",
"5*5=25"
] | Current State: 25:[87, 82, 68, 63], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [68, 63, 5]
Generated Node #2: [68, 63, 5] from Operation: 87-82=5
Current State: 25:[68, 63, 5], Operations: ['87-82=5']
Exploring Operation: 68-63=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 68-63=5
Current State: 25:[5, 5], Operations: ['87-82=5', '68-63=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[87, 82, 68, 63], Operations: []
Exploring Operation: 87-68=19, Resulting Numbers: [82, 63, 19]
Generated Node #0,0: 25:[82, 63, 19] Operation: 87-68=19
Exploring Operation: 87-63=24, Resulting Numbers: [82, 68, 24]
Generated Node #0,1: 25:[82, 68, 24] Operation: 87-63=24
Exploring Operation: 87-82=5, Resulting Numbers: [68, 63, 5]
Generated Node #0,2: 25:[68, 63, 5] Operation: 87-82=5
Exploring Operation: 82-68=14, Resulting Numbers: [87, 63, 14]
Generated Node #0,3: 25:[87, 63, 14] Operation: 82-68=14
Moving to Node #0,2
Current State: 25:[68, 63, 5], Operations: ['87-82=5']
Exploring Operation: 68+5=73, Resulting Numbers: [63, 73]
Generated Node #0,2,0: 25:[63, 73] Operation: 68+5=73
Exploring Operation: 63-5=58, Resulting Numbers: [68, 58]
Generated Node #0,2,1: 25:[68, 58] Operation: 63-5=58
Exploring Operation: 68-5=63, Resulting Numbers: [63, 63]
Generated Node #0,2,2: 25:[63, 63] Operation: 68-5=63
Exploring Operation: 68-63=5, Resulting Numbers: [5, 5]
Generated Node #0,2,3: 25:[5, 5] Operation: 68-63=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[5, 5], Operations: ['87-82=5', '68-63=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[87, 82, 68, 63], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [68, 63, 5]
Generated Node #0,2: 25:[68, 63, 5] Operation: 87-82=5
Moving to Node #0,2
Current State: 25:[68, 63, 5], Operations: ['87-82=5']
Exploring Operation: 68-63=5, Resulting Numbers: [5, 5]
Generated Node #0,2,3: 25:[5, 5] Operation: 68-63=5
Moving to Node #0,2,3
Current State: 25:[5, 5], Operations: ['87-82=5', '68-63=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
99,
85,
9,
13
] | 46 | [
"99+85=184",
"13-9=4",
"184/4=46"
] | Current State: 46:[99, 85, 9, 13], Operations: []
Exploring Operation: 99+85=184, Resulting Numbers: [9, 13, 184]
Generated Node #2: [9, 13, 184] from Operation: 99+85=184
Current State: 46:[9, 13, 184], Operations: ['99+85=184']
Exploring Operation: 13-9=4, Resulting Numbers: [184, 4]
Generated Node #3: [184, 4] from Operation: 13-9=4
Current State: 46:[184, 4], Operations: ['99+85=184', '13-9=4']
Exploring Operation: 184/4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[99, 85, 9, 13], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [9, 13, 14]
Generated Node #0,0: 46:[9, 13, 14] Operation: 99-85=14
Exploring Operation: 99/9=11, Resulting Numbers: [85, 13, 11]
Generated Node #0,1: 46:[85, 13, 11] Operation: 99/9=11
Exploring Operation: 85-13=72, Resulting Numbers: [99, 9, 72]
Generated Node #0,2: 46:[99, 9, 72] Operation: 85-13=72
Exploring Operation: 99-13=86, Resulting Numbers: [85, 9, 86]
Generated Node #0,3: 46:[85, 9, 86] Operation: 99-13=86
Moving to Node #0,0
Current State: 46:[9, 13, 14], Operations: ['99-85=14']
Exploring Operation: 9+14=23, Resulting Numbers: [13, 23]
Generated Node #0,0,0: 46:[13, 23] Operation: 9+14=23
Exploring Operation: 14-13=1, Resulting Numbers: [9, 1]
Generated Node #0,0,1: 46:[9, 1] Operation: 14-13=1
Exploring Operation: 9+13=22, Resulting Numbers: [14, 22]
Generated Node #0,0,2: 46:[14, 22] Operation: 9+13=22
Exploring Operation: 13-9=4, Resulting Numbers: [14, 4]
Generated Node #0,0,3: 46:[14, 4] Operation: 13-9=4
Moving to Node #0,1
Current State: 46:[85, 13, 11], Operations: ['99/9=11']
Exploring Operation: 85-13=72, Resulting Numbers: [11, 72]
Generated Node #0,1,0: 46:[11, 72] Operation: 85-13=72
Exploring Operation: 13+11=24, Resulting Numbers: [85, 24]
Generated Node #0,1,1: 46:[85, 24] Operation: 13+11=24
Exploring Operation: 13-11=2, Resulting Numbers: [85, 2]
Generated Node #0,1,2: 46:[85, 2] Operation: 13-11=2
Exploring Operation: 85-11=74, Resulting Numbers: [13, 74]
Generated Node #0,1,3: 46:[13, 74] Operation: 85-11=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[11, 72], Operations: ['99/9=11', '85-13=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[13, 74], Operations: ['99/9=11', '85-11=74']
Exploring Operation: 13*74=962, Resulting Numbers: [962]
962,46 unequal: No Solution
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[85, 2], Operations: ['99/9=11', '13-11=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,46 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[85, 24], Operations: ['99/9=11', '13+11=24']
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,46 unequal: No Solution
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,46 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,46 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: 46:[85, 9, 86], Operations: ['99-13=86']
Exploring Operation: 85+9=94, Resulting Numbers: [86, 94]
Generated Node #0,3,0: 46:[86, 94] Operation: 85+9=94
Exploring Operation: 86-9=77, Resulting Numbers: [85, 77]
Generated Node #0,3,1: 46:[85, 77] Operation: 86-9=77
Exploring Operation: 86-85=1, Resulting Numbers: [9, 1]
Generated Node #0,3,2: 46:[9, 1] Operation: 86-85=1
Exploring Operation: 85-9=76, Resulting Numbers: [86, 76]
Generated Node #0,3,3: 46:[86, 76] Operation: 85-9=76
Moving to Node #0,2
Current State: 46:[99, 9, 72], Operations: ['85-13=72']
Exploring Operation: 72/9=8, Resulting Numbers: [99, 8]
Generated Node #0,2,0: 46:[99, 8] Operation: 72/9=8
Exploring Operation: 99-9=90, Resulting Numbers: [72, 90]
Generated Node #0,2,1: 46:[72, 90] Operation: 99-9=90
Exploring Operation: 99-72=27, Resulting Numbers: [9, 27]
Generated Node #0,2,2: 46:[9, 27] Operation: 99-72=27
Exploring Operation: 99/9=11, Resulting Numbers: [72, 11]
Generated Node #0,2,3: 46:[72, 11] Operation: 99/9=11
Moving to Node #0,0,1
Current State: 46:[9, 1], Operations: ['99-85=14', '14-13=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[9, 1], Operations: ['99-13=86', '86-85=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[14, 22], Operations: ['99-85=14', '9+13=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,46 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[13, 23], Operations: ['99-85=14', '9+14=23']
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,46 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[14, 4], Operations: ['99-85=14', '13-9=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[9, 27], Operations: ['85-13=72', '99-72=27']
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,46 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[72, 11], Operations: ['85-13=72', '99/9=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,46 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[99, 8], Operations: ['85-13=72', '72/9=8']
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Exploring Operation: 99*8=792, Resulting Numbers: [792]
792,46 unequal: No Solution
Exploring Operation: 99+8=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[85, 77], Operations: ['99-13=86', '86-9=77']
Exploring Operation: 85+77=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 85*77=6545, Resulting Numbers: [6545]
6545,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[72, 90], Operations: ['85-13=72', '99-9=90']
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,46 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[86, 76], Operations: ['99-13=86', '85-9=76']
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 86+76=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 86*76=6536, Resulting Numbers: [6536]
6536,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[86, 94], Operations: ['99-13=86', '85+9=94']
Exploring Operation: 86*94=8084, Resulting Numbers: [8084]
8084,46 unequal: No Solution
Exploring Operation: 86+94=180, Resulting Numbers: [180]
180,46 unequal: No Solution
Exploring Operation: 94-86=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
29,
11,
62
] | 72 | [
"5*29=145",
"11+62=73",
"145-73=72"
] | Current State: 72:[5, 29, 11, 62], Operations: []
Exploring Operation: 5*29=145, Resulting Numbers: [11, 62, 145]
Generated Node #2: [11, 62, 145] from Operation: 5*29=145
Current State: 72:[11, 62, 145], Operations: ['5*29=145']
Exploring Operation: 11+62=73, Resulting Numbers: [145, 73]
Generated Node #3: [145, 73] from Operation: 11+62=73
Current State: 72:[145, 73], Operations: ['5*29=145', '11+62=73']
Exploring Operation: 145-73=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 29, 11, 62], Operations: []
Exploring Operation: 62-29=33, Resulting Numbers: [5, 11, 33]
Generated Node #0,0: 72:[5, 11, 33] Operation: 62-29=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[5, 11, 33], Operations: ['62-29=33']
Exploring Operation: 33/11=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 72:[5, 3] Operation: 33/11=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[5, 3], Operations: ['62-29=33', '33/11=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,72 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 |
[
81,
21,
97,
3
] | 10 | [
"97*3=291",
"291-81=210",
"210/21=10"
] | Current State: 10:[81, 21, 97, 3], Operations: []
Exploring Operation: 97*3=291, Resulting Numbers: [81, 21, 291]
Generated Node #2: [81, 21, 291] from Operation: 97*3=291
Current State: 10:[81, 21, 291], Operations: ['97*3=291']
Exploring Operation: 291-81=210, Resulting Numbers: [21, 210]
Generated Node #3: [21, 210] from Operation: 291-81=210
Current State: 10:[21, 210], Operations: ['97*3=291', '291-81=210']
Exploring Operation: 210/21=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[81, 21, 97, 3], Operations: []
Exploring Operation: 81-21=60, Resulting Numbers: [97, 3, 60]
Generated Node #0,0: 10:[97, 3, 60] Operation: 81-21=60
Exploring Operation: 97-81=16, Resulting Numbers: [21, 3, 16]
Generated Node #0,1: 10:[21, 3, 16] Operation: 97-81=16
Exploring Operation: 97-21=76, Resulting Numbers: [81, 3, 76]
Generated Node #0,2: 10:[81, 3, 76] Operation: 97-21=76
Exploring Operation: 81/3=27, Resulting Numbers: [21, 97, 27]
Generated Node #0,3: 10:[21, 97, 27] Operation: 81/3=27
Exploring Operation: 21/3=7, Resulting Numbers: [81, 97, 7]
Generated Node #0,4: 10:[81, 97, 7] Operation: 21/3=7
Moving to Node #0,1
Current State: 10:[21, 3, 16], Operations: ['97-81=16']
Exploring Operation: 16-3=13, Resulting Numbers: [21, 13]
Generated Node #0,1,0: 10:[21, 13] Operation: 16-3=13
Exploring Operation: 21+3=24, Resulting Numbers: [16, 24]
Generated Node #0,1,1: 10:[16, 24] Operation: 21+3=24
Exploring Operation: 21/3=7, Resulting Numbers: [16, 7]
Generated Node #0,1,2: 10:[16, 7] Operation: 21/3=7
Exploring Operation: 21-16=5, Resulting Numbers: [3, 5]
Generated Node #0,1,3: 10:[3, 5] Operation: 21-16=5
Exploring Operation: 21-3=18, Resulting Numbers: [16, 18]
Generated Node #0,1,4: 10:[16, 18] Operation: 21-3=18
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[3, 5], Operations: ['97-81=16', '21-16=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,10 unequal: No Solution
No 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: 10:[16, 7], Operations: ['97-81=16', '21/3=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,10 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,10 unequal: No Solution
No 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: 10:[21, 13], Operations: ['97-81=16', '16-3=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,10 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No 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: 10:[16, 18], Operations: ['97-81=16', '21-3=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,10 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No 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: 10:[16, 24], Operations: ['97-81=16', '21+3=24']
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,10 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,10 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: 10:[21, 97, 27], Operations: ['81/3=27']
Exploring Operation: 97-21=76, Resulting Numbers: [27, 76]
Generated Node #0,3,0: 10:[27, 76] Operation: 97-21=76
Exploring Operation: 21+97=118, Resulting Numbers: [27, 118]
Generated Node #0,3,1: 10:[27, 118] Operation: 21+97=118
Exploring Operation: 27-21=6, Resulting Numbers: [97, 6]
Generated Node #0,3,2: 10:[97, 6] Operation: 27-21=6
Exploring Operation: 97-27=70, Resulting Numbers: [21, 70]
Generated Node #0,3,3: 10:[21, 70] Operation: 97-27=70
Exploring Operation: 21+27=48, Resulting Numbers: [97, 48]
Generated Node #0,3,4: 10:[97, 48] Operation: 21+27=48
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[21, 70], Operations: ['81/3=27', '97-27=70']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,10 unequal: No Solution
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,10 unequal: No Solution
No 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: 10:[27, 76], Operations: ['81/3=27', '97-21=76']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 27*76=2052, Resulting Numbers: [2052]
2052,10 unequal: No Solution
No 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: 10:[97, 6], Operations: ['81/3=27', '27-21=6']
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,10 unequal: No Solution
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,10 unequal: No Solution
No 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: 10:[27, 118], Operations: ['81/3=27', '21+97=118']
Exploring Operation: 27+118=145, Resulting Numbers: [145]
145,10 unequal: No Solution
Exploring Operation: 118-27=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Exploring Operation: 27*118=3186, Resulting Numbers: [3186]
3186,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[97, 48], Operations: ['81/3=27', '21+27=48']
Exploring Operation: 97-48=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 97+48=145, Resulting Numbers: [145]
145,10 unequal: No Solution
Exploring Operation: 97*48=4656, Resulting Numbers: [4656]
4656,10 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: 10:[97, 3, 60], Operations: ['81-21=60']
Exploring Operation: 97-3=94, Resulting Numbers: [60, 94]
Generated Node #0,0,0: 10:[60, 94] Operation: 97-3=94
Exploring Operation: 60-3=57, Resulting Numbers: [97, 57]
Generated Node #0,0,1: 10:[97, 57] Operation: 60-3=57
Exploring Operation: 60/3=20, Resulting Numbers: [97, 20]
Generated Node #0,0,2: 10:[97, 20] Operation: 60/3=20
Exploring Operation: 97-60=37, Resulting Numbers: [3, 37]
Generated Node #0,0,3: 10:[3, 37] Operation: 97-60=37
Exploring Operation: 97+3=100, Resulting Numbers: [60, 100]
Generated Node #0,0,4: 10:[60, 100] Operation: 97+3=100
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[3, 37], Operations: ['81-21=60', '97-60=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No 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: 10:[97, 20], Operations: ['81-21=60', '60/3=20']
Exploring Operation: 97*20=1940, Resulting Numbers: [1940]
1940,10 unequal: No Solution
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 97+20=117, Resulting Numbers: [117]
117,10 unequal: No Solution
No 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: 10:[60, 94], Operations: ['81-21=60', '97-3=94']
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 60*94=5640, Resulting Numbers: [5640]
5640,10 unequal: No Solution
Exploring Operation: 60+94=154, Resulting Numbers: [154]
154,10 unequal: No Solution
No 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: 10:[97, 57], Operations: ['81-21=60', '60-3=57']
Exploring Operation: 97+57=154, Resulting Numbers: [154]
154,10 unequal: No Solution
Exploring Operation: 97*57=5529, Resulting Numbers: [5529]
5529,10 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,10 unequal: No Solution
No 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: 10:[60, 100], Operations: ['81-21=60', '97+3=100']
Exploring Operation: 60+100=160, Resulting Numbers: [160]
160,10 unequal: No Solution
Exploring Operation: 60*100=6000, Resulting Numbers: [6000]
6000,10 unequal: No Solution
Exploring Operation: 100-60=40, Resulting Numbers: [40]
40,10 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: 10:[81, 3, 76], Operations: ['97-21=76']
Exploring Operation: 81-76=5, Resulting Numbers: [3, 5]
Generated Node #0,2,0: 10:[3, 5] Operation: 81-76=5
Exploring Operation: 81/3=27, Resulting Numbers: [76, 27]
Generated Node #0,2,1: 10:[76, 27] Operation: 81/3=27
Exploring Operation: 76-3=73, Resulting Numbers: [81, 73]
Generated Node #0,2,2: 10:[81, 73] Operation: 76-3=73
Exploring Operation: 81+3=84, Resulting Numbers: [76, 84]
Generated Node #0,2,3: 10:[76, 84] Operation: 81+3=84
Exploring Operation: 81-3=78, Resulting Numbers: [76, 78]
Generated Node #0,2,4: 10:[76, 78] Operation: 81-3=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[3, 5], Operations: ['97-21=76', '81-76=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No 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: 10:[76, 27], Operations: ['97-21=76', '81/3=27']
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,10 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,10 unequal: No Solution
No 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: 10:[81, 73], Operations: ['97-21=76', '76-3=73']
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,10 unequal: No Solution
Exploring Operation: 81*73=5913, Resulting Numbers: [5913]
5913,10 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No 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: 10:[76, 78], Operations: ['97-21=76', '81-3=78']
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 76*78=5928, Resulting Numbers: [5928]
5928,10 unequal: No Solution
Exploring Operation: 76+78=154, Resulting Numbers: [154]
154,10 unequal: No Solution
No 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: 10:[76, 84], Operations: ['97-21=76', '81+3=84']
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,10 unequal: No Solution
Exploring Operation: 76*84=6384, Resulting Numbers: [6384]
6384,10 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,10 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: 10:[81, 97, 7], Operations: ['21/3=7']
Exploring Operation: 97+7=104, Resulting Numbers: [81, 104]
Generated Node #0,4,0: 10:[81, 104] Operation: 97+7=104
Exploring Operation: 81-7=74, Resulting Numbers: [97, 74]
Generated Node #0,4,1: 10:[97, 74] Operation: 81-7=74
Exploring Operation: 97-7=90, Resulting Numbers: [81, 90]
Generated Node #0,4,2: 10:[81, 90] Operation: 97-7=90
Exploring Operation: 97-81=16, Resulting Numbers: [7, 16]
Generated Node #0,4,3: 10:[7, 16] Operation: 97-81=16
Exploring Operation: 81+7=88, Resulting Numbers: [97, 88]
Generated Node #0,4,4: 10:[97, 88] Operation: 81+7=88
Moving to Node #0,4,3
Current State: 10:[7, 16], Operations: ['21/3=7', '97-81=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,10 unequal: No Solution
Moving to Node #0,4,2
Current State: 10:[81, 90], Operations: ['21/3=7', '97-7=90']
Exploring Operation: 81*90=7290, Resulting Numbers: [7290]
7290,10 unequal: No Solution
Exploring Operation: 90-81=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 81+90=171, Resulting Numbers: [171]
171,10 unequal: No Solution
Moving to Node #0,4,1
Current State: 10:[97, 74], Operations: ['21/3=7', '81-7=74']
Exploring Operation: 97+74=171, Resulting Numbers: [171]
171,10 unequal: No Solution
Exploring Operation: 97*74=7178, Resulting Numbers: [7178]
7178,10 unequal: No Solution
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Moving to Node #0,4,0
Current State: 10:[81, 104], Operations: ['21/3=7', '97+7=104']
Exploring Operation: 104-81=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 81+104=185, Resulting Numbers: [185]
185,10 unequal: No Solution
Exploring Operation: 81*104=8424, Resulting Numbers: [8424]
8424,10 unequal: No Solution
Moving to Node #0,4,4
Current State: 10:[97, 88], Operations: ['21/3=7', '81+7=88']
Exploring Operation: 97+88=185, Resulting Numbers: [185]
185,10 unequal: No Solution
Exploring Operation: 97*88=8536, Resulting Numbers: [8536]
8536,10 unequal: No Solution
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,10 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
52,
49,
33,
90
] | 63 | [
"52-49=3",
"90/3=30",
"33+30=63"
] | Current State: 63:[52, 49, 33, 90], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [33, 90, 3]
Generated Node #2: [33, 90, 3] from Operation: 52-49=3
Current State: 63:[33, 90, 3], Operations: ['52-49=3']
Exploring Operation: 90/3=30, Resulting Numbers: [33, 30]
Generated Node #3: [33, 30] from Operation: 90/3=30
Current State: 63:[33, 30], Operations: ['52-49=3', '90/3=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[52, 49, 33, 90], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [52, 49, 57]
Generated Node #0,0: 63:[52, 49, 57] Operation: 90-33=57
Exploring Operation: 52-49=3, Resulting Numbers: [33, 90, 3]
Generated Node #0,1: 63:[33, 90, 3] Operation: 52-49=3
Exploring Operation: 49-33=16, Resulting Numbers: [52, 90, 16]
Generated Node #0,2: 63:[52, 90, 16] Operation: 49-33=16
Exploring Operation: 90-52=38, Resulting Numbers: [49, 33, 38]
Generated Node #0,3: 63:[49, 33, 38] Operation: 90-52=38
Exploring Operation: 52-33=19, Resulting Numbers: [49, 90, 19]
Generated Node #0,4: 63:[49, 90, 19] Operation: 52-33=19
Moving to Node #0,0
Current State: 63:[52, 49, 57], Operations: ['90-33=57']
Exploring Operation: 57-49=8, Resulting Numbers: [52, 8]
Generated Node #0,0,0: 63:[52, 8] Operation: 57-49=8
Exploring Operation: 57-52=5, Resulting Numbers: [49, 5]
Generated Node #0,0,1: 63:[49, 5] Operation: 57-52=5
Exploring Operation: 52+49=101, Resulting Numbers: [57, 101]
Generated Node #0,0,2: 63:[57, 101] Operation: 52+49=101
Exploring Operation: 52-49=3, Resulting Numbers: [57, 3]
Generated Node #0,0,3: 63:[57, 3] Operation: 52-49=3
Exploring Operation: 49+57=106, Resulting Numbers: [52, 106]
Generated Node #0,0,4: 63:[52, 106] Operation: 49+57=106
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[57, 3], Operations: ['90-33=57', '52-49=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[52, 8], Operations: ['90-33=57', '57-49=8']
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,63 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[49, 5], Operations: ['90-33=57', '57-52=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,63 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[57, 101], Operations: ['90-33=57', '52+49=101']
Exploring Operation: 101-57=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Exploring Operation: 57*101=5757, Resulting Numbers: [5757]
5757,63 unequal: No Solution
Exploring Operation: 57+101=158, Resulting Numbers: [158]
158,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[52, 106], Operations: ['90-33=57', '49+57=106']
Exploring Operation: 52*106=5512, Resulting Numbers: [5512]
5512,63 unequal: No Solution
Exploring Operation: 106-52=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 52+106=158, Resulting Numbers: [158]
158,63 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: 63:[33, 90, 3], Operations: ['52-49=3']
Exploring Operation: 90/3=30, Resulting Numbers: [33, 30]
Generated Node #0,1,0: 63:[33, 30] Operation: 90/3=30
Exploring Operation: 33-3=30, Resulting Numbers: [90, 30]
Generated Node #0,1,1: 63:[90, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [90, 11]
Generated Node #0,1,2: 63:[90, 11] Operation: 33/3=11
Exploring Operation: 90-3=87, Resulting Numbers: [33, 87]
Generated Node #0,1,3: 63:[33, 87] Operation: 90-3=87
Exploring Operation: 90-33=57, Resulting Numbers: [3, 57]
Generated Node #0,1,4: 63:[3, 57] Operation: 90-33=57
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 63:[3, 57], Operations: ['52-49=3', '90-33=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,63 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[33, 30], Operations: ['52-49=3', '90/3=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,63 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[52, 49, 33, 90], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [33, 90, 3]
Generated Node #0,1: 63:[33, 90, 3] Operation: 52-49=3
Moving to Node #0,1
Current State: 63:[33, 90, 3], Operations: ['52-49=3']
Exploring Operation: 90/3=30, Resulting Numbers: [33, 30]
Generated Node #0,1,0: 63:[33, 30] Operation: 90/3=30
Moving to Node #0,1,0
Current State: 63:[33, 30], Operations: ['52-49=3', '90/3=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
69,
92,
54,
20
] | 57 | [
"92-69=23",
"54-20=34",
"23+34=57"
] | Current State: 57:[69, 92, 54, 20], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [54, 20, 23]
Generated Node #2: [54, 20, 23] from Operation: 92-69=23
Current State: 57:[54, 20, 23], Operations: ['92-69=23']
Exploring Operation: 54-20=34, Resulting Numbers: [23, 34]
Generated Node #3: [23, 34] from Operation: 54-20=34
Current State: 57:[23, 34], Operations: ['92-69=23', '54-20=34']
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[69, 92, 54, 20], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [69, 20, 38]
Generated Node #0,0: 57:[69, 20, 38] Operation: 92-54=38
Exploring Operation: 92-69=23, Resulting Numbers: [54, 20, 23]
Generated Node #0,1: 57:[54, 20, 23] Operation: 92-69=23
Exploring Operation: 92-20=72, Resulting Numbers: [69, 54, 72]
Generated Node #0,2: 57:[69, 54, 72] Operation: 92-20=72
Moving to Node #0,1
Current State: 57:[54, 20, 23], Operations: ['92-69=23']
Exploring Operation: 20+23=43, Resulting Numbers: [54, 43]
Generated Node #0,1,0: 57:[54, 43] Operation: 20+23=43
Exploring Operation: 54-23=31, Resulting Numbers: [20, 31]
Generated Node #0,1,1: 57:[20, 31] Operation: 54-23=31
Exploring Operation: 23-20=3, Resulting Numbers: [54, 3]
Generated Node #0,1,2: 57:[54, 3] Operation: 23-20=3
Moving to Node #0,2
Current State: 57:[69, 54, 72], Operations: ['92-20=72']
Exploring Operation: 72-54=18, Resulting Numbers: [69, 18]
Generated Node #0,2,0: 57:[69, 18] Operation: 72-54=18
Exploring Operation: 72-69=3, Resulting Numbers: [54, 3]
Generated Node #0,2,1: 57:[54, 3] Operation: 72-69=3
Exploring Operation: 69-54=15, Resulting Numbers: [72, 15]
Generated Node #0,2,2: 57:[72, 15] Operation: 69-54=15
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[54, 3], Operations: ['92-20=72', '72-69=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,57 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[69, 92, 54, 20], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [69, 54, 72]
Generated Node #0,2: 57:[69, 54, 72] Operation: 92-20=72
Moving to Node #0,2
Current State: 57:[69, 54, 72], Operations: ['92-20=72']
Exploring Operation: 72-69=3, Resulting Numbers: [54, 3]
Generated Node #0,2,1: 57:[54, 3] Operation: 72-69=3
Moving to Node #0,2,1
Current State: 57:[54, 3], Operations: ['92-20=72', '72-69=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
72,
77,
15,
69
] | 32 | [
"72-69=3",
"15*3=45",
"77-45=32"
] | Current State: 32:[72, 77, 15, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [77, 15, 3]
Generated Node #2: [77, 15, 3] from Operation: 72-69=3
Current State: 32:[77, 15, 3], Operations: ['72-69=3']
Exploring Operation: 15*3=45, Resulting Numbers: [77, 45]
Generated Node #3: [77, 45] from Operation: 15*3=45
Current State: 32:[77, 45], Operations: ['72-69=3', '15*3=45']
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[72, 77, 15, 69], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [15, 69, 5]
Generated Node #0,0: 32:[15, 69, 5] Operation: 77-72=5
Moving to Node #0,0
Current State: 32:[15, 69, 5], Operations: ['77-72=5']
Exploring Operation: 69-15=54, Resulting Numbers: [5, 54]
Generated Node #0,0,0: 32:[5, 54] Operation: 69-15=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[5, 54], Operations: ['77-72=5', '69-15=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,32 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 |
[
27,
39,
44,
15
] | 37 | [
"27+39=66",
"44-15=29",
"66-29=37"
] | Current State: 37:[27, 39, 44, 15], Operations: []
Exploring Operation: 27+39=66, Resulting Numbers: [44, 15, 66]
Generated Node #2: [44, 15, 66] from Operation: 27+39=66
Current State: 37:[44, 15, 66], Operations: ['27+39=66']
Exploring Operation: 44-15=29, Resulting Numbers: [66, 29]
Generated Node #3: [66, 29] from Operation: 44-15=29
Current State: 37:[66, 29], Operations: ['27+39=66', '44-15=29']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[27, 39, 44, 15], Operations: []
Exploring Operation: 27+15=42, Resulting Numbers: [39, 44, 42]
Generated Node #0,0: 37:[39, 44, 42] Operation: 27+15=42
Moving to Node #0,0
Current State: 37:[39, 44, 42], Operations: ['27+15=42']
Exploring Operation: 44-39=5, Resulting Numbers: [42, 5]
Generated Node #0,0,0: 37:[42, 5] Operation: 44-39=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[42, 5], Operations: ['27+15=42', '44-39=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[27, 39, 44, 15], Operations: []
Exploring Operation: 27+15=42, Resulting Numbers: [39, 44, 42]
Generated Node #0,0: 37:[39, 44, 42] Operation: 27+15=42
Moving to Node #0,0
Current State: 37:[39, 44, 42], Operations: ['27+15=42']
Exploring Operation: 44-39=5, Resulting Numbers: [42, 5]
Generated Node #0,0,0: 37:[42, 5] Operation: 44-39=5
Moving to Node #0,0,0
Current State: 37:[42, 5], Operations: ['27+15=42', '44-39=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
16,
18,
38,
12
] | 58 | [
"18-12=6",
"16*6=96",
"96-38=58"
] | Current State: 58:[16, 18, 38, 12], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [16, 38, 6]
Generated Node #2: [16, 38, 6] from Operation: 18-12=6
Current State: 58:[16, 38, 6], Operations: ['18-12=6']
Exploring Operation: 16*6=96, Resulting Numbers: [38, 96]
Generated Node #3: [38, 96] from Operation: 16*6=96
Current State: 58:[38, 96], Operations: ['18-12=6', '16*6=96']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[16, 18, 38, 12], Operations: []
Exploring Operation: 18+12=30, Resulting Numbers: [16, 38, 30]
Generated Node #0,0: 58:[16, 38, 30] Operation: 18+12=30
Exploring Operation: 16-12=4, Resulting Numbers: [18, 38, 4]
Generated Node #0,1: 58:[18, 38, 4] Operation: 16-12=4
Exploring Operation: 18-16=2, Resulting Numbers: [38, 12, 2]
Generated Node #0,2: 58:[38, 12, 2] Operation: 18-16=2
Exploring Operation: 16+12=28, Resulting Numbers: [18, 38, 28]
Generated Node #0,3: 58:[18, 38, 28] Operation: 16+12=28
Moving to Node #0,2
Current State: 58:[38, 12, 2], Operations: ['18-16=2']
Exploring Operation: 38+12=50, Resulting Numbers: [2, 50]
Generated Node #0,2,0: 58:[2, 50] Operation: 38+12=50
Exploring Operation: 12/2=6, Resulting Numbers: [38, 6]
Generated Node #0,2,1: 58:[38, 6] Operation: 12/2=6
Exploring Operation: 12*2=24, Resulting Numbers: [38, 24]
Generated Node #0,2,2: 58:[38, 24] Operation: 12*2=24
Exploring Operation: 38-12=26, Resulting Numbers: [2, 26]
Generated Node #0,2,3: 58:[2, 26] Operation: 38-12=26
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[2, 26], Operations: ['18-16=2', '38-12=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[2, 50], Operations: ['18-16=2', '38+12=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[38, 6], Operations: ['18-16=2', '12/2=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,58 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[38, 24], Operations: ['18-16=2', '12*2=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,58 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: 58:[18, 38, 28], Operations: ['16+12=28']
Exploring Operation: 18+38=56, Resulting Numbers: [28, 56]
Generated Node #0,3,0: 58:[28, 56] Operation: 18+38=56
Exploring Operation: 38+28=66, Resulting Numbers: [18, 66]
Generated Node #0,3,1: 58:[18, 66] Operation: 38+28=66
Exploring Operation: 38-18=20, Resulting Numbers: [28, 20]
Generated Node #0,3,2: 58:[28, 20] Operation: 38-18=20
Exploring Operation: 28-18=10, Resulting Numbers: [38, 10]
Generated Node #0,3,3: 58:[38, 10] Operation: 28-18=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[28, 56], Operations: ['16+12=28', '18+38=56']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 28*56=1568, Resulting Numbers: [1568]
1568,58 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 58:[28, 20], Operations: ['16+12=28', '38-18=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,58 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[38, 10], Operations: ['16+12=28', '28-18=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[18, 66], Operations: ['16+12=28', '38+28=66']
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,58 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 58:[18, 38, 4], Operations: ['16-12=4']
Exploring Operation: 38-4=34, Resulting Numbers: [18, 34]
Generated Node #0,1,0: 58:[18, 34] Operation: 38-4=34
Exploring Operation: 38-18=20, Resulting Numbers: [4, 20]
Generated Node #0,1,1: 58:[4, 20] Operation: 38-18=20
Exploring Operation: 18+38=56, Resulting Numbers: [4, 56]
Generated Node #0,1,2: 58:[4, 56] Operation: 18+38=56
Exploring Operation: 18+4=22, Resulting Numbers: [38, 22]
Generated Node #0,1,3: 58:[38, 22] Operation: 18+4=22
Moving to Node #0,0
Current State: 58:[16, 38, 30], Operations: ['18+12=30']
Exploring Operation: 38-16=22, Resulting Numbers: [30, 22]
Generated Node #0,0,0: 58:[30, 22] Operation: 38-16=22
Exploring Operation: 16+30=46, Resulting Numbers: [38, 46]
Generated Node #0,0,1: 58:[38, 46] Operation: 16+30=46
Exploring Operation: 16+38=54, Resulting Numbers: [30, 54]
Generated Node #0,0,2: 58:[30, 54] Operation: 16+38=54
Exploring Operation: 38-30=8, Resulting Numbers: [16, 8]
Generated Node #0,0,3: 58:[16, 8] Operation: 38-30=8
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[30, 54], Operations: ['18+12=30', '16+38=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[30, 22], Operations: ['18+12=30', '38-16=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[16, 8], Operations: ['18+12=30', '38-30=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[38, 46], Operations: ['18+12=30', '16+30=46']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,58 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 58:[4, 56], Operations: ['16-12=4', '18+38=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[4, 20], Operations: ['16-12=4', '38-18=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[38, 22], Operations: ['16-12=4', '18+4=22']
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,58 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[18, 34], Operations: ['16-12=4', '38-4=34']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,58 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,58 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
57,
58,
74
] | 81 | [
"8+57=65",
"74-58=16",
"65+16=81"
] | Current State: 81:[8, 57, 58, 74], Operations: []
Exploring Operation: 8+57=65, Resulting Numbers: [58, 74, 65]
Generated Node #2: [58, 74, 65] from Operation: 8+57=65
Current State: 81:[58, 74, 65], Operations: ['8+57=65']
Exploring Operation: 74-58=16, Resulting Numbers: [65, 16]
Generated Node #3: [65, 16] from Operation: 74-58=16
Current State: 81:[65, 16], Operations: ['8+57=65', '74-58=16']
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[8, 57, 58, 74], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [8, 74, 1]
Generated Node #0,0: 81:[8, 74, 1] Operation: 58-57=1
Exploring Operation: 74-57=17, Resulting Numbers: [8, 58, 17]
Generated Node #0,1: 81:[8, 58, 17] Operation: 74-57=17
Moving to Node #0,0
Current State: 81:[8, 74, 1], Operations: ['58-57=1']
Exploring Operation: 8+1=9, Resulting Numbers: [74, 9]
Generated Node #0,0,0: 81:[74, 9] Operation: 8+1=9
Exploring Operation: 8+74=82, Resulting Numbers: [1, 82]
Generated Node #0,0,1: 81:[1, 82] Operation: 8+74=82
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[1, 82], Operations: ['58-57=1', '8+74=82']
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[8, 57, 58, 74], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [8, 74, 1]
Generated Node #0,0: 81:[8, 74, 1] Operation: 58-57=1
Moving to Node #0,0
Current State: 81:[8, 74, 1], Operations: ['58-57=1']
Exploring Operation: 8+74=82, Resulting Numbers: [1, 82]
Generated Node #0,0,1: 81:[1, 82] Operation: 8+74=82
Moving to Node #0,0,1
Current State: 81:[1, 82], Operations: ['58-57=1', '8+74=82']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
70,
40,
20,
32
] | 21 | [
"32-20=12",
"70*12=840",
"840/40=21"
] | Current State: 21:[70, 40, 20, 32], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [70, 40, 12]
Generated Node #2: [70, 40, 12] from Operation: 32-20=12
Current State: 21:[70, 40, 12], Operations: ['32-20=12']
Exploring Operation: 70*12=840, Resulting Numbers: [40, 840]
Generated Node #3: [40, 840] from Operation: 70*12=840
Current State: 21:[40, 840], Operations: ['32-20=12', '70*12=840']
Exploring Operation: 840/40=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[70, 40, 20, 32], Operations: []
Exploring Operation: 70-40=30, Resulting Numbers: [20, 32, 30]
Generated Node #0,0: 21:[20, 32, 30] Operation: 70-40=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[20, 32, 30], Operations: ['70-40=30']
Exploring Operation: 32-30=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 21:[20, 2] Operation: 32-30=2
Moving to Node #0,0,0
Current State: 21:[20, 2], Operations: ['70-40=30', '32-30=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,21 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 |
[
66,
27,
7,
76
] | 44 | [
"66-27=39",
"7+76=83",
"83-39=44"
] | Current State: 44:[66, 27, 7, 76], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [7, 76, 39]
Generated Node #2: [7, 76, 39] from Operation: 66-27=39
Current State: 44:[7, 76, 39], Operations: ['66-27=39']
Exploring Operation: 7+76=83, Resulting Numbers: [39, 83]
Generated Node #3: [39, 83] from Operation: 7+76=83
Current State: 44:[39, 83], Operations: ['66-27=39', '7+76=83']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[66, 27, 7, 76], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [27, 7, 10]
Generated Node #0,0: 44:[27, 7, 10] Operation: 76-66=10
Moving to Node #0,0
Current State: 44:[27, 7, 10], Operations: ['76-66=10']
Exploring Operation: 27-7=20, Resulting Numbers: [10, 20]
Generated Node #0,0,0: 44:[10, 20] Operation: 27-7=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[10, 20], Operations: ['76-66=10', '27-7=20']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,44 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 |
[
4,
21,
50,
16
] | 93 | [
"4*16=64",
"50-21=29",
"64+29=93"
] | Current State: 93:[4, 21, 50, 16], Operations: []
Exploring Operation: 4*16=64, Resulting Numbers: [21, 50, 64]
Generated Node #2: [21, 50, 64] from Operation: 4*16=64
Current State: 93:[21, 50, 64], Operations: ['4*16=64']
Exploring Operation: 50-21=29, Resulting Numbers: [64, 29]
Generated Node #3: [64, 29] from Operation: 50-21=29
Current State: 93:[64, 29], Operations: ['4*16=64', '50-21=29']
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[4, 21, 50, 16], Operations: []
Exploring Operation: 50-21=29, Resulting Numbers: [4, 16, 29]
Generated Node #0,0: 93:[4, 16, 29] Operation: 50-21=29
Exploring Operation: 50-16=34, Resulting Numbers: [4, 21, 34]
Generated Node #0,1: 93:[4, 21, 34] Operation: 50-16=34
Moving to Node #0,1
Current State: 93:[4, 21, 34], Operations: ['50-16=34']
Exploring Operation: 4+21=25, Resulting Numbers: [34, 25]
Generated Node #0,1,0: 93:[34, 25] Operation: 4+21=25
Exploring Operation: 34-4=30, Resulting Numbers: [21, 30]
Generated Node #0,1,1: 93:[21, 30] Operation: 34-4=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[34, 25], Operations: ['50-16=34', '4+21=25']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[21, 30], Operations: ['50-16=34', '34-4=30']
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 93:[4, 16, 29], Operations: ['50-21=29']
Exploring Operation: 16/4=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 93:[29, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [29, 12]
Generated Node #0,0,1: 93:[29, 12] Operation: 16-4=12
Moving to Node #0,0,0
Current State: 93:[29, 4], Operations: ['50-21=29', '16/4=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[29, 12], Operations: ['50-21=29', '16-4=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,93 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
21,
82,
14
] | 91 | [
"44-21=23",
"82-14=68",
"23+68=91"
] | Current State: 91:[44, 21, 82, 14], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [82, 14, 23]
Generated Node #2: [82, 14, 23] from Operation: 44-21=23
Current State: 91:[82, 14, 23], Operations: ['44-21=23']
Exploring Operation: 82-14=68, Resulting Numbers: [23, 68]
Generated Node #3: [23, 68] from Operation: 82-14=68
Current State: 91:[23, 68], Operations: ['44-21=23', '82-14=68']
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[44, 21, 82, 14], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [21, 14, 38]
Generated Node #0,0: 91:[21, 14, 38] Operation: 82-44=38
Exploring Operation: 44+21=65, Resulting Numbers: [82, 14, 65]
Generated Node #0,1: 91:[82, 14, 65] Operation: 44+21=65
Exploring Operation: 44-21=23, Resulting Numbers: [82, 14, 23]
Generated Node #0,2: 91:[82, 14, 23] Operation: 44-21=23
Exploring Operation: 44-14=30, Resulting Numbers: [21, 82, 30]
Generated Node #0,3: 91:[21, 82, 30] Operation: 44-14=30
Moving to Node #0,2
Current State: 91:[82, 14, 23], Operations: ['44-21=23']
Exploring Operation: 82+23=105, Resulting Numbers: [14, 105]
Generated Node #0,2,0: 91:[14, 105] Operation: 82+23=105
Exploring Operation: 82-14=68, Resulting Numbers: [23, 68]
Generated Node #0,2,1: 91:[23, 68] Operation: 82-14=68
Exploring Operation: 82+14=96, Resulting Numbers: [23, 96]
Generated Node #0,2,2: 91:[23, 96] Operation: 82+14=96
Exploring Operation: 23-14=9, Resulting Numbers: [82, 9]
Generated Node #0,2,3: 91:[82, 9] Operation: 23-14=9
Moving to Node #0,3
Current State: 91:[21, 82, 30], Operations: ['44-14=30']
Exploring Operation: 82+30=112, Resulting Numbers: [21, 112]
Generated Node #0,3,0: 91:[21, 112] Operation: 82+30=112
Exploring Operation: 30-21=9, Resulting Numbers: [82, 9]
Generated Node #0,3,1: 91:[82, 9] Operation: 30-21=9
Exploring Operation: 82-21=61, Resulting Numbers: [30, 61]
Generated Node #0,3,2: 91:[30, 61] Operation: 82-21=61
Exploring Operation: 21+82=103, Resulting Numbers: [30, 103]
Generated Node #0,3,3: 91:[30, 103] Operation: 21+82=103
Moving to Node #0,0
Current State: 91:[21, 14, 38], Operations: ['82-44=38']
Exploring Operation: 21-14=7, Resulting Numbers: [38, 7]
Generated Node #0,0,0: 91:[38, 7] Operation: 21-14=7
Exploring Operation: 21+38=59, Resulting Numbers: [14, 59]
Generated Node #0,0,1: 91:[14, 59] Operation: 21+38=59
Exploring Operation: 38-21=17, Resulting Numbers: [14, 17]
Generated Node #0,0,2: 91:[14, 17] Operation: 38-21=17
Exploring Operation: 38-14=24, Resulting Numbers: [21, 24]
Generated Node #0,0,3: 91:[21, 24] Operation: 38-14=24
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[14, 17], Operations: ['82-44=38', '38-21=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,91 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[21, 24], Operations: ['82-44=38', '38-14=24']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[38, 7], Operations: ['82-44=38', '21-14=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,91 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[14, 59], Operations: ['82-44=38', '21+38=59']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,91 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,91 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: 91:[82, 14, 65], Operations: ['44+21=65']
Exploring Operation: 82-65=17, Resulting Numbers: [14, 17]
Generated Node #0,1,0: 91:[14, 17] Operation: 82-65=17
Exploring Operation: 14+65=79, Resulting Numbers: [82, 79]
Generated Node #0,1,1: 91:[82, 79] Operation: 14+65=79
Exploring Operation: 82+14=96, Resulting Numbers: [65, 96]
Generated Node #0,1,2: 91:[65, 96] Operation: 82+14=96
Exploring Operation: 65-14=51, Resulting Numbers: [82, 51]
Generated Node #0,1,3: 91:[82, 51] Operation: 65-14=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[14, 17], Operations: ['44+21=65', '82-65=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,91 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[82, 79], Operations: ['44+21=65', '14+65=79']
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 82+79=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 82*79=6478, Resulting Numbers: [6478]
6478,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[65, 96], Operations: ['44+21=65', '82+14=96']
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 65*96=6240, Resulting Numbers: [6240]
6240,91 unequal: No Solution
Exploring Operation: 65+96=161, Resulting Numbers: [161]
161,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[82, 51], Operations: ['44+21=65', '65-14=51']
Exploring Operation: 82+51=133, Resulting Numbers: [133]
133,91 unequal: No Solution
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 82*51=4182, Resulting Numbers: [4182]
4182,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 91:[82, 9], Operations: ['44-21=23', '23-14=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,91 unequal: No Solution
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[44, 21, 82, 14], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [82, 14, 23]
Generated Node #0,2: 91:[82, 14, 23] Operation: 44-21=23
Moving to Node #0,2
Current State: 91:[82, 14, 23], Operations: ['44-21=23']
Exploring Operation: 23-14=9, Resulting Numbers: [82, 9]
Generated Node #0,2,3: 91:[82, 9] Operation: 23-14=9
Moving to Node #0,2,3
Current State: 91:[82, 9], Operations: ['44-21=23', '23-14=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
22,
1,
49,
36
] | 63 | [
"22*1=22",
"49+36=85",
"85-22=63"
] | Current State: 63:[22, 1, 49, 36], Operations: []
Exploring Operation: 22*1=22, Resulting Numbers: [49, 36, 22]
Generated Node #2: [49, 36, 22] from Operation: 22*1=22
Current State: 63:[49, 36, 22], Operations: ['22*1=22']
Exploring Operation: 49+36=85, Resulting Numbers: [22, 85]
Generated Node #3: [22, 85] from Operation: 49+36=85
Current State: 63:[22, 85], Operations: ['22*1=22', '49+36=85']
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[22, 1, 49, 36], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [1, 49, 14]
Generated Node #0,0: 63:[1, 49, 14] Operation: 36-22=14
Exploring Operation: 49-22=27, Resulting Numbers: [1, 36, 27]
Generated Node #0,1: 63:[1, 36, 27] Operation: 49-22=27
Exploring Operation: 22+36=58, Resulting Numbers: [1, 49, 58]
Generated Node #0,2: 63:[1, 49, 58] Operation: 22+36=58
Exploring Operation: 49-36=13, Resulting Numbers: [22, 1, 13]
Generated Node #0,3: 63:[22, 1, 13] Operation: 49-36=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[22, 1, 13], Operations: ['49-36=13']
Exploring Operation: 22-1=21, Resulting Numbers: [13, 21]
Generated Node #0,3,0: 63:[13, 21] Operation: 22-1=21
Exploring Operation: 22-13=9, Resulting Numbers: [1, 9]
Generated Node #0,3,1: 63:[1, 9] Operation: 22-13=9
Exploring Operation: 13-1=12, Resulting Numbers: [22, 12]
Generated Node #0,3,2: 63:[22, 12] Operation: 13-1=12
Exploring Operation: 22*1=22, Resulting Numbers: [13, 22]
Generated Node #0,3,3: 63:[13, 22] Operation: 22*1=22
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[1, 9], Operations: ['49-36=13', '22-13=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[13, 21], Operations: ['49-36=13', '22-1=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,63 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 63:[22, 12], Operations: ['49-36=13', '13-1=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[13, 22], Operations: ['49-36=13', '22*1=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,63 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[1, 49, 14], Operations: ['36-22=14']
Exploring Operation: 14-1=13, Resulting Numbers: [49, 13]
Generated Node #0,0,0: 63:[49, 13] Operation: 14-1=13
Exploring Operation: 49+14=63, Resulting Numbers: [1, 63]
Generated Node #0,0,1: 63:[1, 63] Operation: 49+14=63
Exploring Operation: 1+49=50, Resulting Numbers: [14, 50]
Generated Node #0,0,2: 63:[14, 50] Operation: 1+49=50
Exploring Operation: 49-14=35, Resulting Numbers: [1, 35]
Generated Node #0,0,3: 63:[1, 35] Operation: 49-14=35
Moving to Node #0,0,1
Current State: 63:[1, 63], Operations: ['36-22=14', '49+14=63']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[22, 1, 49, 36], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [1, 49, 14]
Generated Node #0,0: 63:[1, 49, 14] Operation: 36-22=14
Moving to Node #0,0
Current State: 63:[1, 49, 14], Operations: ['36-22=14']
Exploring Operation: 49+14=63, Resulting Numbers: [1, 63]
Generated Node #0,0,1: 63:[1, 63] Operation: 49+14=63
Moving to Node #0,0,1
Current State: 63:[1, 63], Operations: ['36-22=14', '49+14=63']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
56,
44,
3,
8
] | 93 | [
"56-44=12",
"8*12=96",
"96-3=93"
] | Current State: 93:[56, 44, 3, 8], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [3, 8, 12]
Generated Node #2: [3, 8, 12] from Operation: 56-44=12
Current State: 93:[3, 8, 12], Operations: ['56-44=12']
Exploring Operation: 8*12=96, Resulting Numbers: [3, 96]
Generated Node #3: [3, 96] from Operation: 8*12=96
Current State: 93:[3, 96], Operations: ['56-44=12', '8*12=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[56, 44, 3, 8], Operations: []
Exploring Operation: 56+44=100, Resulting Numbers: [3, 8, 100]
Generated Node #0,0: 93:[3, 8, 100] Operation: 56+44=100
Exploring Operation: 56-44=12, Resulting Numbers: [3, 8, 12]
Generated Node #0,1: 93:[3, 8, 12] Operation: 56-44=12
Moving to Node #0,0
Current State: 93:[3, 8, 100], Operations: ['56+44=100']
Exploring Operation: 8-3=5, Resulting Numbers: [100, 5]
Generated Node #0,0,0: 93:[100, 5] Operation: 8-3=5
Exploring Operation: 100-8=92, Resulting Numbers: [3, 92]
Generated Node #0,0,1: 93:[3, 92] Operation: 100-8=92
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[3, 92], Operations: ['56+44=100', '100-8=92']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[100, 5], Operations: ['56+44=100', '8-3=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,93 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: 93:[3, 8, 12], Operations: ['56-44=12']
Exploring Operation: 12-8=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 93:[3, 4] Operation: 12-8=4
Exploring Operation: 8*12=96, Resulting Numbers: [3, 96]
Generated Node #0,1,1: 93:[3, 96] Operation: 8*12=96
Moving to Node #0,1,0
Current State: 93:[3, 4], Operations: ['56-44=12', '12-8=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[3, 96], Operations: ['56-44=12', '8*12=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[56, 44, 3, 8], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [3, 8, 12]
Generated Node #0,1: 93:[3, 8, 12] Operation: 56-44=12
Moving to Node #0,1
Current State: 93:[3, 8, 12], Operations: ['56-44=12']
Exploring Operation: 8*12=96, Resulting Numbers: [3, 96]
Generated Node #0,1,1: 93:[3, 96] Operation: 8*12=96
Moving to Node #0,1,1
Current State: 93:[3, 96], Operations: ['56-44=12', '8*12=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
24,
3,
78,
23
] | 46 | [
"78/3=26",
"26-24=2",
"23*2=46"
] | Current State: 46:[24, 3, 78, 23], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [24, 23, 26]
Generated Node #2: [24, 23, 26] from Operation: 78/3=26
Current State: 46:[24, 23, 26], Operations: ['78/3=26']
Exploring Operation: 26-24=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 26-24=2
Current State: 46:[23, 2], Operations: ['78/3=26', '26-24=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[24, 3, 78, 23], Operations: []
Exploring Operation: 78-24=54, Resulting Numbers: [3, 23, 54]
Generated Node #0,0: 46:[3, 23, 54] Operation: 78-24=54
Exploring Operation: 78/3=26, Resulting Numbers: [24, 23, 26]
Generated Node #0,1: 46:[24, 23, 26] Operation: 78/3=26
Moving to Node #0,1
Current State: 46:[24, 23, 26], Operations: ['78/3=26']
Exploring Operation: 26-24=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 46:[23, 2] Operation: 26-24=2
Exploring Operation: 26-23=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 46:[24, 3] Operation: 26-23=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[23, 2], Operations: ['78/3=26', '26-24=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[24, 3, 78, 23], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [24, 23, 26]
Generated Node #0,1: 46:[24, 23, 26] Operation: 78/3=26
Moving to Node #0,1
Current State: 46:[24, 23, 26], Operations: ['78/3=26']
Exploring Operation: 26-24=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 46:[23, 2] Operation: 26-24=2
Moving to Node #0,1,0
Current State: 46:[23, 2], Operations: ['78/3=26', '26-24=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
2,
80,
89,
3
] | 52 | [
"80/2=40",
"89+3=92",
"92-40=52"
] | Current State: 52:[2, 80, 89, 3], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [89, 3, 40]
Generated Node #2: [89, 3, 40] from Operation: 80/2=40
Current State: 52:[89, 3, 40], Operations: ['80/2=40']
Exploring Operation: 89+3=92, Resulting Numbers: [40, 92]
Generated Node #3: [40, 92] from Operation: 89+3=92
Current State: 52:[40, 92], Operations: ['80/2=40', '89+3=92']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 80, 89, 3], Operations: []
Exploring Operation: 80-2=78, Resulting Numbers: [89, 3, 78]
Generated Node #0,0: 52:[89, 3, 78] Operation: 80-2=78
Exploring Operation: 89-3=86, Resulting Numbers: [2, 80, 86]
Generated Node #0,1: 52:[2, 80, 86] Operation: 89-3=86
Exploring Operation: 80-3=77, Resulting Numbers: [2, 89, 77]
Generated Node #0,2: 52:[2, 89, 77] Operation: 80-3=77
Exploring Operation: 89-80=9, Resulting Numbers: [2, 3, 9]
Generated Node #0,3: 52:[2, 3, 9] Operation: 89-80=9
Exploring Operation: 80/2=40, Resulting Numbers: [89, 3, 40]
Generated Node #0,4: 52:[89, 3, 40] Operation: 80/2=40
Moving to Node #0,3
Current State: 52:[2, 3, 9], Operations: ['89-80=9']
Exploring Operation: 9/3=3, Resulting Numbers: [2, 3]
Generated Node #0,3,0: 52:[2, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [2, 6]
Generated Node #0,3,1: 52:[2, 6] Operation: 9-3=6
Exploring Operation: 3*9=27, Resulting Numbers: [2, 27]
Generated Node #0,3,2: 52:[2, 27] Operation: 3*9=27
Exploring Operation: 2+9=11, Resulting Numbers: [3, 11]
Generated Node #0,3,3: 52:[3, 11] Operation: 2+9=11
Exploring Operation: 3+9=12, Resulting Numbers: [2, 12]
Generated Node #0,3,4: 52:[2, 12] Operation: 3+9=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[2, 3], Operations: ['89-80=9', '9/3=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[2, 27], Operations: ['89-80=9', '3*9=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 52:[2, 12], Operations: ['89-80=9', '3+9=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[2, 6], Operations: ['89-80=9', '9-3=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[3, 11], Operations: ['89-80=9', '2+9=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 52:[89, 3, 40], Operations: ['80/2=40']
Exploring Operation: 3+40=43, Resulting Numbers: [89, 43]
Generated Node #0,4,0: 52:[89, 43] Operation: 3+40=43
Exploring Operation: 89-3=86, Resulting Numbers: [40, 86]
Generated Node #0,4,1: 52:[40, 86] Operation: 89-3=86
Exploring Operation: 89-40=49, Resulting Numbers: [3, 49]
Generated Node #0,4,2: 52:[3, 49] Operation: 89-40=49
Exploring Operation: 40-3=37, Resulting Numbers: [89, 37]
Generated Node #0,4,3: 52:[89, 37] Operation: 40-3=37
Exploring Operation: 89+3=92, Resulting Numbers: [40, 92]
Generated Node #0,4,4: 52:[40, 92] Operation: 89+3=92
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 52:[3, 49], Operations: ['80/2=40', '89-40=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,52 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[2, 80, 89, 3], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [89, 3, 40]
Generated Node #0,4: 52:[89, 3, 40] Operation: 80/2=40
Moving to Node #0,4
Current State: 52:[89, 3, 40], Operations: ['80/2=40']
Exploring Operation: 89-40=49, Resulting Numbers: [3, 49]
Generated Node #0,4,2: 52:[3, 49] Operation: 89-40=49
Moving to Node #0,4,2
Current State: 52:[3, 49], Operations: ['80/2=40', '89-40=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
17,
42,
47,
2
] | 85 | [
"17+47=64",
"42/2=21",
"64+21=85"
] | Current State: 85:[17, 42, 47, 2], Operations: []
Exploring Operation: 17+47=64, Resulting Numbers: [42, 2, 64]
Generated Node #2: [42, 2, 64] from Operation: 17+47=64
Current State: 85:[42, 2, 64], Operations: ['17+47=64']
Exploring Operation: 42/2=21, Resulting Numbers: [64, 21]
Generated Node #3: [64, 21] from Operation: 42/2=21
Current State: 85:[64, 21], Operations: ['17+47=64', '42/2=21']
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[17, 42, 47, 2], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [17, 2, 5]
Generated Node #0,0: 85:[17, 2, 5] Operation: 47-42=5
Exploring Operation: 42+47=89, Resulting Numbers: [17, 2, 89]
Generated Node #0,1: 85:[17, 2, 89] Operation: 42+47=89
Exploring Operation: 42/2=21, Resulting Numbers: [17, 47, 21]
Generated Node #0,2: 85:[17, 47, 21] Operation: 42/2=21
Exploring Operation: 42*2=84, Resulting Numbers: [17, 47, 84]
Generated Node #0,3: 85:[17, 47, 84] Operation: 42*2=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[17, 2, 5], Operations: ['47-42=5']
Exploring Operation: 17-2=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 85:[5, 15] Operation: 17-2=15
Exploring Operation: 17+2=19, Resulting Numbers: [5, 19]
Generated Node #0,0,1: 85:[5, 19] Operation: 17+2=19
Exploring Operation: 5-2=3, Resulting Numbers: [17, 3]
Generated Node #0,0,2: 85:[17, 3] Operation: 5-2=3
Exploring Operation: 2+5=7, Resulting Numbers: [17, 7]
Generated Node #0,0,3: 85:[17, 7] Operation: 2+5=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[5, 15], Operations: ['47-42=5', '17-2=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,85 unequal: No Solution
No 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: 85:[5, 19], Operations: ['47-42=5', '17+2=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,85 unequal: No Solution
No 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: 85:[17, 3], Operations: ['47-42=5', '5-2=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,85 unequal: No Solution
No 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: 85:[17, 7], Operations: ['47-42=5', '2+5=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,85 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: 85:[17, 2, 89], Operations: ['42+47=89']
Exploring Operation: 89-2=87, Resulting Numbers: [17, 87]
Generated Node #0,1,0: 85:[17, 87] Operation: 89-2=87
Exploring Operation: 17+2=19, Resulting Numbers: [89, 19]
Generated Node #0,1,1: 85:[89, 19] Operation: 17+2=19
Exploring Operation: 2+89=91, Resulting Numbers: [17, 91]
Generated Node #0,1,2: 85:[17, 91] Operation: 2+89=91
Exploring Operation: 17-2=15, Resulting Numbers: [89, 15]
Generated Node #0,1,3: 85:[89, 15] Operation: 17-2=15
Moving to Node #0,1,0
Current State: 85:[17, 87], Operations: ['42+47=89', '89-2=87']
Exploring Operation: 17*87=1479, Resulting Numbers: [1479]
1479,85 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 17+87=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[17, 91], Operations: ['42+47=89', '2+89=91']
Exploring Operation: 17*91=1547, Resulting Numbers: [1547]
1547,85 unequal: No Solution
Exploring Operation: 17+91=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[89, 19], Operations: ['42+47=89', '17+2=19']
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,85 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[89, 15], Operations: ['42+47=89', '17-2=15']
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,85 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[17, 47, 84], Operations: ['42*2=84']
Exploring Operation: 84-47=37, Resulting Numbers: [17, 37]
Generated Node #0,3,0: 85:[17, 37] Operation: 84-47=37
Exploring Operation: 17+47=64, Resulting Numbers: [84, 64]
Generated Node #0,3,1: 85:[84, 64] Operation: 17+47=64
Exploring Operation: 17+84=101, Resulting Numbers: [47, 101]
Generated Node #0,3,2: 85:[47, 101] Operation: 17+84=101
Exploring Operation: 47-17=30, Resulting Numbers: [84, 30]
Generated Node #0,3,3: 85:[84, 30] Operation: 47-17=30
Moving to Node #0,3,3
Current State: 85:[84, 30], Operations: ['42*2=84', '47-17=30']
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,85 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[17, 37], Operations: ['42*2=84', '84-47=37']
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,85 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[84, 64], Operations: ['42*2=84', '17+47=64']
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,85 unequal: No Solution
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,85 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[47, 101], Operations: ['42*2=84', '17+84=101']
Exploring Operation: 47+101=148, Resulting Numbers: [148]
148,85 unequal: No Solution
Exploring Operation: 101-47=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 47*101=4747, Resulting Numbers: [4747]
4747,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[17, 47, 21], Operations: ['42/2=21']
Exploring Operation: 17+47=64, Resulting Numbers: [21, 64]
Generated Node #0,2,0: 85:[21, 64] Operation: 17+47=64
Exploring Operation: 47-21=26, Resulting Numbers: [17, 26]
Generated Node #0,2,1: 85:[17, 26] Operation: 47-21=26
Exploring Operation: 47-17=30, Resulting Numbers: [21, 30]
Generated Node #0,2,2: 85:[21, 30] Operation: 47-17=30
Exploring Operation: 47+21=68, Resulting Numbers: [17, 68]
Generated Node #0,2,3: 85:[17, 68] Operation: 47+21=68
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[17, 26], Operations: ['42/2=21', '47-21=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,85 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No 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: 85:[21, 30], Operations: ['42/2=21', '47-17=30']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,85 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,85 unequal: No Solution
No 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: 85:[17, 68], Operations: ['42/2=21', '47+21=68']
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[17, 42, 47, 2], Operations: []
Exploring Operation: 42/2=21, Resulting Numbers: [17, 47, 21]
Generated Node #0,2: 85:[17, 47, 21] Operation: 42/2=21
Moving to Node #0,2
Current State: 85:[17, 47, 21], Operations: ['42/2=21']
Exploring Operation: 47+21=68, Resulting Numbers: [17, 68]
Generated Node #0,2,3: 85:[17, 68] Operation: 47+21=68
Moving to Node #0,2,3
Current State: 85:[17, 68], Operations: ['42/2=21', '47+21=68']
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940972 | hs_4 | sum_heuristic |
[
18,
43,
92,
37
] | 80 | [
"43-18=25",
"92-37=55",
"25+55=80"
] | Current State: 80:[18, 43, 92, 37], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [92, 37, 25]
Generated Node #2: [92, 37, 25] from Operation: 43-18=25
Current State: 80:[92, 37, 25], Operations: ['43-18=25']
Exploring Operation: 92-37=55, Resulting Numbers: [25, 55]
Generated Node #3: [25, 55] from Operation: 92-37=55
Current State: 80:[25, 55], Operations: ['43-18=25', '92-37=55']
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[18, 43, 92, 37], Operations: []
Exploring Operation: 43+37=80, Resulting Numbers: [18, 92, 80]
Generated Node #0,0: 80:[18, 92, 80] Operation: 43+37=80
Exploring Operation: 92-18=74, Resulting Numbers: [43, 37, 74]
Generated Node #0,1: 80:[43, 37, 74] Operation: 92-18=74
Exploring Operation: 92-43=49, Resulting Numbers: [18, 37, 49]
Generated Node #0,2: 80:[18, 37, 49] Operation: 92-43=49
Moving to Node #0,1
Current State: 80:[43, 37, 74], Operations: ['92-18=74']
Exploring Operation: 74/37=2, Resulting Numbers: [43, 2]
Generated Node #0,1,0: 80:[43, 2] Operation: 74/37=2
Exploring Operation: 43+37=80, Resulting Numbers: [74, 80]
Generated Node #0,1,1: 80:[74, 80] Operation: 43+37=80
Exploring Operation: 74-37=37, Resulting Numbers: [43, 37]
Generated Node #0,1,2: 80:[43, 37] Operation: 74-37=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[43, 2], Operations: ['92-18=74', '74/37=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,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:[74, 80], Operations: ['92-18=74', '43+37=80']
Exploring Operation: 74+80=154, Resulting Numbers: [154]
154,80 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 74*80=5920, Resulting Numbers: [5920]
5920,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:[43, 37], Operations: ['92-18=74', '74-37=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[18, 43, 92, 37], Operations: []
Exploring Operation: 92-18=74, Resulting Numbers: [43, 37, 74]
Generated Node #0,1: 80:[43, 37, 74] Operation: 92-18=74
Moving to Node #0,1
Current State: 80:[43, 37, 74], Operations: ['92-18=74']
Exploring Operation: 74-37=37, Resulting Numbers: [43, 37]
Generated Node #0,1,2: 80:[43, 37] Operation: 74-37=37
Moving to Node #0,1,2
Current State: 80:[43, 37], Operations: ['92-18=74', '74-37=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
90,
98,
21,
68
] | 39 | [
"98-90=8",
"68-21=47",
"47-8=39"
] | Current State: 39:[90, 98, 21, 68], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [21, 68, 8]
Generated Node #2: [21, 68, 8] from Operation: 98-90=8
Current State: 39:[21, 68, 8], Operations: ['98-90=8']
Exploring Operation: 68-21=47, Resulting Numbers: [8, 47]
Generated Node #3: [8, 47] from Operation: 68-21=47
Current State: 39:[8, 47], Operations: ['98-90=8', '68-21=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[90, 98, 21, 68], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [98, 21, 22]
Generated Node #0,0: 39:[98, 21, 22] Operation: 90-68=22
Exploring Operation: 90-21=69, Resulting Numbers: [98, 68, 69]
Generated Node #0,1: 39:[98, 68, 69] Operation: 90-21=69
Exploring Operation: 98-90=8, Resulting Numbers: [21, 68, 8]
Generated Node #0,2: 39:[21, 68, 8] Operation: 98-90=8
Exploring Operation: 98-68=30, Resulting Numbers: [90, 21, 30]
Generated Node #0,3: 39:[90, 21, 30] Operation: 98-68=30
Moving to Node #0,2
Current State: 39:[21, 68, 8], Operations: ['98-90=8']
Exploring Operation: 68-8=60, Resulting Numbers: [21, 60]
Generated Node #0,2,0: 39:[21, 60] Operation: 68-8=60
Exploring Operation: 21+8=29, Resulting Numbers: [68, 29]
Generated Node #0,2,1: 39:[68, 29] Operation: 21+8=29
Exploring Operation: 21-8=13, Resulting Numbers: [68, 13]
Generated Node #0,2,2: 39:[68, 13] Operation: 21-8=13
Exploring Operation: 68-21=47, Resulting Numbers: [8, 47]
Generated Node #0,2,3: 39:[8, 47] Operation: 68-21=47
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[8, 47], Operations: ['98-90=8', '68-21=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[90, 98, 21, 68], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [21, 68, 8]
Generated Node #0,2: 39:[21, 68, 8] Operation: 98-90=8
Moving to Node #0,2
Current State: 39:[21, 68, 8], Operations: ['98-90=8']
Exploring Operation: 68-21=47, Resulting Numbers: [8, 47]
Generated Node #0,2,3: 39:[8, 47] Operation: 68-21=47
Moving to Node #0,2,3
Current State: 39:[8, 47], Operations: ['98-90=8', '68-21=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
9,
56,
81,
70
] | 45 | [
"70-56=14",
"9*14=126",
"126-81=45"
] | Current State: 45:[9, 56, 81, 70], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [9, 81, 14]
Generated Node #2: [9, 81, 14] from Operation: 70-56=14
Current State: 45:[9, 81, 14], Operations: ['70-56=14']
Exploring Operation: 9*14=126, Resulting Numbers: [81, 126]
Generated Node #3: [81, 126] from Operation: 9*14=126
Current State: 45:[81, 126], Operations: ['70-56=14', '9*14=126']
Exploring Operation: 126-81=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[9, 56, 81, 70], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [56, 70, 9]
Generated Node #0,0: 45:[56, 70, 9] Operation: 81/9=9
Exploring Operation: 81-56=25, Resulting Numbers: [9, 70, 25]
Generated Node #0,1: 45:[9, 70, 25] Operation: 81-56=25
Exploring Operation: 56-9=47, Resulting Numbers: [81, 70, 47]
Generated Node #0,2: 45:[81, 70, 47] Operation: 56-9=47
Exploring Operation: 70-56=14, Resulting Numbers: [9, 81, 14]
Generated Node #0,3: 45:[9, 81, 14] Operation: 70-56=14
Exploring Operation: 81-70=11, Resulting Numbers: [9, 56, 11]
Generated Node #0,4: 45:[9, 56, 11] Operation: 81-70=11
Moving to Node #0,4
Current State: 45:[9, 56, 11], Operations: ['81-70=11']
Exploring Operation: 56-9=47, Resulting Numbers: [11, 47]
Generated Node #0,4,0: 45:[11, 47] Operation: 56-9=47
Exploring Operation: 56-11=45, Resulting Numbers: [9, 45]
Generated Node #0,4,1: 45:[9, 45] Operation: 56-11=45
Exploring Operation: 9+56=65, Resulting Numbers: [11, 65]
Generated Node #0,4,2: 45:[11, 65] Operation: 9+56=65
Exploring Operation: 9+11=20, Resulting Numbers: [56, 20]
Generated Node #0,4,3: 45:[56, 20] Operation: 9+11=20
Exploring Operation: 11-9=2, Resulting Numbers: [56, 2]
Generated Node #0,4,4: 45:[56, 2] Operation: 11-9=2
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 45:[9, 45], Operations: ['81-70=11', '56-11=45']
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,45 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,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,4,0
Current State: 45:[11, 47], Operations: ['81-70=11', '56-9=47']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,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,4,4
Current State: 45:[56, 2], Operations: ['81-70=11', '11-9=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,45 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,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,4,3
Current State: 45:[56, 20], Operations: ['81-70=11', '9+11=20']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,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,4,2
Current State: 45:[11, 65], Operations: ['81-70=11', '9+56=65']
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,45 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,45 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: 45:[9, 70, 25], Operations: ['81-56=25']
Exploring Operation: 70-9=61, Resulting Numbers: [25, 61]
Generated Node #0,1,0: 45:[25, 61] Operation: 70-9=61
Exploring Operation: 70-25=45, Resulting Numbers: [9, 45]
Generated Node #0,1,1: 45:[9, 45] Operation: 70-25=45
Exploring Operation: 25-9=16, Resulting Numbers: [70, 16]
Generated Node #0,1,2: 45:[70, 16] Operation: 25-9=16
Exploring Operation: 9+70=79, Resulting Numbers: [25, 79]
Generated Node #0,1,3: 45:[25, 79] Operation: 9+70=79
Exploring Operation: 9+25=34, Resulting Numbers: [70, 34]
Generated Node #0,1,4: 45:[70, 34] Operation: 9+25=34
Moving to Node #0,0
Current State: 45:[56, 70, 9], Operations: ['81/9=9']
Exploring Operation: 70-9=61, Resulting Numbers: [56, 61]
Generated Node #0,0,0: 45:[56, 61] Operation: 70-9=61
Exploring Operation: 56-9=47, Resulting Numbers: [70, 47]
Generated Node #0,0,1: 45:[70, 47] Operation: 56-9=47
Exploring Operation: 70+9=79, Resulting Numbers: [56, 79]
Generated Node #0,0,2: 45:[56, 79] Operation: 70+9=79
Exploring Operation: 70-56=14, Resulting Numbers: [9, 14]
Generated Node #0,0,3: 45:[9, 14] Operation: 70-56=14
Exploring Operation: 56+9=65, Resulting Numbers: [70, 65]
Generated Node #0,0,4: 45:[70, 65] Operation: 56+9=65
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[9, 14], Operations: ['81/9=9', '70-56=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,45 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,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,0
Current State: 45:[56, 61], Operations: ['81/9=9', '70-9=61']
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,45 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,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:[70, 47], Operations: ['81/9=9', '56-9=47']
Exploring Operation: 70+47=117, Resulting Numbers: [117]
117,45 unequal: No Solution
Exploring Operation: 70*47=3290, Resulting Numbers: [3290]
3290,45 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,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:[56, 79], Operations: ['81/9=9', '70+9=79']
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,45 unequal: No Solution
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,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,4
Current State: 45:[70, 65], Operations: ['81/9=9', '56+9=65']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,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:[9, 81, 14], Operations: ['70-56=14']
Exploring Operation: 14-9=5, Resulting Numbers: [81, 5]
Generated Node #0,3,0: 45:[81, 5] Operation: 14-9=5
Exploring Operation: 9+14=23, Resulting Numbers: [81, 23]
Generated Node #0,3,1: 45:[81, 23] Operation: 9+14=23
Exploring Operation: 81-14=67, Resulting Numbers: [9, 67]
Generated Node #0,3,2: 45:[9, 67] Operation: 81-14=67
Exploring Operation: 81/9=9, Resulting Numbers: [14, 9]
Generated Node #0,3,3: 45:[14, 9] Operation: 81/9=9
Exploring Operation: 81-9=72, Resulting Numbers: [14, 72]
Generated Node #0,3,4: 45:[14, 72] Operation: 81-9=72
Moving to Node #0,2
Current State: 45:[81, 70, 47], Operations: ['56-9=47']
Exploring Operation: 81-70=11, Resulting Numbers: [47, 11]
Generated Node #0,2,0: 45:[47, 11] Operation: 81-70=11
Exploring Operation: 81+47=128, Resulting Numbers: [70, 128]
Generated Node #0,2,1: 45:[70, 128] Operation: 81+47=128
Exploring Operation: 81+70=151, Resulting Numbers: [47, 151]
Generated Node #0,2,2: 45:[47, 151] Operation: 81+70=151
Exploring Operation: 81-47=34, Resulting Numbers: [70, 34]
Generated Node #0,2,3: 45:[70, 34] Operation: 81-47=34
Exploring Operation: 70-47=23, Resulting Numbers: [81, 23]
Generated Node #0,2,4: 45:[81, 23] Operation: 70-47=23
Moving to Node #0,1,1
Current State: 45:[9, 45], Operations: ['81-56=25', '70-25=45']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[14, 9], Operations: ['70-56=14', '81/9=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,45 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[47, 11], Operations: ['56-9=47', '81-70=11']
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,45 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Moving to Node #0,3,2
Current State: 45:[9, 67], Operations: ['70-56=14', '81-14=67']
Exploring Operation: 9*67=603, Resulting Numbers: [603]
603,45 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[70, 16], Operations: ['81-56=25', '25-9=16']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[25, 61], Operations: ['81-56=25', '70-9=61']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,45 unequal: No Solution
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Moving to Node #0,3,4
Current State: 45:[14, 72], Operations: ['70-56=14', '81-9=72']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 14*72=1008, Resulting Numbers: [1008]
1008,45 unequal: No Solution
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[70, 34], Operations: ['56-9=47', '81-47=34']
Exploring Operation: 70*34=2380, Resulting Numbers: [2380]
2380,45 unequal: No Solution
Exploring Operation: 70+34=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[81, 5], Operations: ['70-56=14', '14-9=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[70, 34], Operations: ['81-56=25', '9+25=34']
Exploring Operation: 70+34=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 70*34=2380, Resulting Numbers: [2380]
2380,45 unequal: No Solution
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[81, 23], Operations: ['56-9=47', '70-47=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,45 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[25, 79], Operations: ['81-56=25', '9+70=79']
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,45 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[81, 23], Operations: ['70-56=14', '9+14=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,45 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[70, 128], Operations: ['56-9=47', '81+47=128']
Exploring Operation: 128-70=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 70+128=198, Resulting Numbers: [198]
198,45 unequal: No Solution
Exploring Operation: 70*128=8960, Resulting Numbers: [8960]
8960,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[47, 151], Operations: ['56-9=47', '81+70=151']
Exploring Operation: 151-47=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 47+151=198, Resulting Numbers: [198]
198,45 unequal: No Solution
Exploring Operation: 47*151=7097, Resulting Numbers: [7097]
7097,45 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
77,
86,
20,
2
] | 90 | [
"86-77=9",
"20/2=10",
"9*10=90"
] | Current State: 90:[77, 86, 20, 2], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [20, 2, 9]
Generated Node #2: [20, 2, 9] from Operation: 86-77=9
Current State: 90:[20, 2, 9], Operations: ['86-77=9']
Exploring Operation: 20/2=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 20/2=10
Current State: 90:[9, 10], Operations: ['86-77=9', '20/2=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[77, 86, 20, 2], Operations: []
Exploring Operation: 77-20=57, Resulting Numbers: [86, 2, 57]
Generated Node #0,0: 90:[86, 2, 57] Operation: 77-20=57
Exploring Operation: 77+20=97, Resulting Numbers: [86, 2, 97]
Generated Node #0,1: 90:[86, 2, 97] Operation: 77+20=97
Exploring Operation: 86-77=9, Resulting Numbers: [20, 2, 9]
Generated Node #0,2: 90:[20, 2, 9] Operation: 86-77=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[20, 2, 9], Operations: ['86-77=9']
Exploring Operation: 20/2=10, Resulting Numbers: [9, 10]
Generated Node #0,2,0: 90:[9, 10] Operation: 20/2=10
Exploring Operation: 20-2=18, Resulting Numbers: [9, 18]
Generated Node #0,2,1: 90:[9, 18] Operation: 20-2=18
Exploring Operation: 20+9=29, Resulting Numbers: [2, 29]
Generated Node #0,2,2: 90:[2, 29] Operation: 20+9=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[9, 10], Operations: ['86-77=9', '20/2=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:[77, 86, 20, 2], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [20, 2, 9]
Generated Node #0,2: 90:[20, 2, 9] Operation: 86-77=9
Moving to Node #0,2
Current State: 90:[20, 2, 9], Operations: ['86-77=9']
Exploring Operation: 20/2=10, Resulting Numbers: [9, 10]
Generated Node #0,2,0: 90:[9, 10] Operation: 20/2=10
Moving to Node #0,2,0
Current State: 90:[9, 10], Operations: ['86-77=9', '20/2=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
32,
23,
57,
40
] | 64 | [
"23+57=80",
"32*80=2560",
"2560/40=64"
] | Current State: 64:[32, 23, 57, 40], Operations: []
Exploring Operation: 23+57=80, Resulting Numbers: [32, 40, 80]
Generated Node #2: [32, 40, 80] from Operation: 23+57=80
Current State: 64:[32, 40, 80], Operations: ['23+57=80']
Exploring Operation: 32*80=2560, Resulting Numbers: [40, 2560]
Generated Node #3: [40, 2560] from Operation: 32*80=2560
Current State: 64:[40, 2560], Operations: ['23+57=80', '32*80=2560']
Exploring Operation: 2560/40=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[32, 23, 57, 40], Operations: []
Exploring Operation: 23+40=63, Resulting Numbers: [32, 57, 63]
Generated Node #0,0: 64:[32, 57, 63] Operation: 23+40=63
Exploring Operation: 40-23=17, Resulting Numbers: [32, 57, 17]
Generated Node #0,1: 64:[32, 57, 17] Operation: 40-23=17
Exploring Operation: 57-40=17, Resulting Numbers: [32, 23, 17]
Generated Node #0,2: 64:[32, 23, 17] Operation: 57-40=17
Exploring Operation: 57-23=34, Resulting Numbers: [32, 40, 34]
Generated Node #0,3: 64:[32, 40, 34] Operation: 57-23=34
Exploring Operation: 40-32=8, Resulting Numbers: [23, 57, 8]
Generated Node #0,4: 64:[23, 57, 8] Operation: 40-32=8
Moving to Node #0,0
Current State: 64:[32, 57, 63], Operations: ['23+40=63']
Exploring Operation: 63-57=6, Resulting Numbers: [32, 6]
Generated Node #0,0,0: 64:[32, 6] Operation: 63-57=6
Exploring Operation: 63-32=31, Resulting Numbers: [57, 31]
Generated Node #0,0,1: 64:[57, 31] Operation: 63-32=31
Exploring Operation: 32+57=89, Resulting Numbers: [63, 89]
Generated Node #0,0,2: 64:[63, 89] Operation: 32+57=89
Exploring Operation: 57-32=25, Resulting Numbers: [63, 25]
Generated Node #0,0,3: 64:[63, 25] Operation: 57-32=25
Exploring Operation: 32+63=95, Resulting Numbers: [57, 95]
Generated Node #0,0,4: 64:[57, 95] Operation: 32+63=95
Moving to Node #0,2
Current State: 64:[32, 23, 17], Operations: ['57-40=17']
Exploring Operation: 23-17=6, Resulting Numbers: [32, 6]
Generated Node #0,2,0: 64:[32, 6] Operation: 23-17=6
Exploring Operation: 32+23=55, Resulting Numbers: [17, 55]
Generated Node #0,2,1: 64:[17, 55] Operation: 32+23=55
Exploring Operation: 32-23=9, Resulting Numbers: [17, 9]
Generated Node #0,2,2: 64:[17, 9] Operation: 32-23=9
Exploring Operation: 23+17=40, Resulting Numbers: [32, 40]
Generated Node #0,2,3: 64:[32, 40] Operation: 23+17=40
Exploring Operation: 32-17=15, Resulting Numbers: [23, 15]
Generated Node #0,2,4: 64:[23, 15] Operation: 32-17=15
Moving to Node #0,1
Current State: 64:[32, 57, 17], Operations: ['40-23=17']
Exploring Operation: 57+17=74, Resulting Numbers: [32, 74]
Generated Node #0,1,0: 64:[32, 74] Operation: 57+17=74
Exploring Operation: 57-32=25, Resulting Numbers: [17, 25]
Generated Node #0,1,1: 64:[17, 25] Operation: 57-32=25
Exploring Operation: 32+17=49, Resulting Numbers: [57, 49]
Generated Node #0,1,2: 64:[57, 49] Operation: 32+17=49
Exploring Operation: 57-17=40, Resulting Numbers: [32, 40]
Generated Node #0,1,3: 64:[32, 40] Operation: 57-17=40
Exploring Operation: 32-17=15, Resulting Numbers: [57, 15]
Generated Node #0,1,4: 64:[57, 15] Operation: 32-17=15
Moving to Node #0,3
Current State: 64:[32, 40, 34], Operations: ['57-23=34']
Exploring Operation: 34-32=2, Resulting Numbers: [40, 2]
Generated Node #0,3,0: 64:[40, 2] Operation: 34-32=2
Exploring Operation: 40-32=8, Resulting Numbers: [34, 8]
Generated Node #0,3,1: 64:[34, 8] Operation: 40-32=8
Exploring Operation: 32+34=66, Resulting Numbers: [40, 66]
Generated Node #0,3,2: 64:[40, 66] Operation: 32+34=66
Exploring Operation: 40-34=6, Resulting Numbers: [32, 6]
Generated Node #0,3,3: 64:[32, 6] Operation: 40-34=6
Exploring Operation: 32+40=72, Resulting Numbers: [34, 72]
Generated Node #0,3,4: 64:[34, 72] Operation: 32+40=72
Moving to Node #0,4
Current State: 64:[23, 57, 8], Operations: ['40-32=8']
Exploring Operation: 23+57=80, Resulting Numbers: [8, 80]
Generated Node #0,4,0: 64:[8, 80] Operation: 23+57=80
Exploring Operation: 23+8=31, Resulting Numbers: [57, 31]
Generated Node #0,4,1: 64:[57, 31] Operation: 23+8=31
Exploring Operation: 57+8=65, Resulting Numbers: [23, 65]
Generated Node #0,4,2: 64:[23, 65] Operation: 57+8=65
Exploring Operation: 57-23=34, Resulting Numbers: [8, 34]
Generated Node #0,4,3: 64:[8, 34] Operation: 57-23=34
Exploring Operation: 23-8=15, Resulting Numbers: [57, 15]
Generated Node #0,4,4: 64:[57, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[8, 34], Operations: ['40-32=8', '57-23=34']
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,64 unequal: No Solution
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,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,4,1
Current State: 64:[57, 31], Operations: ['40-32=8', '23+8=31']
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,64 unequal: No Solution
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,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,4,2
Current State: 64:[23, 65], Operations: ['40-32=8', '57+8=65']
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,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,4,4
Current State: 64:[57, 15], Operations: ['40-32=8', '23-8=15']
Exploring Operation: 57*15=855, Resulting Numbers: [855]
855,64 unequal: No Solution
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,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,4,0
Current State: 64:[8, 80], Operations: ['40-32=8', '23+57=80']
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 8+80=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 8*80=640, Resulting Numbers: [640]
640,64 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,64 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: 64:[32, 6], Operations: ['23+40=63', '63-57=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[32, 6], Operations: ['57-40=17', '23-17=6']
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,64 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[17, 9], Operations: ['57-40=17', '32-23=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,64 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[34, 8], Operations: ['57-23=34', '40-32=8']
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,64 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[32, 6], Operations: ['57-23=34', '40-34=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[63, 25], Operations: ['23+40=63', '57-32=25']
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,64 unequal: No Solution
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[57, 15], Operations: ['40-23=17', '32-17=15']
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 57*15=855, Resulting Numbers: [855]
855,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[32, 40], Operations: ['40-23=17', '57-17=40']
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 32*40=1280, Resulting Numbers: [1280]
1280,64 unequal: No Solution
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[17, 25], Operations: ['40-23=17', '57-32=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,64 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[32, 40], Operations: ['57-40=17', '23+17=40']
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 32*40=1280, Resulting Numbers: [1280]
1280,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[23, 15], Operations: ['57-40=17', '32-17=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[40, 2], Operations: ['57-23=34', '34-32=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[57, 31], Operations: ['23+40=63', '63-32=31']
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,64 unequal: No Solution
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[32, 74], Operations: ['40-23=17', '57+17=74']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,64 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[40, 66], Operations: ['57-23=34', '32+34=66']
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 40*66=2640, Resulting Numbers: [2640]
2640,64 unequal: No Solution
Exploring Operation: 40+66=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[17, 55], Operations: ['57-40=17', '32+23=55']
Exploring Operation: 17*55=935, Resulting Numbers: [935]
935,64 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[34, 72], Operations: ['57-23=34', '32+40=72']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[57, 49], Operations: ['40-23=17', '32+17=49']
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 57+49=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 57*49=2793, Resulting Numbers: [2793]
2793,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[63, 89], Operations: ['23+40=63', '32+57=89']
Exploring Operation: 63*89=5607, Resulting Numbers: [5607]
5607,64 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 63+89=152, Resulting Numbers: [152]
152,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[57, 95], Operations: ['23+40=63', '32+63=95']
Exploring Operation: 57*95=5415, Resulting Numbers: [5415]
5415,64 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 57+95=152, Resulting Numbers: [152]
152,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
47,
30,
21
] | 19 | [
"47-30=17",
"21+17=38",
"38/2=19"
] | Current State: 19:[2, 47, 30, 21], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [2, 21, 17]
Generated Node #2: [2, 21, 17] from Operation: 47-30=17
Current State: 19:[2, 21, 17], Operations: ['47-30=17']
Exploring Operation: 21+17=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 21+17=38
Current State: 19:[2, 38], Operations: ['47-30=17', '21+17=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 47, 30, 21], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [2, 21, 17]
Generated Node #0,0: 19:[2, 21, 17] Operation: 47-30=17
Exploring Operation: 47-21=26, Resulting Numbers: [2, 30, 26]
Generated Node #0,1: 19:[2, 30, 26] Operation: 47-21=26
Exploring Operation: 30/2=15, Resulting Numbers: [47, 21, 15]
Generated Node #0,2: 19:[47, 21, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[2, 21, 17], Operations: ['47-30=17']
Exploring Operation: 2+21=23, Resulting Numbers: [17, 23]
Generated Node #0,0,0: 19:[17, 23] Operation: 2+21=23
Exploring Operation: 21-2=19, Resulting Numbers: [17, 19]
Generated Node #0,0,1: 19:[17, 19] Operation: 21-2=19
Exploring Operation: 2+17=19, Resulting Numbers: [21, 19]
Generated Node #0,0,2: 19:[21, 19] Operation: 2+17=19
Moving to Node #0,0,1
Current State: 19:[17, 19], Operations: ['47-30=17', '21-2=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,19 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[21, 19], Operations: ['47-30=17', '2+17=19']
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,19 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[17, 23], Operations: ['47-30=17', '2+21=23']
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,19 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[47, 21, 15], Operations: ['30/2=15']
Exploring Operation: 21-15=6, Resulting Numbers: [47, 6]
Generated Node #0,2,0: 19:[47, 6] Operation: 21-15=6
Exploring Operation: 47-21=26, Resulting Numbers: [15, 26]
Generated Node #0,2,1: 19:[15, 26] Operation: 47-21=26
Exploring Operation: 47-15=32, Resulting Numbers: [21, 32]
Generated Node #0,2,2: 19:[21, 32] Operation: 47-15=32
Moving to Node #0,2,1
Current State: 19:[15, 26], Operations: ['30/2=15', '47-21=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,19 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[21, 32], Operations: ['30/2=15', '47-15=32']
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,19 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[47, 6], Operations: ['30/2=15', '21-15=6']
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[2, 30, 26], Operations: ['47-21=26']
Exploring Operation: 30/2=15, Resulting Numbers: [26, 15]
Generated Node #0,1,0: 19:[26, 15] Operation: 30/2=15
Exploring Operation: 26-2=24, Resulting Numbers: [30, 24]
Generated Node #0,1,1: 19:[30, 24] Operation: 26-2=24
Exploring Operation: 30-2=28, Resulting Numbers: [26, 28]
Generated Node #0,1,2: 19:[26, 28] Operation: 30-2=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[26, 15], Operations: ['47-21=26', '30/2=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,19 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[30, 24], Operations: ['47-21=26', '26-2=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[26, 28], Operations: ['47-21=26', '30-2=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
32,
55,
55
] | 32 | [
"55-55=0",
"23*0=0",
"32+0=32"
] | Current State: 32:[23, 32, 55, 55], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [23, 32, 0]
Generated Node #2: [23, 32, 0] from Operation: 55-55=0
Current State: 32:[23, 32, 0], Operations: ['55-55=0']
Exploring Operation: 23*0=0, Resulting Numbers: [32, 0]
Generated Node #3: [32, 0] from Operation: 23*0=0
Current State: 32:[32, 0], Operations: ['55-55=0', '23*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[23, 32, 55, 55], Operations: []
Exploring Operation: 55/55=1, Resulting Numbers: [23, 32, 1]
Generated Node #0,0: 32:[23, 32, 1] Operation: 55/55=1
Exploring Operation: 55-55=0, Resulting Numbers: [23, 32, 0]
Generated Node #0,1: 32:[23, 32, 0] Operation: 55-55=0
Exploring Operation: 55-23=32, Resulting Numbers: [32, 55, 32]
Generated Node #0,2: 32:[32, 55, 32] Operation: 55-23=32
Exploring Operation: 55-23=32, Resulting Numbers: [32, 55, 32]
Generated Node #0,3: 32:[32, 55, 32] Operation: 55-23=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[23, 32, 1], Operations: ['55/55=1']
Exploring Operation: 23/1=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 32:[32, 23] Operation: 23/1=23
Exploring Operation: 23*1=23, Resulting Numbers: [32, 23]
Generated Node #0,0,1: 32:[32, 23] Operation: 23*1=23
Exploring Operation: 23-1=22, Resulting Numbers: [32, 22]
Generated Node #0,0,2: 32:[32, 22] Operation: 23-1=22
Exploring Operation: 32-23=9, Resulting Numbers: [1, 9]
Generated Node #0,0,3: 32:[1, 9] Operation: 32-23=9
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 32:[1, 9], Operations: ['55/55=1', '32-23=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[32, 22], Operations: ['55/55=1', '23-1=22']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,32 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[32, 23], Operations: ['55/55=1', '23/1=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[32, 23], Operations: ['55/55=1', '23*1=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,32 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[23, 32, 0], Operations: ['55-55=0']
Exploring Operation: 23+0=23, Resulting Numbers: [32, 23]
Generated Node #0,1,0: 32:[32, 23] Operation: 23+0=23
Exploring Operation: 23-0=23, Resulting Numbers: [32, 23]
Generated Node #0,1,1: 32:[32, 23] Operation: 23-0=23
Exploring Operation: 23*0=0, Resulting Numbers: [32, 0]
Generated Node #0,1,2: 32:[32, 0] Operation: 23*0=0
Exploring Operation: 32-23=9, Resulting Numbers: [0, 9]
Generated Node #0,1,3: 32:[0, 9] Operation: 32-23=9
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[32, 0], Operations: ['55-55=0', '23*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[23, 32, 55, 55], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [23, 32, 0]
Generated Node #0,1: 32:[23, 32, 0] Operation: 55-55=0
Moving to Node #0,1
Current State: 32:[23, 32, 0], Operations: ['55-55=0']
Exploring Operation: 23*0=0, Resulting Numbers: [32, 0]
Generated Node #0,1,2: 32:[32, 0] Operation: 23*0=0
Moving to Node #0,1,2
Current State: 32:[32, 0], Operations: ['55-55=0', '23*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
6,
2,
70,
45
] | 85 | [
"6/2=3",
"45/3=15",
"70+15=85"
] | Current State: 85:[6, 2, 70, 45], Operations: []
Exploring Operation: 6/2=3, Resulting Numbers: [70, 45, 3]
Generated Node #2: [70, 45, 3] from Operation: 6/2=3
Current State: 85:[70, 45, 3], Operations: ['6/2=3']
Exploring Operation: 45/3=15, Resulting Numbers: [70, 15]
Generated Node #3: [70, 15] from Operation: 45/3=15
Current State: 85:[70, 15], Operations: ['6/2=3', '45/3=15']
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[6, 2, 70, 45], Operations: []
Exploring Operation: 2*45=90, Resulting Numbers: [6, 70, 90]
Generated Node #0,0: 85:[6, 70, 90] Operation: 2*45=90
Exploring Operation: 70-45=25, Resulting Numbers: [6, 2, 25]
Generated Node #0,1: 85:[6, 2, 25] Operation: 70-45=25
Exploring Operation: 70+45=115, Resulting Numbers: [6, 2, 115]
Generated Node #0,2: 85:[6, 2, 115] Operation: 70+45=115
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[6, 2, 25], Operations: ['70-45=25']
Exploring Operation: 25-2=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 85:[6, 23] Operation: 25-2=23
Exploring Operation: 6-2=4, Resulting Numbers: [25, 4]
Generated Node #0,1,1: 85:[25, 4] Operation: 6-2=4
Exploring Operation: 25-6=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 85:[2, 19] Operation: 25-6=19
Moving to Node #0,1,2
Current State: 85:[2, 19], Operations: ['70-45=25', '25-6=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[6, 23], Operations: ['70-45=25', '25-2=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[25, 4], Operations: ['70-45=25', '6-2=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[6, 70, 90], Operations: ['2*45=90']
Exploring Operation: 6+70=76, Resulting Numbers: [90, 76]
Generated Node #0,0,0: 85:[90, 76] Operation: 6+70=76
Exploring Operation: 90-70=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 85:[6, 20] Operation: 90-70=20
Exploring Operation: 90-6=84, Resulting Numbers: [70, 84]
Generated Node #0,0,2: 85:[70, 84] Operation: 90-6=84
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[6, 20], Operations: ['2*45=90', '90-70=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,85 unequal: No Solution
No 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: 85:[90, 76], Operations: ['2*45=90', '6+70=76']
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 90+76=166, Resulting Numbers: [166]
166,85 unequal: No Solution
Exploring Operation: 90*76=6840, Resulting Numbers: [6840]
6840,85 unequal: No Solution
No 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: 85:[70, 84], Operations: ['2*45=90', '90-6=84']
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,85 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,85 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: 85:[6, 2, 115], Operations: ['70+45=115']
Exploring Operation: 115-2=113, Resulting Numbers: [6, 113]
Generated Node #0,2,0: 85:[6, 113] Operation: 115-2=113
Exploring Operation: 115-6=109, Resulting Numbers: [2, 109]
Generated Node #0,2,1: 85:[2, 109] Operation: 115-6=109
Exploring Operation: 6-2=4, Resulting Numbers: [115, 4]
Generated Node #0,2,2: 85:[115, 4] Operation: 6-2=4
Moving to Node #0,2,1
Current State: 85:[2, 109], Operations: ['70+45=115', '115-6=109']
Exploring Operation: 2+109=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 109-2=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 2*109=218, Resulting Numbers: [218]
218,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[6, 113], Operations: ['70+45=115', '115-2=113']
Exploring Operation: 6*113=678, Resulting Numbers: [678]
678,85 unequal: No Solution
Exploring Operation: 6+113=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 113-6=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[115, 4], Operations: ['70+45=115', '6-2=4']
Exploring Operation: 115+4=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 115-4=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 115*4=460, Resulting Numbers: [460]
460,85 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 |
[
49,
30,
65,
71
] | 61 | [
"49+71=120",
"120/30=4",
"65-4=61"
] | Current State: 61:[49, 30, 65, 71], Operations: []
Exploring Operation: 49+71=120, Resulting Numbers: [30, 65, 120]
Generated Node #2: [30, 65, 120] from Operation: 49+71=120
Current State: 61:[30, 65, 120], Operations: ['49+71=120']
Exploring Operation: 120/30=4, Resulting Numbers: [65, 4]
Generated Node #3: [65, 4] from Operation: 120/30=4
Current State: 61:[65, 4], Operations: ['49+71=120', '120/30=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[49, 30, 65, 71], Operations: []
Exploring Operation: 71-30=41, Resulting Numbers: [49, 65, 41]
Generated Node #0,0: 61:[49, 65, 41] Operation: 71-30=41
Exploring Operation: 49+30=79, Resulting Numbers: [65, 71, 79]
Generated Node #0,1: 61:[65, 71, 79] Operation: 49+30=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[65, 71, 79], Operations: ['49+30=79']
Exploring Operation: 79-71=8, Resulting Numbers: [65, 8]
Generated Node #0,1,0: 61:[65, 8] Operation: 79-71=8
Exploring Operation: 79-65=14, Resulting Numbers: [71, 14]
Generated Node #0,1,1: 61:[71, 14] Operation: 79-65=14
Moving to Node #0,1,0
Current State: 61:[65, 8], Operations: ['49+30=79', '79-71=8']
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[71, 14], Operations: ['49+30=79', '79-65=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[49, 65, 41], Operations: ['71-30=41']
Exploring Operation: 49+41=90, Resulting Numbers: [65, 90]
Generated Node #0,0,0: 61:[65, 90] Operation: 49+41=90
Exploring Operation: 65-41=24, Resulting Numbers: [49, 24]
Generated Node #0,0,1: 61:[49, 24] Operation: 65-41=24
Moving to Node #0,0,0
Current State: 61:[65, 90], Operations: ['71-30=41', '49+41=90']
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[49, 24], Operations: ['71-30=41', '65-41=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,61 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 |
[
7,
66,
80,
72
] | 38 | [
"72-66=6",
"7*6=42",
"80-42=38"
] | Current State: 38:[7, 66, 80, 72], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [7, 80, 6]
Generated Node #2: [7, 80, 6] from Operation: 72-66=6
Current State: 38:[7, 80, 6], Operations: ['72-66=6']
Exploring Operation: 7*6=42, Resulting Numbers: [80, 42]
Generated Node #3: [80, 42] from Operation: 7*6=42
Current State: 38:[80, 42], Operations: ['72-66=6', '7*6=42']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[7, 66, 80, 72], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [7, 80, 6]
Generated Node #0,0: 38:[7, 80, 6] Operation: 72-66=6
Exploring Operation: 66-7=59, Resulting Numbers: [80, 72, 59]
Generated Node #0,1: 38:[80, 72, 59] Operation: 66-7=59
Exploring Operation: 80-7=73, Resulting Numbers: [66, 72, 73]
Generated Node #0,2: 38:[66, 72, 73] Operation: 80-7=73
Exploring Operation: 80-72=8, Resulting Numbers: [7, 66, 8]
Generated Node #0,3: 38:[7, 66, 8] Operation: 80-72=8
Exploring Operation: 80-66=14, Resulting Numbers: [7, 72, 14]
Generated Node #0,4: 38:[7, 72, 14] Operation: 80-66=14
Moving to Node #0,3
Current State: 38:[7, 66, 8], Operations: ['80-72=8']
Exploring Operation: 7+66=73, Resulting Numbers: [8, 73]
Generated Node #0,3,0: 38:[8, 73] Operation: 7+66=73
Exploring Operation: 7+8=15, Resulting Numbers: [66, 15]
Generated Node #0,3,1: 38:[66, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [66, 1]
Generated Node #0,3,2: 38:[66, 1] Operation: 8-7=1
Exploring Operation: 66-7=59, Resulting Numbers: [8, 59]
Generated Node #0,3,3: 38:[8, 59] Operation: 66-7=59
Exploring Operation: 66-8=58, Resulting Numbers: [7, 58]
Generated Node #0,3,4: 38:[7, 58] Operation: 66-8=58
Moving to Node #0,4
Current State: 38:[7, 72, 14], Operations: ['80-66=14']
Exploring Operation: 14-7=7, Resulting Numbers: [72, 7]
Generated Node #0,4,0: 38:[72, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [72, 2]
Generated Node #0,4,1: 38:[72, 2] Operation: 14/7=2
Exploring Operation: 7+14=21, Resulting Numbers: [72, 21]
Generated Node #0,4,2: 38:[72, 21] Operation: 7+14=21
Exploring Operation: 72-7=65, Resulting Numbers: [14, 65]
Generated Node #0,4,3: 38:[14, 65] Operation: 72-7=65
Exploring Operation: 72-14=58, Resulting Numbers: [7, 58]
Generated Node #0,4,4: 38:[7, 58] Operation: 72-14=58
Moving to Node #0,0
Current State: 38:[7, 80, 6], Operations: ['72-66=6']
Exploring Operation: 7-6=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 38:[80, 1] Operation: 7-6=1
Exploring Operation: 80-7=73, Resulting Numbers: [6, 73]
Generated Node #0,0,1: 38:[6, 73] Operation: 80-7=73
Exploring Operation: 7*6=42, Resulting Numbers: [80, 42]
Generated Node #0,0,2: 38:[80, 42] Operation: 7*6=42
Exploring Operation: 80-6=74, Resulting Numbers: [7, 74]
Generated Node #0,0,3: 38:[7, 74] Operation: 80-6=74
Exploring Operation: 7+6=13, Resulting Numbers: [80, 13]
Generated Node #0,0,4: 38:[80, 13] Operation: 7+6=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[6, 73], Operations: ['72-66=6', '80-7=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,38 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,38 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[7, 74], Operations: ['72-66=6', '80-6=74']
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,38 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[80, 1], Operations: ['72-66=6', '7-6=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,38 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[80, 42], Operations: ['72-66=6', '7*6=42']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[7, 66, 80, 72], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [7, 80, 6]
Generated Node #0,0: 38:[7, 80, 6] Operation: 72-66=6
Moving to Node #0,0
Current State: 38:[7, 80, 6], Operations: ['72-66=6']
Exploring Operation: 7*6=42, Resulting Numbers: [80, 42]
Generated Node #0,0,2: 38:[80, 42] Operation: 7*6=42
Moving to Node #0,0,2
Current State: 38:[80, 42], Operations: ['72-66=6', '7*6=42']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
91,
30,
53,
94
] | 37 | [
"94-91=3",
"30*3=90",
"90-53=37"
] | Current State: 37:[91, 30, 53, 94], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [30, 53, 3]
Generated Node #2: [30, 53, 3] from Operation: 94-91=3
Current State: 37:[30, 53, 3], Operations: ['94-91=3']
Exploring Operation: 30*3=90, Resulting Numbers: [53, 90]
Generated Node #3: [53, 90] from Operation: 30*3=90
Current State: 37:[53, 90], Operations: ['94-91=3', '30*3=90']
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[91, 30, 53, 94], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [30, 53, 3]
Generated Node #0,0: 37:[30, 53, 3] Operation: 94-91=3
Moving to Node #0,0
Current State: 37:[30, 53, 3], Operations: ['94-91=3']
Exploring Operation: 30+3=33, Resulting Numbers: [53, 33]
Generated Node #0,0,0: 37:[53, 33] Operation: 30+3=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[53, 33], Operations: ['94-91=3', '30+3=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
10,
98,
35
] | 99 | [
"45-10=35",
"35/35=1",
"98+1=99"
] | Current State: 99:[45, 10, 98, 35], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [98, 35, 35]
Generated Node #2: [98, 35, 35] from Operation: 45-10=35
Current State: 99:[98, 35, 35], Operations: ['45-10=35']
Exploring Operation: 35/35=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 35/35=1
Current State: 99:[98, 1], Operations: ['45-10=35', '35/35=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[45, 10, 98, 35], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [98, 35, 35]
Generated Node #0,0: 99:[98, 35, 35] Operation: 45-10=35
Exploring Operation: 45+35=80, Resulting Numbers: [10, 98, 80]
Generated Node #0,1: 99:[10, 98, 80] Operation: 45+35=80
Exploring Operation: 45-35=10, Resulting Numbers: [10, 98, 10]
Generated Node #0,2: 99:[10, 98, 10] Operation: 45-35=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[10, 98, 10], Operations: ['45-35=10']
Exploring Operation: 10-10=0, Resulting Numbers: [98, 0]
Generated Node #0,2,0: 99:[98, 0] Operation: 10-10=0
Exploring Operation: 10*10=100, Resulting Numbers: [98, 100]
Generated Node #0,2,1: 99:[98, 100] Operation: 10*10=100
Exploring Operation: 10/10=1, Resulting Numbers: [98, 1]
Generated Node #0,2,2: 99:[98, 1] Operation: 10/10=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[98, 100], Operations: ['45-35=10', '10*10=100']
Exploring Operation: 98+100=198, Resulting Numbers: [198]
198,99 unequal: No Solution
Exploring Operation: 100-98=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 98*100=9800, Resulting Numbers: [9800]
9800,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[98, 1], Operations: ['45-35=10', '10/10=1']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[45, 10, 98, 35], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [10, 98, 10]
Generated Node #0,2: 99:[10, 98, 10] Operation: 45-35=10
Moving to Node #0,2
Current State: 99:[10, 98, 10], Operations: ['45-35=10']
Exploring Operation: 10/10=1, Resulting Numbers: [98, 1]
Generated Node #0,2,2: 99:[98, 1] Operation: 10/10=1
Moving to Node #0,2,2
Current State: 99:[98, 1], Operations: ['45-35=10', '10/10=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
64,
51,
46,
4
] | 10 | [
"64+51=115",
"4*115=460",
"460/46=10"
] | Current State: 10:[64, 51, 46, 4], Operations: []
Exploring Operation: 64+51=115, Resulting Numbers: [46, 4, 115]
Generated Node #2: [46, 4, 115] from Operation: 64+51=115
Current State: 10:[46, 4, 115], Operations: ['64+51=115']
Exploring Operation: 4*115=460, Resulting Numbers: [46, 460]
Generated Node #3: [46, 460] from Operation: 4*115=460
Current State: 10:[46, 460], Operations: ['64+51=115', '4*115=460']
Exploring Operation: 460/46=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[64, 51, 46, 4], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [46, 4, 13]
Generated Node #0,0: 10:[46, 4, 13] Operation: 64-51=13
Exploring Operation: 64-46=18, Resulting Numbers: [51, 4, 18]
Generated Node #0,1: 10:[51, 4, 18] Operation: 64-46=18
Moving to Node #0,0
Current State: 10:[46, 4, 13], Operations: ['64-51=13']
Exploring Operation: 46-13=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 10:[4, 33] Operation: 46-13=33
Exploring Operation: 46-4=42, Resulting Numbers: [13, 42]
Generated Node #0,0,1: 10:[13, 42] Operation: 46-4=42
Moving to Node #0,1
Current State: 10:[51, 4, 18], Operations: ['64-46=18']
Exploring Operation: 51-4=47, Resulting Numbers: [18, 47]
Generated Node #0,1,0: 10:[18, 47] Operation: 51-4=47
Exploring Operation: 51-18=33, Resulting Numbers: [4, 33]
Generated Node #0,1,1: 10:[4, 33] Operation: 51-18=33
Moving to Node #0,0,0
Current State: 10:[4, 33], Operations: ['64-51=13', '46-13=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[4, 33], Operations: ['64-46=18', '51-18=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[13, 42], Operations: ['64-51=13', '46-4=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[18, 47], Operations: ['64-46=18', '51-4=47']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
9,
57,
99
] | 41 | [
"57-5=52",
"99/9=11",
"52-11=41"
] | Current State: 41:[5, 9, 57, 99], Operations: []
Exploring Operation: 57-5=52, Resulting Numbers: [9, 99, 52]
Generated Node #2: [9, 99, 52] from Operation: 57-5=52
Current State: 41:[9, 99, 52], Operations: ['57-5=52']
Exploring Operation: 99/9=11, Resulting Numbers: [52, 11]
Generated Node #3: [52, 11] from Operation: 99/9=11
Current State: 41:[52, 11], Operations: ['57-5=52', '99/9=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[5, 9, 57, 99], Operations: []
Exploring Operation: 5*9=45, Resulting Numbers: [57, 99, 45]
Generated Node #0,0: 41:[57, 99, 45] Operation: 5*9=45
Exploring Operation: 99-57=42, Resulting Numbers: [5, 9, 42]
Generated Node #0,1: 41:[5, 9, 42] Operation: 99-57=42
Moving to Node #0,1
Current State: 41:[5, 9, 42], Operations: ['99-57=42']
Exploring Operation: 5*9=45, Resulting Numbers: [42, 45]
Generated Node #0,1,0: 41:[42, 45] Operation: 5*9=45
Exploring Operation: 5+9=14, Resulting Numbers: [42, 14]
Generated Node #0,1,1: 41:[42, 14] Operation: 5+9=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[42, 45], Operations: ['99-57=42', '5*9=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[42, 14], Operations: ['99-57=42', '5+9=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[57, 99, 45], Operations: ['5*9=45']
Exploring Operation: 99-57=42, Resulting Numbers: [45, 42]
Generated Node #0,0,0: 41:[45, 42] Operation: 99-57=42
Exploring Operation: 99-45=54, Resulting Numbers: [57, 54]
Generated Node #0,0,1: 41:[57, 54] Operation: 99-45=54
Moving to Node #0,0,0
Current State: 41:[45, 42], Operations: ['5*9=45', '99-57=42']
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[57, 54], Operations: ['5*9=45', '99-45=54']
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
10,
76,
13
] | 66 | [
"76-54=22",
"13-10=3",
"22*3=66"
] | Current State: 66:[54, 10, 76, 13], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [10, 13, 22]
Generated Node #2: [10, 13, 22] from Operation: 76-54=22
Current State: 66:[10, 13, 22], Operations: ['76-54=22']
Exploring Operation: 13-10=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 13-10=3
Current State: 66:[22, 3], Operations: ['76-54=22', '13-10=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 10, 76, 13], Operations: []
Exploring Operation: 76-10=66, Resulting Numbers: [54, 13, 66]
Generated Node #0,0: 66:[54, 13, 66] Operation: 76-10=66
Exploring Operation: 54+10=64, Resulting Numbers: [76, 13, 64]
Generated Node #0,1: 66:[76, 13, 64] Operation: 54+10=64
Exploring Operation: 76-54=22, Resulting Numbers: [10, 13, 22]
Generated Node #0,2: 66:[10, 13, 22] Operation: 76-54=22
Exploring Operation: 76-13=63, Resulting Numbers: [54, 10, 63]
Generated Node #0,3: 66:[54, 10, 63] Operation: 76-13=63
Exploring Operation: 54+13=67, Resulting Numbers: [10, 76, 67]
Generated Node #0,4: 66:[10, 76, 67] Operation: 54+13=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[10, 13, 22], Operations: ['76-54=22']
Exploring Operation: 13-10=3, Resulting Numbers: [22, 3]
Generated Node #0,2,0: 66:[22, 3] Operation: 13-10=3
Exploring Operation: 10+22=32, Resulting Numbers: [13, 32]
Generated Node #0,2,1: 66:[13, 32] Operation: 10+22=32
Exploring Operation: 13+22=35, Resulting Numbers: [10, 35]
Generated Node #0,2,2: 66:[10, 35] Operation: 13+22=35
Exploring Operation: 22-10=12, Resulting Numbers: [13, 12]
Generated Node #0,2,3: 66:[13, 12] Operation: 22-10=12
Exploring Operation: 10+13=23, Resulting Numbers: [22, 23]
Generated Node #0,2,4: 66:[22, 23] Operation: 10+13=23
Moving to Node #0,2,0
Current State: 66:[22, 3], Operations: ['76-54=22', '13-10=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[54, 10, 76, 13], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [10, 13, 22]
Generated Node #0,2: 66:[10, 13, 22] Operation: 76-54=22
Moving to Node #0,2
Current State: 66:[10, 13, 22], Operations: ['76-54=22']
Exploring Operation: 13-10=3, Resulting Numbers: [22, 3]
Generated Node #0,2,0: 66:[22, 3] Operation: 13-10=3
Moving to Node #0,2,0
Current State: 66:[22, 3], Operations: ['76-54=22', '13-10=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
20,
64,
64,
97
] | 20 | [
"64-64=0",
"97*0=0",
"20+0=20"
] | Current State: 20:[20, 64, 64, 97], Operations: []
Exploring Operation: 64-64=0, Resulting Numbers: [20, 97, 0]
Generated Node #2: [20, 97, 0] from Operation: 64-64=0
Current State: 20:[20, 97, 0], Operations: ['64-64=0']
Exploring Operation: 97*0=0, Resulting Numbers: [20, 0]
Generated Node #3: [20, 0] from Operation: 97*0=0
Current State: 20:[20, 0], Operations: ['64-64=0', '97*0=0']
Exploring Operation: 20+0=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[20, 64, 64, 97], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [20, 64, 33]
Generated Node #0,0: 20:[20, 64, 33] Operation: 97-64=33
Exploring Operation: 64/64=1, Resulting Numbers: [20, 97, 1]
Generated Node #0,1: 20:[20, 97, 1] Operation: 64/64=1
Exploring Operation: 97-64=33, Resulting Numbers: [20, 64, 33]
Generated Node #0,2: 20:[20, 64, 33] Operation: 97-64=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[20, 64, 33], Operations: ['97-64=33']
Exploring Operation: 64-33=31, Resulting Numbers: [20, 31]
Generated Node #0,0,0: 20:[20, 31] Operation: 64-33=31
Exploring Operation: 64-20=44, Resulting Numbers: [33, 44]
Generated Node #0,0,1: 20:[33, 44] Operation: 64-20=44
Exploring Operation: 33-20=13, Resulting Numbers: [64, 13]
Generated Node #0,0,2: 20:[64, 13] Operation: 33-20=13
Moving to Node #0,0,0
Current State: 20:[20, 31], Operations: ['97-64=33', '64-33=31']
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[33, 44], Operations: ['97-64=33', '64-20=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[64, 13], Operations: ['97-64=33', '33-20=13']
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,20 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[20, 64, 33], Operations: ['97-64=33']
Exploring Operation: 64-20=44, Resulting Numbers: [33, 44]
Generated Node #0,2,0: 20:[33, 44] Operation: 64-20=44
Exploring Operation: 33-20=13, Resulting Numbers: [64, 13]
Generated Node #0,2,1: 20:[64, 13] Operation: 33-20=13
Exploring Operation: 64-33=31, Resulting Numbers: [20, 31]
Generated Node #0,2,2: 20:[20, 31] Operation: 64-33=31
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[20, 31], Operations: ['97-64=33', '64-33=31']
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,20 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,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,2,0
Current State: 20:[33, 44], Operations: ['97-64=33', '64-20=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,20 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,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,2,1
Current State: 20:[64, 13], Operations: ['97-64=33', '33-20=13']
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,20 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,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:[20, 97, 1], Operations: ['64/64=1']
Exploring Operation: 20*1=20, Resulting Numbers: [97, 20]
Generated Node #0,1,0: 20:[97, 20] Operation: 20*1=20
Exploring Operation: 97-1=96, Resulting Numbers: [20, 96]
Generated Node #0,1,1: 20:[20, 96] Operation: 97-1=96
Exploring Operation: 97-20=77, Resulting Numbers: [1, 77]
Generated Node #0,1,2: 20:[1, 77] Operation: 97-20=77
Moving to Node #0,1,2
Current State: 20:[1, 77], Operations: ['64/64=1', '97-20=77']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[20, 96], Operations: ['64/64=1', '97-1=96']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,20 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[97, 20], Operations: ['64/64=1', '20*1=20']
Exploring Operation: 97+20=117, Resulting Numbers: [117]
117,20 unequal: No Solution
Exploring Operation: 97*20=1940, Resulting Numbers: [1940]
1940,20 unequal: No Solution
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
17,
25,
5
] | 86 | [
"56-17=39",
"25*5=125",
"125-39=86"
] | Current State: 86:[56, 17, 25, 5], Operations: []
Exploring Operation: 56-17=39, Resulting Numbers: [25, 5, 39]
Generated Node #2: [25, 5, 39] from Operation: 56-17=39
Current State: 86:[25, 5, 39], Operations: ['56-17=39']
Exploring Operation: 25*5=125, Resulting Numbers: [39, 125]
Generated Node #3: [39, 125] from Operation: 25*5=125
Current State: 86:[39, 125], Operations: ['56-17=39', '25*5=125']
Exploring Operation: 125-39=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[56, 17, 25, 5], Operations: []
Exploring Operation: 17+25=42, Resulting Numbers: [56, 5, 42]
Generated Node #0,0: 86:[56, 5, 42] Operation: 17+25=42
Exploring Operation: 25-17=8, Resulting Numbers: [56, 5, 8]
Generated Node #0,1: 86:[56, 5, 8] Operation: 25-17=8
Moving to Node #0,0
Current State: 86:[56, 5, 42], Operations: ['17+25=42']
Exploring Operation: 56-5=51, Resulting Numbers: [42, 51]
Generated Node #0,0,0: 86:[42, 51] Operation: 56-5=51
Exploring Operation: 56+42=98, Resulting Numbers: [5, 98]
Generated Node #0,0,1: 86:[5, 98] Operation: 56+42=98
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[42, 51], Operations: ['17+25=42', '56-5=51']
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[5, 98], Operations: ['17+25=42', '56+42=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 5+98=103, Resulting Numbers: [103]
103,86 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: 86:[56, 5, 8], Operations: ['25-17=8']
Exploring Operation: 56/8=7, Resulting Numbers: [5, 7]
Generated Node #0,1,0: 86:[5, 7] Operation: 56/8=7
Exploring Operation: 56-8=48, Resulting Numbers: [5, 48]
Generated Node #0,1,1: 86:[5, 48] Operation: 56-8=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[5, 7], Operations: ['25-17=8', '56/8=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[5, 48], Operations: ['25-17=8', '56-8=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,86 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 |
[
68,
90,
65,
79
] | 36 | [
"90-68=22",
"79-65=14",
"22+14=36"
] | Current State: 36:[68, 90, 65, 79], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [65, 79, 22]
Generated Node #2: [65, 79, 22] from Operation: 90-68=22
Current State: 36:[65, 79, 22], Operations: ['90-68=22']
Exploring Operation: 79-65=14, Resulting Numbers: [22, 14]
Generated Node #3: [22, 14] from Operation: 79-65=14
Current State: 36:[22, 14], Operations: ['90-68=22', '79-65=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[68, 90, 65, 79], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [68, 65, 11]
Generated Node #0,0: 36:[68, 65, 11] Operation: 90-79=11
Exploring Operation: 90-68=22, Resulting Numbers: [65, 79, 22]
Generated Node #0,1: 36:[65, 79, 22] Operation: 90-68=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[68, 65, 11], Operations: ['90-79=11']
Exploring Operation: 68-11=57, Resulting Numbers: [65, 57]
Generated Node #0,0,0: 36:[65, 57] Operation: 68-11=57
Exploring Operation: 68-65=3, Resulting Numbers: [11, 3]
Generated Node #0,0,1: 36:[11, 3] Operation: 68-65=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[11, 3], Operations: ['90-79=11', '68-65=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[65, 57], Operations: ['90-79=11', '68-11=57']
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[65, 79, 22], Operations: ['90-68=22']
Exploring Operation: 79-65=14, Resulting Numbers: [22, 14]
Generated Node #0,1,0: 36:[22, 14] Operation: 79-65=14
Exploring Operation: 65-22=43, Resulting Numbers: [79, 43]
Generated Node #0,1,1: 36:[79, 43] Operation: 65-22=43
Moving to Node #0,1,0
Current State: 36:[22, 14], Operations: ['90-68=22', '79-65=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[68, 90, 65, 79], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [65, 79, 22]
Generated Node #0,1: 36:[65, 79, 22] Operation: 90-68=22
Moving to Node #0,1
Current State: 36:[65, 79, 22], Operations: ['90-68=22']
Exploring Operation: 79-65=14, Resulting Numbers: [22, 14]
Generated Node #0,1,0: 36:[22, 14] Operation: 79-65=14
Moving to Node #0,1,0
Current State: 36:[22, 14], Operations: ['90-68=22', '79-65=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
5,
99,
48,
28
] | 84 | [
"5+99=104",
"48-28=20",
"104-20=84"
] | Current State: 84:[5, 99, 48, 28], Operations: []
Exploring Operation: 5+99=104, Resulting Numbers: [48, 28, 104]
Generated Node #2: [48, 28, 104] from Operation: 5+99=104
Current State: 84:[48, 28, 104], Operations: ['5+99=104']
Exploring Operation: 48-28=20, Resulting Numbers: [104, 20]
Generated Node #3: [104, 20] from Operation: 48-28=20
Current State: 84:[104, 20], Operations: ['5+99=104', '48-28=20']
Exploring Operation: 104-20=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[5, 99, 48, 28], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [5, 28, 51]
Generated Node #0,0: 84:[5, 28, 51] Operation: 99-48=51
Exploring Operation: 48-5=43, Resulting Numbers: [99, 28, 43]
Generated Node #0,1: 84:[99, 28, 43] Operation: 48-5=43
Exploring Operation: 99-5=94, Resulting Numbers: [48, 28, 94]
Generated Node #0,2: 84:[48, 28, 94] Operation: 99-5=94
Moving to Node #0,0
Current State: 84:[5, 28, 51], Operations: ['99-48=51']
Exploring Operation: 51-28=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 84:[5, 23] Operation: 51-28=23
Exploring Operation: 51-5=46, Resulting Numbers: [28, 46]
Generated Node #0,0,1: 84:[28, 46] Operation: 51-5=46
Exploring Operation: 28+51=79, Resulting Numbers: [5, 79]
Generated Node #0,0,2: 84:[5, 79] Operation: 28+51=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[5, 23], Operations: ['99-48=51', '51-28=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[28, 46], Operations: ['99-48=51', '51-5=46']
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,84 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,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:[5, 79], Operations: ['99-48=51', '28+51=79']
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[5, 99, 48, 28], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [5, 28, 51]
Generated Node #0,0: 84:[5, 28, 51] Operation: 99-48=51
Moving to Node #0,0
Current State: 84:[5, 28, 51], Operations: ['99-48=51']
Exploring Operation: 28+51=79, Resulting Numbers: [5, 79]
Generated Node #0,0,2: 84:[5, 79] Operation: 28+51=79
Moving to Node #0,0,2
Current State: 84:[5, 79], Operations: ['99-48=51', '28+51=79']
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
33,
52,
48,
46
] | 14 | [
"48-46=2",
"33*2=66",
"66-52=14"
] | Current State: 14:[33, 52, 48, 46], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [33, 52, 2]
Generated Node #2: [33, 52, 2] from Operation: 48-46=2
Current State: 14:[33, 52, 2], Operations: ['48-46=2']
Exploring Operation: 33*2=66, Resulting Numbers: [52, 66]
Generated Node #3: [52, 66] from Operation: 33*2=66
Current State: 14:[52, 66], Operations: ['48-46=2', '33*2=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[33, 52, 48, 46], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [33, 46, 4]
Generated Node #0,0: 14:[33, 46, 4] Operation: 52-48=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[33, 46, 4], Operations: ['52-48=4']
Exploring Operation: 46-33=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 14:[4, 13] Operation: 46-33=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[4, 13], Operations: ['52-48=4', '46-33=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,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 | sum_heuristic |
[
23,
61,
23,
40
] | 55 | [
"61-23=38",
"40-23=17",
"38+17=55"
] | Current State: 55:[23, 61, 23, 40], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [40, 38]
Generated Node #2: [40, 38] from Operation: 61-23=38
Current State: 55:[40, 38], Operations: ['61-23=38']
Exploring Operation: 40-23=17, Resulting Numbers: [38, 17]
Generated Node #3: [38, 17] from Operation: 40-23=17
Current State: 55:[38, 17], Operations: ['61-23=38', '40-23=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[23, 61, 23, 40], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [23, 61, 17]
Generated Node #0,0: 55:[23, 61, 17] Operation: 40-23=17
Exploring Operation: 40-23=17, Resulting Numbers: [61, 23, 17]
Generated Node #0,1: 55:[61, 23, 17] Operation: 40-23=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[23, 61, 17], Operations: ['40-23=17']
Exploring Operation: 23+17=40, Resulting Numbers: [61, 40]
Generated Node #0,0,0: 55:[61, 40] Operation: 23+17=40
Exploring Operation: 23-17=6, Resulting Numbers: [61, 6]
Generated Node #0,0,1: 55:[61, 6] Operation: 23-17=6
Moving to Node #0,0,1
Current State: 55:[61, 6], Operations: ['40-23=17', '23-17=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[23, 61, 23, 40], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [23, 61, 17]
Generated Node #0,0: 55:[23, 61, 17] Operation: 40-23=17
Moving to Node #0,0
Current State: 55:[23, 61, 17], Operations: ['40-23=17']
Exploring Operation: 23-17=6, Resulting Numbers: [61, 6]
Generated Node #0,0,1: 55:[61, 6] Operation: 23-17=6
Moving to Node #0,0,1
Current State: 55:[61, 6], Operations: ['40-23=17', '23-17=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
75,
10,
44,
17
] | 38 | [
"75-10=65",
"44-17=27",
"65-27=38"
] | Current State: 38:[75, 10, 44, 17], Operations: []
Exploring Operation: 75-10=65, Resulting Numbers: [44, 17, 65]
Generated Node #2: [44, 17, 65] from Operation: 75-10=65
Current State: 38:[44, 17, 65], Operations: ['75-10=65']
Exploring Operation: 44-17=27, Resulting Numbers: [65, 27]
Generated Node #3: [65, 27] from Operation: 44-17=27
Current State: 38:[65, 27], Operations: ['75-10=65', '44-17=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[75, 10, 44, 17], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [10, 17, 31]
Generated Node #0,0: 38:[10, 17, 31] Operation: 75-44=31
Exploring Operation: 44-10=34, Resulting Numbers: [75, 17, 34]
Generated Node #0,1: 38:[75, 17, 34] Operation: 44-10=34
Exploring Operation: 75-10=65, Resulting Numbers: [44, 17, 65]
Generated Node #0,2: 38:[44, 17, 65] Operation: 75-10=65
Exploring Operation: 17-10=7, Resulting Numbers: [75, 44, 7]
Generated Node #0,3: 38:[75, 44, 7] Operation: 17-10=7
Exploring Operation: 75-17=58, Resulting Numbers: [10, 44, 58]
Generated Node #0,4: 38:[10, 44, 58] Operation: 75-17=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[10, 17, 31], Operations: ['75-44=31']
Exploring Operation: 17-10=7, Resulting Numbers: [31, 7]
Generated Node #0,0,0: 38:[31, 7] Operation: 17-10=7
Exploring Operation: 10+17=27, Resulting Numbers: [31, 27]
Generated Node #0,0,1: 38:[31, 27] Operation: 10+17=27
Exploring Operation: 31-17=14, Resulting Numbers: [10, 14]
Generated Node #0,0,2: 38:[10, 14] Operation: 31-17=14
Exploring Operation: 10+31=41, Resulting Numbers: [17, 41]
Generated Node #0,0,3: 38:[17, 41] Operation: 10+31=41
Exploring Operation: 31-10=21, Resulting Numbers: [17, 21]
Generated Node #0,0,4: 38:[17, 21] Operation: 31-10=21
Moving to Node #0,0,4
Current State: 38:[17, 21], Operations: ['75-44=31', '31-10=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,38 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[75, 10, 44, 17], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [10, 17, 31]
Generated Node #0,0: 38:[10, 17, 31] Operation: 75-44=31
Moving to Node #0,0
Current State: 38:[10, 17, 31], Operations: ['75-44=31']
Exploring Operation: 31-10=21, Resulting Numbers: [17, 21]
Generated Node #0,0,4: 38:[17, 21] Operation: 31-10=21
Moving to Node #0,0,4
Current State: 38:[17, 21], Operations: ['75-44=31', '31-10=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
68,
42,
29,
25
] | 75 | [
"68-42=26",
"29-26=3",
"25*3=75"
] | Current State: 75:[68, 42, 29, 25], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [29, 25, 26]
Generated Node #2: [29, 25, 26] from Operation: 68-42=26
Current State: 75:[29, 25, 26], Operations: ['68-42=26']
Exploring Operation: 29-26=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 29-26=3
Current State: 75:[25, 3], Operations: ['68-42=26', '29-26=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[68, 42, 29, 25], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [29, 25, 26]
Generated Node #0,0: 75:[29, 25, 26] Operation: 68-42=26
Exploring Operation: 42-29=13, Resulting Numbers: [68, 25, 13]
Generated Node #0,1: 75:[68, 25, 13] Operation: 42-29=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[29, 25, 26], Operations: ['68-42=26']
Exploring Operation: 29-26=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 29-26=3
Exploring Operation: 29-25=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 75:[26, 4] Operation: 29-25=4
Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['68-42=26', '29-26=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[68, 42, 29, 25], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [29, 25, 26]
Generated Node #0,0: 75:[29, 25, 26] Operation: 68-42=26
Moving to Node #0,0
Current State: 75:[29, 25, 26], Operations: ['68-42=26']
Exploring Operation: 29-26=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['68-42=26', '29-26=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
96,
58,
84,
82
] | 21 | [
"82-58=24",
"96/24=4",
"84/4=21"
] | Current State: 21:[96, 58, 84, 82], Operations: []
Exploring Operation: 82-58=24, Resulting Numbers: [96, 84, 24]
Generated Node #2: [96, 84, 24] from Operation: 82-58=24
Current State: 21:[96, 84, 24], Operations: ['82-58=24']
Exploring Operation: 96/24=4, Resulting Numbers: [84, 4]
Generated Node #3: [84, 4] from Operation: 96/24=4
Current State: 21:[84, 4], Operations: ['82-58=24', '96/24=4']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[96, 58, 84, 82], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [58, 84, 14]
Generated Node #0,0: 21:[58, 84, 14] Operation: 96-82=14
Exploring Operation: 96-84=12, Resulting Numbers: [58, 82, 12]
Generated Node #0,1: 21:[58, 82, 12] Operation: 96-84=12
Moving to Node #0,1
Current State: 21:[58, 82, 12], Operations: ['96-84=12']
Exploring Operation: 58-12=46, Resulting Numbers: [82, 46]
Generated Node #0,1,0: 21:[82, 46] Operation: 58-12=46
Exploring Operation: 82-58=24, Resulting Numbers: [12, 24]
Generated Node #0,1,1: 21:[12, 24] Operation: 82-58=24
Moving to Node #0,0
Current State: 21:[58, 84, 14], Operations: ['96-82=14']
Exploring Operation: 84/14=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 21:[58, 6] Operation: 84/14=6
Exploring Operation: 84-58=26, Resulting Numbers: [14, 26]
Generated Node #0,0,1: 21:[14, 26] Operation: 84-58=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[14, 26], Operations: ['96-82=14', '84-58=26']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[58, 6], Operations: ['96-82=14', '84/14=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,21 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,21 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: 21:[12, 24], Operations: ['96-84=12', '82-58=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[82, 46], Operations: ['96-84=12', '58-12=46']
Exploring Operation: 82+46=128, Resulting Numbers: [128]
128,21 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,21 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
29,
25,
46,
33
] | 41 | [
"29+25=54",
"46-33=13",
"54-13=41"
] | Current State: 41:[29, 25, 46, 33], Operations: []
Exploring Operation: 29+25=54, Resulting Numbers: [46, 33, 54]
Generated Node #2: [46, 33, 54] from Operation: 29+25=54
Current State: 41:[46, 33, 54], Operations: ['29+25=54']
Exploring Operation: 46-33=13, Resulting Numbers: [54, 13]
Generated Node #3: [54, 13] from Operation: 46-33=13
Current State: 41:[54, 13], Operations: ['29+25=54', '46-33=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[29, 25, 46, 33], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [29, 33, 21]
Generated Node #0,0: 41:[29, 33, 21] Operation: 46-25=21
Exploring Operation: 25+33=58, Resulting Numbers: [29, 46, 58]
Generated Node #0,1: 41:[29, 46, 58] Operation: 25+33=58
Exploring Operation: 29+25=54, Resulting Numbers: [46, 33, 54]
Generated Node #0,2: 41:[46, 33, 54] Operation: 29+25=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[46, 33, 54], Operations: ['29+25=54']
Exploring Operation: 46-33=13, Resulting Numbers: [54, 13]
Generated Node #0,2,0: 41:[54, 13] Operation: 46-33=13
Exploring Operation: 54-46=8, Resulting Numbers: [33, 8]
Generated Node #0,2,1: 41:[33, 8] Operation: 54-46=8
Exploring Operation: 54-33=21, Resulting Numbers: [46, 21]
Generated Node #0,2,2: 41:[46, 21] Operation: 54-33=21
Moving to Node #0,2,2
Current State: 41:[46, 21], Operations: ['29+25=54', '54-33=21']
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,41 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[54, 13], Operations: ['29+25=54', '46-33=13']
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,41 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[29, 25, 46, 33], Operations: []
Exploring Operation: 29+25=54, Resulting Numbers: [46, 33, 54]
Generated Node #0,2: 41:[46, 33, 54] Operation: 29+25=54
Moving to Node #0,2
Current State: 41:[46, 33, 54], Operations: ['29+25=54']
Exploring Operation: 46-33=13, Resulting Numbers: [54, 13]
Generated Node #0,2,0: 41:[54, 13] Operation: 46-33=13
Moving to Node #0,2,0
Current State: 41:[54, 13], Operations: ['29+25=54', '46-33=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
42,
17,
83,
85
] | 76 | [
"85-83=2",
"17*2=34",
"42+34=76"
] | Current State: 76:[42, 17, 83, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [42, 17, 2]
Generated Node #2: [42, 17, 2] from Operation: 85-83=2
Current State: 76:[42, 17, 2], Operations: ['85-83=2']
Exploring Operation: 17*2=34, Resulting Numbers: [42, 34]
Generated Node #3: [42, 34] from Operation: 17*2=34
Current State: 76:[42, 34], Operations: ['85-83=2', '17*2=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[42, 17, 83, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [42, 17, 2]
Generated Node #0,0: 76:[42, 17, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 76:[42, 17, 2], Operations: ['85-83=2']
Exploring Operation: 42-2=40, Resulting Numbers: [17, 40]
Generated Node #0,0,0: 76:[17, 40] Operation: 42-2=40
Moving to Node #0,0,0
Current State: 76:[17, 40], Operations: ['85-83=2', '42-2=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,76 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
68,
3,
92
] | 85 | [
"92-68=24",
"3*24=72",
"13+72=85"
] | Current State: 85:[13, 68, 3, 92], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [13, 3, 24]
Generated Node #2: [13, 3, 24] from Operation: 92-68=24
Current State: 85:[13, 3, 24], Operations: ['92-68=24']
Exploring Operation: 3*24=72, Resulting Numbers: [13, 72]
Generated Node #3: [13, 72] from Operation: 3*24=72
Current State: 85:[13, 72], Operations: ['92-68=24', '3*24=72']
Exploring Operation: 13+72=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[13, 68, 3, 92], Operations: []
Exploring Operation: 13+68=81, Resulting Numbers: [3, 92, 81]
Generated Node #0,0: 85:[3, 92, 81] Operation: 13+68=81
Exploring Operation: 92-68=24, Resulting Numbers: [13, 3, 24]
Generated Node #0,1: 85:[13, 3, 24] Operation: 92-68=24
Exploring Operation: 13+3=16, Resulting Numbers: [68, 92, 16]
Generated Node #0,2: 85:[68, 92, 16] Operation: 13+3=16
Moving to Node #0,0
Current State: 85:[3, 92, 81], Operations: ['13+68=81']
Exploring Operation: 92-3=89, Resulting Numbers: [81, 89]
Generated Node #0,0,0: 85:[81, 89] Operation: 92-3=89
Exploring Operation: 3+81=84, Resulting Numbers: [92, 84]
Generated Node #0,0,1: 85:[92, 84] Operation: 3+81=84
Exploring Operation: 92-81=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 85:[3, 11] Operation: 92-81=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[81, 89], Operations: ['13+68=81', '92-3=89']
Exploring Operation: 81*89=7209, Resulting Numbers: [7209]
7209,85 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 81+89=170, Resulting Numbers: [170]
170,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[92, 84], Operations: ['13+68=81', '3+81=84']
Exploring Operation: 92*84=7728, Resulting Numbers: [7728]
7728,85 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 92+84=176, Resulting Numbers: [176]
176,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[3, 11], Operations: ['13+68=81', '92-81=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[13, 3, 24], Operations: ['92-68=24']
Exploring Operation: 24-13=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 85:[3, 11] Operation: 24-13=11
Exploring Operation: 13+3=16, Resulting Numbers: [24, 16]
Generated Node #0,1,1: 85:[24, 16] Operation: 13+3=16
Exploring Operation: 24/3=8, Resulting Numbers: [13, 8]
Generated Node #0,1,2: 85:[13, 8] Operation: 24/3=8
Moving to Node #0,2
Current State: 85:[68, 92, 16], Operations: ['13+3=16']
Exploring Operation: 92-16=76, Resulting Numbers: [68, 76]
Generated Node #0,2,0: 85:[68, 76] Operation: 92-16=76
Exploring Operation: 92-68=24, Resulting Numbers: [16, 24]
Generated Node #0,2,1: 85:[16, 24] Operation: 92-68=24
Exploring Operation: 68+16=84, Resulting Numbers: [92, 84]
Generated Node #0,2,2: 85:[92, 84] Operation: 68+16=84
Moving to Node #0,1,2
Current State: 85:[13, 8], Operations: ['92-68=24', '24/3=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[24, 16], Operations: ['92-68=24', '13+3=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[3, 11], Operations: ['92-68=24', '24-13=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[16, 24], Operations: ['13+3=16', '92-68=24']
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,85 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[92, 84], Operations: ['13+3=16', '68+16=84']
Exploring Operation: 92*84=7728, Resulting Numbers: [7728]
7728,85 unequal: No Solution
Exploring Operation: 92+84=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[68, 76], Operations: ['13+3=16', '92-16=76']
Exploring Operation: 68*76=5168, Resulting Numbers: [5168]
5168,85 unequal: No Solution
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 68+76=144, Resulting Numbers: [144]
144,85 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
98,
1,
95
] | 99 | [
"34-1=33",
"98-95=3",
"33*3=99"
] | Current State: 99:[34, 98, 1, 95], Operations: []
Exploring Operation: 34-1=33, Resulting Numbers: [98, 95, 33]
Generated Node #2: [98, 95, 33] from Operation: 34-1=33
Current State: 99:[98, 95, 33], Operations: ['34-1=33']
Exploring Operation: 98-95=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 98-95=3
Current State: 99:[33, 3], Operations: ['34-1=33', '98-95=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[34, 98, 1, 95], Operations: []
Exploring Operation: 34-1=33, Resulting Numbers: [98, 95, 33]
Generated Node #0,0: 99:[98, 95, 33] Operation: 34-1=33
Exploring Operation: 98-95=3, Resulting Numbers: [34, 1, 3]
Generated Node #0,1: 99:[34, 1, 3] Operation: 98-95=3
Moving to Node #0,1
Current State: 99:[34, 1, 3], Operations: ['98-95=3']
Exploring Operation: 34*1=34, Resulting Numbers: [3, 34]
Generated Node #0,1,0: 99:[3, 34] Operation: 34*1=34
Exploring Operation: 34-1=33, Resulting Numbers: [3, 33]
Generated Node #0,1,1: 99:[3, 33] Operation: 34-1=33
Moving to Node #0,0
Current State: 99:[98, 95, 33], Operations: ['34-1=33']
Exploring Operation: 95+33=128, Resulting Numbers: [98, 128]
Generated Node #0,0,0: 99:[98, 128] Operation: 95+33=128
Exploring Operation: 98-95=3, Resulting Numbers: [33, 3]
Generated Node #0,0,1: 99:[33, 3] Operation: 98-95=3
Moving to Node #0,1,1
Current State: 99:[3, 33], Operations: ['98-95=3', '34-1=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[34, 98, 1, 95], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [34, 1, 3]
Generated Node #0,1: 99:[34, 1, 3] Operation: 98-95=3
Moving to Node #0,1
Current State: 99:[34, 1, 3], Operations: ['98-95=3']
Exploring Operation: 34-1=33, Resulting Numbers: [3, 33]
Generated Node #0,1,1: 99:[3, 33] Operation: 34-1=33
Moving to Node #0,1,1
Current State: 99:[3, 33], Operations: ['98-95=3', '34-1=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
28,
2,
19,
84
] | 24 | [
"84/28=3",
"2+19=21",
"3+21=24"
] | Current State: 24:[28, 2, 19, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [2, 19, 3]
Generated Node #2: [2, 19, 3] from Operation: 84/28=3
Current State: 24:[2, 19, 3], Operations: ['84/28=3']
Exploring Operation: 2+19=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 2+19=21
Current State: 24:[3, 21], Operations: ['84/28=3', '2+19=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[28, 2, 19, 84], Operations: []
Exploring Operation: 84-19=65, Resulting Numbers: [28, 2, 65]
Generated Node #0,0: 24:[28, 2, 65] Operation: 84-19=65
Exploring Operation: 84/2=42, Resulting Numbers: [28, 19, 42]
Generated Node #0,1: 24:[28, 19, 42] Operation: 84/2=42
Exploring Operation: 84-28=56, Resulting Numbers: [2, 19, 56]
Generated Node #0,2: 24:[2, 19, 56] Operation: 84-28=56
Exploring Operation: 84/28=3, Resulting Numbers: [2, 19, 3]
Generated Node #0,3: 24:[2, 19, 3] Operation: 84/28=3
Moving to Node #0,3
Current State: 24:[2, 19, 3], Operations: ['84/28=3']
Exploring Operation: 19-3=16, Resulting Numbers: [2, 16]
Generated Node #0,3,0: 24:[2, 16] Operation: 19-3=16
Exploring Operation: 19+3=22, Resulting Numbers: [2, 22]
Generated Node #0,3,1: 24:[2, 22] Operation: 19+3=22
Exploring Operation: 19-2=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 24:[3, 17] Operation: 19-2=17
Exploring Operation: 2+19=21, Resulting Numbers: [3, 21]
Generated Node #0,3,3: 24:[3, 21] Operation: 2+19=21
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[2, 22], Operations: ['84/28=3', '19+3=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[28, 2, 19, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [2, 19, 3]
Generated Node #0,3: 24:[2, 19, 3] Operation: 84/28=3
Moving to Node #0,3
Current State: 24:[2, 19, 3], Operations: ['84/28=3']
Exploring Operation: 19+3=22, Resulting Numbers: [2, 22]
Generated Node #0,3,1: 24:[2, 22] Operation: 19+3=22
Moving to Node #0,3,1
Current State: 24:[2, 22], Operations: ['84/28=3', '19+3=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
1,
98,
3,
10
] | 27 | [
"1+3=4",
"98+10=108",
"108/4=27"
] | Current State: 27:[1, 98, 3, 10], Operations: []
Exploring Operation: 1+3=4, Resulting Numbers: [98, 10, 4]
Generated Node #2: [98, 10, 4] from Operation: 1+3=4
Current State: 27:[98, 10, 4], Operations: ['1+3=4']
Exploring Operation: 98+10=108, Resulting Numbers: [4, 108]
Generated Node #3: [4, 108] from Operation: 98+10=108
Current State: 27:[4, 108], Operations: ['1+3=4', '98+10=108']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[1, 98, 3, 10], Operations: []
Exploring Operation: 98-10=88, Resulting Numbers: [1, 3, 88]
Generated Node #0,0: 27:[1, 3, 88] Operation: 98-10=88
Exploring Operation: 10-1=9, Resulting Numbers: [98, 3, 9]
Generated Node #0,1: 27:[98, 3, 9] Operation: 10-1=9
Exploring Operation: 1*98=98, Resulting Numbers: [3, 10, 98]
Generated Node #0,2: 27:[3, 10, 98] Operation: 1*98=98
Exploring Operation: 98-1=97, Resulting Numbers: [3, 10, 97]
Generated Node #0,3: 27:[3, 10, 97] Operation: 98-1=97
Exploring Operation: 98-3=95, Resulting Numbers: [1, 10, 95]
Generated Node #0,4: 27:[1, 10, 95] Operation: 98-3=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[1, 3, 88], Operations: ['98-10=88']
Exploring Operation: 1*3=3, Resulting Numbers: [88, 3]
Generated Node #0,0,0: 27:[88, 3] Operation: 1*3=3
Exploring Operation: 1*88=88, Resulting Numbers: [3, 88]
Generated Node #0,0,1: 27:[3, 88] Operation: 1*88=88
Exploring Operation: 88-3=85, Resulting Numbers: [1, 85]
Generated Node #0,0,2: 27:[1, 85] Operation: 88-3=85
Exploring Operation: 3/1=3, Resulting Numbers: [88, 3]
Generated Node #0,0,3: 27:[88, 3] Operation: 3/1=3
Exploring Operation: 88-1=87, Resulting Numbers: [3, 87]
Generated Node #0,0,4: 27:[3, 87] Operation: 88-1=87
Moving to Node #0,0,2
Current State: 27:[1, 85], Operations: ['98-10=88', '88-3=85']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Moving to Node #0,0,4
Current State: 27:[3, 87], Operations: ['98-10=88', '88-1=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,27 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[88, 3], Operations: ['98-10=88', '1*3=3']
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,27 unequal: No Solution
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[3, 88], Operations: ['98-10=88', '1*88=88']
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,27 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[88, 3], Operations: ['98-10=88', '3/1=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,27 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[98, 3, 9], Operations: ['10-1=9']
Exploring Operation: 9/3=3, Resulting Numbers: [98, 3]
Generated Node #0,1,0: 27:[98, 3] Operation: 9/3=3
Exploring Operation: 98-9=89, Resulting Numbers: [3, 89]
Generated Node #0,1,1: 27:[3, 89] Operation: 98-9=89
Exploring Operation: 3*9=27, Resulting Numbers: [98, 27]
Generated Node #0,1,2: 27:[98, 27] Operation: 3*9=27
Exploring Operation: 98-3=95, Resulting Numbers: [9, 95]
Generated Node #0,1,3: 27:[9, 95] Operation: 98-3=95
Exploring Operation: 98+3=101, Resulting Numbers: [9, 101]
Generated Node #0,1,4: 27:[9, 101] Operation: 98+3=101
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[3, 89], Operations: ['10-1=9', '98-9=89']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 3+89=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Exploring Operation: 3*89=267, Resulting Numbers: [267]
267,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 27:[9, 95], Operations: ['10-1=9', '98-3=95']
Exploring Operation: 9+95=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 9*95=855, Resulting Numbers: [855]
855,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[98, 3], Operations: ['10-1=9', '9/3=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,27 unequal: No Solution
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,27 unequal: No Solution
Exploring Operation: 98*3=294, Resulting Numbers: [294]
294,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[98, 27], Operations: ['10-1=9', '3*9=27']
Exploring Operation: 98*27=2646, Resulting Numbers: [2646]
2646,27 unequal: No Solution
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,27 unequal: No Solution
Exploring Operation: 98+27=125, Resulting Numbers: [125]
125,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 27:[9, 101], Operations: ['10-1=9', '98+3=101']
Exploring Operation: 9*101=909, Resulting Numbers: [909]
909,27 unequal: No Solution
Exploring Operation: 101-9=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Exploring Operation: 9+101=110, Resulting Numbers: [110]
110,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[3, 10, 97], Operations: ['98-1=97']
Exploring Operation: 3+10=13, Resulting Numbers: [97, 13]
Generated Node #0,3,0: 27:[97, 13] Operation: 3+10=13
Exploring Operation: 3*10=30, Resulting Numbers: [97, 30]
Generated Node #0,3,1: 27:[97, 30] Operation: 3*10=30
Exploring Operation: 10-3=7, Resulting Numbers: [97, 7]
Generated Node #0,3,2: 27:[97, 7] Operation: 10-3=7
Exploring Operation: 97-10=87, Resulting Numbers: [3, 87]
Generated Node #0,3,3: 27:[3, 87] Operation: 97-10=87
Exploring Operation: 97-3=94, Resulting Numbers: [10, 94]
Generated Node #0,3,4: 27:[10, 94] Operation: 97-3=94
Moving to Node #0,3,3
Current State: 27:[3, 87], Operations: ['98-1=97', '97-10=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,27 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[10, 94], Operations: ['98-1=97', '97-3=94']
Exploring Operation: 10+94=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 10*94=940, Resulting Numbers: [940]
940,27 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[97, 7], Operations: ['98-1=97', '10-3=7']
Exploring Operation: 97*7=679, Resulting Numbers: [679]
679,27 unequal: No Solution
Exploring Operation: 97+7=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[97, 30], Operations: ['98-1=97', '3*10=30']
Exploring Operation: 97+30=127, Resulting Numbers: [127]
127,27 unequal: No Solution
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 97*30=2910, Resulting Numbers: [2910]
2910,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[97, 13], Operations: ['98-1=97', '3+10=13']
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,27 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[1, 10, 95], Operations: ['98-3=95']
Exploring Operation: 95-1=94, Resulting Numbers: [10, 94]
Generated Node #0,4,0: 27:[10, 94] Operation: 95-1=94
Exploring Operation: 1*10=10, Resulting Numbers: [95, 10]
Generated Node #0,4,1: 27:[95, 10] Operation: 1*10=10
Exploring Operation: 10/1=10, Resulting Numbers: [95, 10]
Generated Node #0,4,2: 27:[95, 10] Operation: 10/1=10
Exploring Operation: 10-1=9, Resulting Numbers: [95, 9]
Generated Node #0,4,3: 27:[95, 9] Operation: 10-1=9
Exploring Operation: 95-10=85, Resulting Numbers: [1, 85]
Generated Node #0,4,4: 27:[1, 85] Operation: 95-10=85
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 27:[1, 85], Operations: ['98-3=95', '95-10=85']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 27:[10, 94], Operations: ['98-3=95', '95-1=94']
Exploring Operation: 10*94=940, Resulting Numbers: [940]
940,27 unequal: No Solution
Exploring Operation: 10+94=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 27:[95, 9], Operations: ['98-3=95', '10-1=9']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,27 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 27:[95, 10], Operations: ['98-3=95', '1*10=10']
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 27:[95, 10], Operations: ['98-3=95', '10/1=10']
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,27 unequal: No Solution
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[3, 10, 98], Operations: ['1*98=98']
Exploring Operation: 3+10=13, Resulting Numbers: [98, 13]
Generated Node #0,2,0: 27:[98, 13] Operation: 3+10=13
Exploring Operation: 98-3=95, Resulting Numbers: [10, 95]
Generated Node #0,2,1: 27:[10, 95] Operation: 98-3=95
Exploring Operation: 3*10=30, Resulting Numbers: [98, 30]
Generated Node #0,2,2: 27:[98, 30] Operation: 3*10=30
Exploring Operation: 98-10=88, Resulting Numbers: [3, 88]
Generated Node #0,2,3: 27:[3, 88] Operation: 98-10=88
Exploring Operation: 10-3=7, Resulting Numbers: [98, 7]
Generated Node #0,2,4: 27:[98, 7] Operation: 10-3=7
Moving to Node #0,2,3
Current State: 27:[3, 88], Operations: ['1*98=98', '98-10=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,27 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[10, 95], Operations: ['1*98=98', '98-3=95']
Exploring Operation: 10*95=950, Resulting Numbers: [950]
950,27 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 10+95=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[98, 7], Operations: ['1*98=98', '10-3=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,27 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[98, 30], Operations: ['1*98=98', '3*10=30']
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,27 unequal: No Solution
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,27 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[98, 13], Operations: ['1*98=98', '3+10=13']
Exploring Operation: 98+13=111, Resulting Numbers: [111]
111,27 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 98*13=1274, Resulting Numbers: [1274]
1274,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
65,
19,
11,
2
] | 95 | [
"65*19=1235",
"11+2=13",
"1235/13=95"
] | Current State: 95:[65, 19, 11, 2], Operations: []
Exploring Operation: 65*19=1235, Resulting Numbers: [11, 2, 1235]
Generated Node #2: [11, 2, 1235] from Operation: 65*19=1235
Current State: 95:[11, 2, 1235], Operations: ['65*19=1235']
Exploring Operation: 11+2=13, Resulting Numbers: [1235, 13]
Generated Node #3: [1235, 13] from Operation: 11+2=13
Current State: 95:[1235, 13], Operations: ['65*19=1235', '11+2=13']
Exploring Operation: 1235/13=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[65, 19, 11, 2], Operations: []
Exploring Operation: 65+11=76, Resulting Numbers: [19, 2, 76]
Generated Node #0,0: 95:[19, 2, 76] Operation: 65+11=76
Exploring Operation: 11*2=22, Resulting Numbers: [65, 19, 22]
Generated Node #0,1: 95:[65, 19, 22] Operation: 11*2=22
Exploring Operation: 65+19=84, Resulting Numbers: [11, 2, 84]
Generated Node #0,2: 95:[11, 2, 84] Operation: 65+19=84
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[11, 2, 84], Operations: ['65+19=84']
Exploring Operation: 11-2=9, Resulting Numbers: [84, 9]
Generated Node #0,2,0: 95:[84, 9] Operation: 11-2=9
Exploring Operation: 11*2=22, Resulting Numbers: [84, 22]
Generated Node #0,2,1: 95:[84, 22] Operation: 11*2=22
Exploring Operation: 11+84=95, Resulting Numbers: [2, 95]
Generated Node #0,2,2: 95:[2, 95] Operation: 11+84=95
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[2, 95], Operations: ['65+19=84', '11+84=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,95 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[84, 22], Operations: ['65+19=84', '11*2=22']
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,95 unequal: No Solution
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[84, 9], Operations: ['65+19=84', '11-2=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,95 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[19, 2, 76], Operations: ['65+11=76']
Exploring Operation: 2+76=78, Resulting Numbers: [19, 78]
Generated Node #0,0,0: 95:[19, 78] Operation: 2+76=78
Exploring Operation: 76/19=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 95:[2, 4] Operation: 76/19=4
Exploring Operation: 19+76=95, Resulting Numbers: [2, 95]
Generated Node #0,0,2: 95:[2, 95] Operation: 19+76=95
Moving to Node #0,0,2
Current State: 95:[2, 95], Operations: ['65+11=76', '19+76=95']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[2, 4], Operations: ['65+11=76', '76/19=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[19, 78], Operations: ['65+11=76', '2+76=78']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[65, 19, 22], Operations: ['11*2=22']
Exploring Operation: 65+19=84, Resulting Numbers: [22, 84]
Generated Node #0,1,0: 95:[22, 84] Operation: 65+19=84
Exploring Operation: 65-22=43, Resulting Numbers: [19, 43]
Generated Node #0,1,1: 95:[19, 43] Operation: 65-22=43
Exploring Operation: 65+22=87, Resulting Numbers: [19, 87]
Generated Node #0,1,2: 95:[19, 87] Operation: 65+22=87
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[19, 87], Operations: ['11*2=22', '65+22=87']
Exploring Operation: 19*87=1653, Resulting Numbers: [1653]
1653,95 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 19+87=106, Resulting Numbers: [106]
106,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[22, 84], Operations: ['11*2=22', '65+19=84']
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[19, 43], Operations: ['11*2=22', '65-22=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
34,
78,
84
] | 84 | [
"44+34=78",
"78+84=162",
"162-78=84"
] | Current State: 84:[44, 34, 78, 84], Operations: []
Exploring Operation: 44+34=78, Resulting Numbers: [78, 84, 78]
Generated Node #2: [78, 84, 78] from Operation: 44+34=78
Current State: 84:[78, 84, 78], Operations: ['44+34=78']
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,84 equal: Goal Reached
Exploring Operation: 162-78=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[44, 34, 78, 84], Operations: []
Exploring Operation: 78-34=44, Resulting Numbers: [44, 84, 44]
Generated Node #0,0: 84:[44, 84, 44] Operation: 78-34=44
Moving to Node #0,0
Current State: 84:[44, 84, 44], Operations: ['78-34=44']
Exploring Operation: 44/44=1, Resulting Numbers: [84, 1]
Generated Node #0,0,0: 84:[84, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 84:[84, 1], Operations: ['78-34=44', '44/44=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[44, 34, 78, 84], Operations: []
Exploring Operation: 78-34=44, Resulting Numbers: [44, 84, 44]
Generated Node #0,0: 84:[44, 84, 44] Operation: 78-34=44
Moving to Node #0,0
Current State: 84:[44, 84, 44], Operations: ['78-34=44']
Exploring Operation: 44/44=1, Resulting Numbers: [84, 1]
Generated Node #0,0,0: 84:[84, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 84:[84, 1], Operations: ['78-34=44', '44/44=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
53,
97,
24,
11
] | 28 | [
"97-53=44",
"44/11=4",
"24+4=28"
] | Current State: 28:[53, 97, 24, 11], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [24, 11, 44]
Generated Node #2: [24, 11, 44] from Operation: 97-53=44
Current State: 28:[24, 11, 44], Operations: ['97-53=44']
Exploring Operation: 44/11=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 44/11=4
Current State: 28:[24, 4], Operations: ['97-53=44', '44/11=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[53, 97, 24, 11], Operations: []
Exploring Operation: 97-24=73, Resulting Numbers: [53, 11, 73]
Generated Node #0,0: 28:[53, 11, 73] Operation: 97-24=73
Exploring Operation: 97-53=44, Resulting Numbers: [24, 11, 44]
Generated Node #0,1: 28:[24, 11, 44] Operation: 97-53=44
Exploring Operation: 53-11=42, Resulting Numbers: [97, 24, 42]
Generated Node #0,2: 28:[97, 24, 42] Operation: 53-11=42
Exploring Operation: 53-24=29, Resulting Numbers: [97, 11, 29]
Generated Node #0,3: 28:[97, 11, 29] Operation: 53-24=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[24, 11, 44], Operations: ['97-53=44']
Exploring Operation: 44-24=20, Resulting Numbers: [11, 20]
Generated Node #0,1,0: 28:[11, 20] Operation: 44-24=20
Exploring Operation: 24-11=13, Resulting Numbers: [44, 13]
Generated Node #0,1,1: 28:[44, 13] Operation: 24-11=13
Exploring Operation: 44-11=33, Resulting Numbers: [24, 33]
Generated Node #0,1,2: 28:[24, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [24, 4]
Generated Node #0,1,3: 28:[24, 4] Operation: 44/11=4
Moving to Node #0,1,3
Current State: 28:[24, 4], Operations: ['97-53=44', '44/11=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[53, 97, 24, 11], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [24, 11, 44]
Generated Node #0,1: 28:[24, 11, 44] Operation: 97-53=44
Moving to Node #0,1
Current State: 28:[24, 11, 44], Operations: ['97-53=44']
Exploring Operation: 44/11=4, Resulting Numbers: [24, 4]
Generated Node #0,1,3: 28:[24, 4] Operation: 44/11=4
Moving to Node #0,1,3
Current State: 28:[24, 4], Operations: ['97-53=44', '44/11=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
44,
16,
1,
12
] | 64 | [
"44*16=704",
"12-1=11",
"704/11=64"
] | Current State: 64:[44, 16, 1, 12], Operations: []
Exploring Operation: 44*16=704, Resulting Numbers: [1, 12, 704]
Generated Node #2: [1, 12, 704] from Operation: 44*16=704
Current State: 64:[1, 12, 704], Operations: ['44*16=704']
Exploring Operation: 12-1=11, Resulting Numbers: [704, 11]
Generated Node #3: [704, 11] from Operation: 12-1=11
Current State: 64:[704, 11], Operations: ['44*16=704', '12-1=11']
Exploring Operation: 704/11=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[44, 16, 1, 12], Operations: []
Exploring Operation: 44+12=56, Resulting Numbers: [16, 1, 56]
Generated Node #0,0: 64:[16, 1, 56] Operation: 44+12=56
Exploring Operation: 44-12=32, Resulting Numbers: [16, 1, 32]
Generated Node #0,1: 64:[16, 1, 32] Operation: 44-12=32
Exploring Operation: 44+16=60, Resulting Numbers: [1, 12, 60]
Generated Node #0,2: 64:[1, 12, 60] Operation: 44+16=60
Exploring Operation: 44-16=28, Resulting Numbers: [1, 12, 28]
Generated Node #0,3: 64:[1, 12, 28] Operation: 44-16=28
Moving to Node #0,1
Current State: 64:[16, 1, 32], Operations: ['44-12=32']
Exploring Operation: 16/1=16, Resulting Numbers: [32, 16]
Generated Node #0,1,0: 64:[32, 16] Operation: 16/1=16
Exploring Operation: 1*32=32, Resulting Numbers: [16, 32]
Generated Node #0,1,1: 64:[16, 32] Operation: 1*32=32
Exploring Operation: 32/1=32, Resulting Numbers: [16, 32]
Generated Node #0,1,2: 64:[16, 32] Operation: 32/1=32
Exploring Operation: 16*1=16, Resulting Numbers: [32, 16]
Generated Node #0,1,3: 64:[32, 16] Operation: 16*1=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[32, 16], Operations: ['44-12=32', '16/1=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,64 unequal: No Solution
Exploring Operation: 32+16=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,1,1
Current State: 64:[16, 32], Operations: ['44-12=32', '1*32=32']
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,64 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 16+32=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,1,2
Current State: 64:[16, 32], Operations: ['44-12=32', '32/1=32']
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,64 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 16+32=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,1,3
Current State: 64:[32, 16], Operations: ['44-12=32', '16*1=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,64 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,64 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: 64:[1, 12, 60], Operations: ['44+16=60']
Exploring Operation: 12-1=11, Resulting Numbers: [60, 11]
Generated Node #0,2,0: 64:[60, 11] Operation: 12-1=11
Exploring Operation: 60/12=5, Resulting Numbers: [1, 5]
Generated Node #0,2,1: 64:[1, 5] Operation: 60/12=5
Exploring Operation: 1+60=61, Resulting Numbers: [12, 61]
Generated Node #0,2,2: 64:[12, 61] Operation: 1+60=61
Exploring Operation: 1+12=13, Resulting Numbers: [60, 13]
Generated Node #0,2,3: 64:[60, 13] Operation: 1+12=13
Moving to Node #0,0
Current State: 64:[16, 1, 56], Operations: ['44+12=56']
Exploring Operation: 1*56=56, Resulting Numbers: [16, 56]
Generated Node #0,0,0: 64:[16, 56] Operation: 1*56=56
Exploring Operation: 1+56=57, Resulting Numbers: [16, 57]
Generated Node #0,0,1: 64:[16, 57] Operation: 1+56=57
Exploring Operation: 16*1=16, Resulting Numbers: [56, 16]
Generated Node #0,0,2: 64:[56, 16] Operation: 16*1=16
Exploring Operation: 16/1=16, Resulting Numbers: [56, 16]
Generated Node #0,0,3: 64:[56, 16] Operation: 16/1=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[16, 57], Operations: ['44+12=56', '1+56=57']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,64 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[16, 56], Operations: ['44+12=56', '1*56=56']
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,64 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 16+56=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,0,2
Current State: 64:[56, 16], Operations: ['44+12=56', '16*1=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[56, 16], Operations: ['44+12=56', '16/1=16']
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,64 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,64 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: 64:[1, 12, 28], Operations: ['44-16=28']
Exploring Operation: 12-1=11, Resulting Numbers: [28, 11]
Generated Node #0,3,0: 64:[28, 11] Operation: 12-1=11
Exploring Operation: 1+12=13, Resulting Numbers: [28, 13]
Generated Node #0,3,1: 64:[28, 13] Operation: 1+12=13
Exploring Operation: 1+28=29, Resulting Numbers: [12, 29]
Generated Node #0,3,2: 64:[12, 29] Operation: 1+28=29
Exploring Operation: 28-12=16, Resulting Numbers: [1, 16]
Generated Node #0,3,3: 64:[1, 16] Operation: 28-12=16
Moving to Node #0,3,3
Current State: 64:[1, 16], Operations: ['44-16=28', '28-12=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[1, 5], Operations: ['44+16=60', '60/12=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[12, 61], Operations: ['44+16=60', '1+60=61']
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,64 unequal: No Solution
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[28, 11], Operations: ['44-16=28', '12-1=11']
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,64 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[28, 13], Operations: ['44-16=28', '1+12=13']
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,64 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[12, 29], Operations: ['44-16=28', '1+28=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,64 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[60, 11], Operations: ['44+16=60', '12-1=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,64 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[60, 13], Operations: ['44+16=60', '1+12=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,64 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
48,
37,
86
] | 51 | [
"25+86=111",
"111/37=3",
"48+3=51"
] | Current State: 51:[25, 48, 37, 86], Operations: []
Exploring Operation: 25+86=111, Resulting Numbers: [48, 37, 111]
Generated Node #2: [48, 37, 111] from Operation: 25+86=111
Current State: 51:[48, 37, 111], Operations: ['25+86=111']
Exploring Operation: 111/37=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 111/37=3
Current State: 51:[48, 3], Operations: ['25+86=111', '111/37=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[25, 48, 37, 86], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [48, 86, 12]
Generated Node #0,0: 51:[48, 86, 12] Operation: 37-25=12
Exploring Operation: 86-37=49, Resulting Numbers: [25, 48, 49]
Generated Node #0,1: 51:[25, 48, 49] Operation: 86-37=49
Exploring Operation: 86-48=38, Resulting Numbers: [25, 37, 38]
Generated Node #0,2: 51:[25, 37, 38] Operation: 86-48=38
Exploring Operation: 86-25=61, Resulting Numbers: [48, 37, 61]
Generated Node #0,3: 51:[48, 37, 61] Operation: 86-25=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[25, 48, 49], Operations: ['86-37=49']
Exploring Operation: 48-25=23, Resulting Numbers: [49, 23]
Generated Node #0,1,0: 51:[49, 23] Operation: 48-25=23
Exploring Operation: 49-25=24, Resulting Numbers: [48, 24]
Generated Node #0,1,1: 51:[48, 24] Operation: 49-25=24
Exploring Operation: 25+48=73, Resulting Numbers: [49, 73]
Generated Node #0,1,2: 51:[49, 73] Operation: 25+48=73
Exploring Operation: 49-48=1, Resulting Numbers: [25, 1]
Generated Node #0,1,3: 51:[25, 1] Operation: 49-48=1
Moving to Node #0,1,0
Current State: 51:[49, 23], Operations: ['86-37=49', '48-25=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,51 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[25, 1], Operations: ['86-37=49', '49-48=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[48, 24], Operations: ['86-37=49', '49-25=24']
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,51 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[49, 73], Operations: ['86-37=49', '25+48=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[48, 37, 61], Operations: ['86-25=61']
Exploring Operation: 61-37=24, Resulting Numbers: [48, 24]
Generated Node #0,3,0: 51:[48, 24] Operation: 61-37=24
Exploring Operation: 48+37=85, Resulting Numbers: [61, 85]
Generated Node #0,3,1: 51:[61, 85] Operation: 48+37=85
Exploring Operation: 48-37=11, Resulting Numbers: [61, 11]
Generated Node #0,3,2: 51:[61, 11] Operation: 48-37=11
Exploring Operation: 61-48=13, Resulting Numbers: [37, 13]
Generated Node #0,3,3: 51:[37, 13] Operation: 61-48=13
Moving to Node #0,3,0
Current State: 51:[48, 24], Operations: ['86-25=61', '61-37=24']
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[61, 11], Operations: ['86-25=61', '48-37=11']
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[37, 13], Operations: ['86-25=61', '61-48=13']
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,51 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[61, 85], Operations: ['86-25=61', '48+37=85']
Exploring Operation: 61+85=146, Resulting Numbers: [146]
146,51 unequal: No Solution
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 61*85=5185, Resulting Numbers: [5185]
5185,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[25, 37, 38], Operations: ['86-48=38']
Exploring Operation: 38-25=13, Resulting Numbers: [37, 13]
Generated Node #0,2,0: 51:[37, 13] Operation: 38-25=13
Exploring Operation: 25+37=62, Resulting Numbers: [38, 62]
Generated Node #0,2,1: 51:[38, 62] Operation: 25+37=62
Exploring Operation: 38-37=1, Resulting Numbers: [25, 1]
Generated Node #0,2,2: 51:[25, 1] Operation: 38-37=1
Exploring Operation: 37-25=12, Resulting Numbers: [38, 12]
Generated Node #0,2,3: 51:[38, 12] Operation: 37-25=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[25, 1], Operations: ['86-48=38', '38-37=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[37, 13], Operations: ['86-48=38', '38-25=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[38, 12], Operations: ['86-48=38', '37-25=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[38, 62], Operations: ['86-48=38', '25+37=62']
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,51 unequal: No Solution
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[48, 86, 12], Operations: ['37-25=12']
Exploring Operation: 86-12=74, Resulting Numbers: [48, 74]
Generated Node #0,0,0: 51:[48, 74] Operation: 86-12=74
Exploring Operation: 48/12=4, Resulting Numbers: [86, 4]
Generated Node #0,0,1: 51:[86, 4] Operation: 48/12=4
Exploring Operation: 86-48=38, Resulting Numbers: [12, 38]
Generated Node #0,0,2: 51:[12, 38] Operation: 86-48=38
Exploring Operation: 48+12=60, Resulting Numbers: [86, 60]
Generated Node #0,0,3: 51:[86, 60] Operation: 48+12=60
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[12, 38], Operations: ['37-25=12', '86-48=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[48, 74], Operations: ['37-25=12', '86-12=74']
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,51 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[86, 4], Operations: ['37-25=12', '48/12=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,51 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[86, 60], Operations: ['37-25=12', '48+12=60']
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 86+60=146, Resulting Numbers: [146]
146,51 unequal: No Solution
Exploring Operation: 86*60=5160, Resulting Numbers: [5160]
5160,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
62,
21,
73,
22
] | 69 | [
"62+22=84",
"84/21=4",
"73-4=69"
] | Current State: 69:[62, 21, 73, 22], Operations: []
Exploring Operation: 62+22=84, Resulting Numbers: [21, 73, 84]
Generated Node #2: [21, 73, 84] from Operation: 62+22=84
Current State: 69:[21, 73, 84], Operations: ['62+22=84']
Exploring Operation: 84/21=4, Resulting Numbers: [73, 4]
Generated Node #3: [73, 4] from Operation: 84/21=4
Current State: 69:[73, 4], Operations: ['62+22=84', '84/21=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[62, 21, 73, 22], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [21, 22, 11]
Generated Node #0,0: 69:[21, 22, 11] Operation: 73-62=11
Exploring Operation: 22-21=1, Resulting Numbers: [62, 73, 1]
Generated Node #0,1: 69:[62, 73, 1] Operation: 22-21=1
Exploring Operation: 62+21=83, Resulting Numbers: [73, 22, 83]
Generated Node #0,2: 69:[73, 22, 83] Operation: 62+21=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[21, 22, 11], Operations: ['73-62=11']
Exploring Operation: 21-11=10, Resulting Numbers: [22, 10]
Generated Node #0,0,0: 69:[22, 10] Operation: 21-11=10
Exploring Operation: 22-21=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 69:[11, 1] Operation: 22-21=1
Exploring Operation: 22/11=2, Resulting Numbers: [21, 2]
Generated Node #0,0,2: 69:[21, 2] Operation: 22/11=2
Moving to Node #0,0,2
Current State: 69:[21, 2], Operations: ['73-62=11', '22/11=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[22, 10], Operations: ['73-62=11', '21-11=10']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,69 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[11, 1], Operations: ['73-62=11', '22-21=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,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,1
Current State: 69:[62, 73, 1], Operations: ['22-21=1']
Exploring Operation: 62+1=63, Resulting Numbers: [73, 63]
Generated Node #0,1,0: 69:[73, 63] Operation: 62+1=63
Exploring Operation: 73-62=11, Resulting Numbers: [1, 11]
Generated Node #0,1,1: 69:[1, 11] Operation: 73-62=11
Exploring Operation: 73-1=72, Resulting Numbers: [62, 72]
Generated Node #0,1,2: 69:[62, 72] Operation: 73-1=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[73, 63], Operations: ['22-21=1', '62+1=63']
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,69 unequal: No Solution
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,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,1,1
Current State: 69:[1, 11], Operations: ['22-21=1', '73-62=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,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,1,2
Current State: 69:[62, 72], Operations: ['22-21=1', '73-1=72']
Exploring Operation: 62+72=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 62*72=4464, Resulting Numbers: [4464]
4464,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,2
Current State: 69:[73, 22, 83], Operations: ['62+21=83']
Exploring Operation: 73-22=51, Resulting Numbers: [83, 51]
Generated Node #0,2,0: 69:[83, 51] Operation: 73-22=51
Exploring Operation: 83-73=10, Resulting Numbers: [22, 10]
Generated Node #0,2,1: 69:[22, 10] Operation: 83-73=10
Exploring Operation: 83-22=61, Resulting Numbers: [73, 61]
Generated Node #0,2,2: 69:[73, 61] Operation: 83-22=61
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[22, 10], Operations: ['62+21=83', '83-73=10']
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,69 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[73, 61], Operations: ['62+21=83', '83-22=61']
Exploring Operation: 73+61=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 73*61=4453, Resulting Numbers: [4453]
4453,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[83, 51], Operations: ['62+21=83', '73-22=51']
Exploring Operation: 83+51=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 83*51=4233, Resulting Numbers: [4233]
4233,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
33,
79,
93,
6
] | 89 | [
"93-33=60",
"60/6=10",
"79+10=89"
] | Current State: 89:[33, 79, 93, 6], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [79, 6, 60]
Generated Node #2: [79, 6, 60] from Operation: 93-33=60
Current State: 89:[79, 6, 60], Operations: ['93-33=60']
Exploring Operation: 60/6=10, Resulting Numbers: [79, 10]
Generated Node #3: [79, 10] from Operation: 60/6=10
Current State: 89:[79, 10], Operations: ['93-33=60', '60/6=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[33, 79, 93, 6], Operations: []
Exploring Operation: 79+6=85, Resulting Numbers: [33, 93, 85]
Generated Node #0,0: 89:[33, 93, 85] Operation: 79+6=85
Exploring Operation: 33+6=39, Resulting Numbers: [79, 93, 39]
Generated Node #0,1: 89:[79, 93, 39] Operation: 33+6=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[33, 93, 85], Operations: ['79+6=85']
Exploring Operation: 33+85=118, Resulting Numbers: [93, 118]
Generated Node #0,0,0: 89:[93, 118] Operation: 33+85=118
Exploring Operation: 93-33=60, Resulting Numbers: [85, 60]
Generated Node #0,0,1: 89:[85, 60] Operation: 93-33=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[93, 118], Operations: ['79+6=85', '33+85=118']
Exploring Operation: 118-93=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 93+118=211, Resulting Numbers: [211]
211,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[85, 60], Operations: ['79+6=85', '93-33=60']
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,89 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[79, 93, 39], Operations: ['33+6=39']
Exploring Operation: 93-39=54, Resulting Numbers: [79, 54]
Generated Node #0,1,0: 89:[79, 54] Operation: 93-39=54
Exploring Operation: 79+39=118, Resulting Numbers: [93, 118]
Generated Node #0,1,1: 89:[93, 118] Operation: 79+39=118
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[93, 118], Operations: ['33+6=39', '79+39=118']
Exploring Operation: 93+118=211, Resulting Numbers: [211]
211,89 unequal: No Solution
Exploring Operation: 118-93=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[79, 54], Operations: ['33+6=39', '93-39=54']
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
76,
75,
10
] | 99 | [
"76-42=34",
"75-10=65",
"34+65=99"
] | Current State: 99:[42, 76, 75, 10], Operations: []
Exploring Operation: 76-42=34, Resulting Numbers: [75, 10, 34]
Generated Node #2: [75, 10, 34] from Operation: 76-42=34
Current State: 99:[75, 10, 34], Operations: ['76-42=34']
Exploring Operation: 75-10=65, Resulting Numbers: [34, 65]
Generated Node #3: [34, 65] from Operation: 75-10=65
Current State: 99:[34, 65], Operations: ['76-42=34', '75-10=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[42, 76, 75, 10], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [42, 10, 1]
Generated Node #0,0: 99:[42, 10, 1] Operation: 76-75=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[42, 10, 1], Operations: ['76-75=1']
Exploring Operation: 42-10=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 99:[1, 32] Operation: 42-10=32
Moving to Node #0,0,0
Current State: 99:[1, 32], Operations: ['76-75=1', '42-10=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,99 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 |
[
90,
77,
9,
57
] | 21 | [
"90-57=33",
"77*9=693",
"693/33=21"
] | Current State: 21:[90, 77, 9, 57], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [77, 9, 33]
Generated Node #2: [77, 9, 33] from Operation: 90-57=33
Current State: 21:[77, 9, 33], Operations: ['90-57=33']
Exploring Operation: 77*9=693, Resulting Numbers: [33, 693]
Generated Node #3: [33, 693] from Operation: 77*9=693
Current State: 21:[33, 693], Operations: ['90-57=33', '77*9=693']
Exploring Operation: 693/33=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[90, 77, 9, 57], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [9, 57, 13]
Generated Node #0,0: 21:[9, 57, 13] Operation: 90-77=13
Exploring Operation: 90-57=33, Resulting Numbers: [77, 9, 33]
Generated Node #0,1: 21:[77, 9, 33] Operation: 90-57=33
Moving to Node #0,0
Current State: 21:[9, 57, 13], Operations: ['90-77=13']
Exploring Operation: 57-9=48, Resulting Numbers: [13, 48]
Generated Node #0,0,0: 21:[13, 48] Operation: 57-9=48
Exploring Operation: 57-13=44, Resulting Numbers: [9, 44]
Generated Node #0,0,1: 21:[9, 44] Operation: 57-13=44
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[9, 44], Operations: ['90-77=13', '57-13=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[13, 48], Operations: ['90-77=13', '57-9=48']
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 21:[77, 9, 33], Operations: ['90-57=33']
Exploring Operation: 77-9=68, Resulting Numbers: [33, 68]
Generated Node #0,1,0: 21:[33, 68] Operation: 77-9=68
Exploring Operation: 77-33=44, Resulting Numbers: [9, 44]
Generated Node #0,1,1: 21:[9, 44] Operation: 77-33=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[9, 44], Operations: ['90-57=33', '77-33=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[33, 68], Operations: ['90-57=33', '77-9=68']
Exploring Operation: 33+68=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,21 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 |
[
16,
86,
48,
56
] | 34 | [
"86-16=70",
"48+56=104",
"104-70=34"
] | Current State: 34:[16, 86, 48, 56], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [48, 56, 70]
Generated Node #2: [48, 56, 70] from Operation: 86-16=70
Current State: 34:[48, 56, 70], Operations: ['86-16=70']
Exploring Operation: 48+56=104, Resulting Numbers: [70, 104]
Generated Node #3: [70, 104] from Operation: 48+56=104
Current State: 34:[70, 104], Operations: ['86-16=70', '48+56=104']
Exploring Operation: 104-70=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[16, 86, 48, 56], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [16, 56, 38]
Generated Node #0,0: 34:[16, 56, 38] Operation: 86-48=38
Exploring Operation: 86-56=30, Resulting Numbers: [16, 48, 30]
Generated Node #0,1: 34:[16, 48, 30] Operation: 86-56=30
Moving to Node #0,1
Current State: 34:[16, 48, 30], Operations: ['86-56=30']
Exploring Operation: 48-30=18, Resulting Numbers: [16, 18]
Generated Node #0,1,0: 34:[16, 18] Operation: 48-30=18
Exploring Operation: 48/16=3, Resulting Numbers: [30, 3]
Generated Node #0,1,1: 34:[30, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[16, 18], Operations: ['86-56=30', '48-30=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[16, 86, 48, 56], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [16, 48, 30]
Generated Node #0,1: 34:[16, 48, 30] Operation: 86-56=30
Moving to Node #0,1
Current State: 34:[16, 48, 30], Operations: ['86-56=30']
Exploring Operation: 48-30=18, Resulting Numbers: [16, 18]
Generated Node #0,1,0: 34:[16, 18] Operation: 48-30=18
Moving to Node #0,1,0
Current State: 34:[16, 18], Operations: ['86-56=30', '48-30=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
88,
39,
75,
48
] | 75 | [
"88-39=49",
"49-48=1",
"75*1=75"
] | Current State: 75:[88, 39, 75, 48], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [75, 48, 49]
Generated Node #2: [75, 48, 49] from Operation: 88-39=49
Current State: 75:[75, 48, 49], Operations: ['88-39=49']
Exploring Operation: 49-48=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 49-48=1
Current State: 75:[75, 1], Operations: ['88-39=49', '49-48=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[88, 39, 75, 48], Operations: []
Exploring Operation: 39+48=87, Resulting Numbers: [88, 75, 87]
Generated Node #0,0: 75:[88, 75, 87] Operation: 39+48=87
Exploring Operation: 48-39=9, Resulting Numbers: [88, 75, 9]
Generated Node #0,1: 75:[88, 75, 9] Operation: 48-39=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[88, 75, 9], Operations: ['48-39=9']
Exploring Operation: 88-9=79, Resulting Numbers: [75, 79]
Generated Node #0,1,0: 75:[75, 79] Operation: 88-9=79
Exploring Operation: 88-75=13, Resulting Numbers: [9, 13]
Generated Node #0,1,1: 75:[9, 13] Operation: 88-75=13
Moving to Node #0,1,0
Current State: 75:[75, 79], Operations: ['48-39=9', '88-9=79']
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[9, 13], Operations: ['48-39=9', '88-75=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[88, 75, 87], Operations: ['39+48=87']
Exploring Operation: 88-87=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 75:[75, 1] Operation: 88-87=1
Exploring Operation: 88-75=13, Resulting Numbers: [87, 13]
Generated Node #0,0,1: 75:[87, 13] Operation: 88-75=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[75, 1], Operations: ['39+48=87', '88-87=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[88, 39, 75, 48], Operations: []
Exploring Operation: 39+48=87, Resulting Numbers: [88, 75, 87]
Generated Node #0,0: 75:[88, 75, 87] Operation: 39+48=87
Moving to Node #0,0
Current State: 75:[88, 75, 87], Operations: ['39+48=87']
Exploring Operation: 88-87=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 75:[75, 1] Operation: 88-87=1
Moving to Node #0,0,0
Current State: 75:[75, 1], Operations: ['39+48=87', '88-87=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
35,
20,
42,
56
] | 69 | [
"35+20=55",
"56-42=14",
"55+14=69"
] | Current State: 69:[35, 20, 42, 56], Operations: []
Exploring Operation: 35+20=55, Resulting Numbers: [42, 56, 55]
Generated Node #2: [42, 56, 55] from Operation: 35+20=55
Current State: 69:[42, 56, 55], Operations: ['35+20=55']
Exploring Operation: 56-42=14, Resulting Numbers: [55, 14]
Generated Node #3: [55, 14] from Operation: 56-42=14
Current State: 69:[55, 14], Operations: ['35+20=55', '56-42=14']
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[35, 20, 42, 56], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [20, 56, 7]
Generated Node #0,0: 69:[20, 56, 7] Operation: 42-35=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[20, 56, 7], Operations: ['42-35=7']
Exploring Operation: 56/7=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 69:[20, 8] Operation: 56/7=8
Moving to Node #0,0,0
Current State: 69:[20, 8], Operations: ['42-35=7', '56/7=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,69 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 |
[
44,
94,
31,
46
] | 16 | [
"46-44=2",
"94/2=47",
"47-31=16"
] | Current State: 16:[44, 94, 31, 46], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [94, 31, 2]
Generated Node #2: [94, 31, 2] from Operation: 46-44=2
Current State: 16:[94, 31, 2], Operations: ['46-44=2']
Exploring Operation: 94/2=47, Resulting Numbers: [31, 47]
Generated Node #3: [31, 47] from Operation: 94/2=47
Current State: 16:[31, 47], Operations: ['46-44=2', '94/2=47']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[44, 94, 31, 46], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [44, 31, 48]
Generated Node #0,0: 16:[44, 31, 48] Operation: 94-46=48
Moving to Node #0,0
Current State: 16:[44, 31, 48], Operations: ['94-46=48']
Exploring Operation: 48-44=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 16:[31, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[31, 4], Operations: ['94-46=48', '48-44=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
15,
21,
54
] | 68 | [
"15-8=7",
"21+54=75",
"75-7=68"
] | Current State: 68:[8, 15, 21, 54], Operations: []
Exploring Operation: 15-8=7, Resulting Numbers: [21, 54, 7]
Generated Node #2: [21, 54, 7] from Operation: 15-8=7
Current State: 68:[21, 54, 7], Operations: ['15-8=7']
Exploring Operation: 21+54=75, Resulting Numbers: [7, 75]
Generated Node #3: [7, 75] from Operation: 21+54=75
Current State: 68:[7, 75], Operations: ['15-8=7', '21+54=75']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[8, 15, 21, 54], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [8, 21, 39]
Generated Node #0,0: 68:[8, 21, 39] Operation: 54-15=39
Exploring Operation: 54-21=33, Resulting Numbers: [8, 15, 33]
Generated Node #0,1: 68:[8, 15, 33] Operation: 54-21=33
Exploring Operation: 8+54=62, Resulting Numbers: [15, 21, 62]
Generated Node #0,2: 68:[15, 21, 62] Operation: 8+54=62
Exploring Operation: 15+54=69, Resulting Numbers: [8, 21, 69]
Generated Node #0,3: 68:[8, 21, 69] Operation: 15+54=69
Moving to Node #0,1
Current State: 68:[8, 15, 33], Operations: ['54-21=33']
Exploring Operation: 8+33=41, Resulting Numbers: [15, 41]
Generated Node #0,1,0: 68:[15, 41] Operation: 8+33=41
Exploring Operation: 15-8=7, Resulting Numbers: [33, 7]
Generated Node #0,1,1: 68:[33, 7] Operation: 15-8=7
Exploring Operation: 8+15=23, Resulting Numbers: [33, 23]
Generated Node #0,1,2: 68:[33, 23] Operation: 8+15=23
Exploring Operation: 33-15=18, Resulting Numbers: [8, 18]
Generated Node #0,1,3: 68:[8, 18] Operation: 33-15=18
Moving to Node #0,3
Current State: 68:[8, 21, 69], Operations: ['15+54=69']
Exploring Operation: 21-8=13, Resulting Numbers: [69, 13]
Generated Node #0,3,0: 68:[69, 13] Operation: 21-8=13
Exploring Operation: 69-8=61, Resulting Numbers: [21, 61]
Generated Node #0,3,1: 68:[21, 61] Operation: 69-8=61
Exploring Operation: 8+69=77, Resulting Numbers: [21, 77]
Generated Node #0,3,2: 68:[21, 77] Operation: 8+69=77
Exploring Operation: 8+21=29, Resulting Numbers: [69, 29]
Generated Node #0,3,3: 68:[69, 29] Operation: 8+21=29
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[69, 13], Operations: ['15+54=69', '21-8=13']
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,68 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No 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: 68:[69, 29], Operations: ['15+54=69', '8+21=29']
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,68 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,68 unequal: No Solution
No 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: 68:[21, 61], Operations: ['15+54=69', '69-8=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,68 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,68 unequal: No Solution
No 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: 68:[21, 77], Operations: ['15+54=69', '8+69=77']
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 21*77=1617, Resulting Numbers: [1617]
1617,68 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: 68:[15, 21, 62], Operations: ['8+54=62']
Exploring Operation: 62-21=41, Resulting Numbers: [15, 41]
Generated Node #0,2,0: 68:[15, 41] Operation: 62-21=41
Exploring Operation: 15+21=36, Resulting Numbers: [62, 36]
Generated Node #0,2,1: 68:[62, 36] Operation: 15+21=36
Exploring Operation: 15+62=77, Resulting Numbers: [21, 77]
Generated Node #0,2,2: 68:[21, 77] Operation: 15+62=77
Exploring Operation: 21-15=6, Resulting Numbers: [62, 6]
Generated Node #0,2,3: 68:[62, 6] Operation: 21-15=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[62, 36], Operations: ['8+54=62', '15+21=36']
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,68 unequal: No Solution
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No 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: 68:[62, 6], Operations: ['8+54=62', '21-15=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,68 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[8, 15, 21, 54], Operations: []
Exploring Operation: 8+54=62, Resulting Numbers: [15, 21, 62]
Generated Node #0,2: 68:[15, 21, 62] Operation: 8+54=62
Moving to Node #0,2
Current State: 68:[15, 21, 62], Operations: ['8+54=62']
Exploring Operation: 21-15=6, Resulting Numbers: [62, 6]
Generated Node #0,2,3: 68:[62, 6] Operation: 21-15=6
Moving to Node #0,2,3
Current State: 68:[62, 6], Operations: ['8+54=62', '21-15=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
8,
12,
5,
73
] | 73 | [
"12-8=4",
"5-4=1",
"73*1=73"
] | Current State: 73:[8, 12, 5, 73], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [5, 73, 4]
Generated Node #2: [5, 73, 4] from Operation: 12-8=4
Current State: 73:[5, 73, 4], Operations: ['12-8=4']
Exploring Operation: 5-4=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 5-4=1
Current State: 73:[73, 1], Operations: ['12-8=4', '5-4=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[8, 12, 5, 73], Operations: []
Exploring Operation: 12*5=60, Resulting Numbers: [8, 73, 60]
Generated Node #0,0: 73:[8, 73, 60] Operation: 12*5=60
Exploring Operation: 8+12=20, Resulting Numbers: [5, 73, 20]
Generated Node #0,1: 73:[5, 73, 20] Operation: 8+12=20
Exploring Operation: 8*5=40, Resulting Numbers: [12, 73, 40]
Generated Node #0,2: 73:[12, 73, 40] Operation: 8*5=40
Exploring Operation: 8*12=96, Resulting Numbers: [5, 73, 96]
Generated Node #0,3: 73:[5, 73, 96] Operation: 8*12=96
Moving to Node #0,0
Current State: 73:[8, 73, 60], Operations: ['12*5=60']
Exploring Operation: 73-8=65, Resulting Numbers: [60, 65]
Generated Node #0,0,0: 73:[60, 65] Operation: 73-8=65
Exploring Operation: 8+73=81, Resulting Numbers: [60, 81]
Generated Node #0,0,1: 73:[60, 81] Operation: 8+73=81
Exploring Operation: 8+60=68, Resulting Numbers: [73, 68]
Generated Node #0,0,2: 73:[73, 68] Operation: 8+60=68
Exploring Operation: 60-8=52, Resulting Numbers: [73, 52]
Generated Node #0,0,3: 73:[73, 52] Operation: 60-8=52
Moving to Node #0,3
Current State: 73:[5, 73, 96], Operations: ['8*12=96']
Exploring Operation: 96-5=91, Resulting Numbers: [73, 91]
Generated Node #0,3,0: 73:[73, 91] Operation: 96-5=91
Exploring Operation: 5+73=78, Resulting Numbers: [96, 78]
Generated Node #0,3,1: 73:[96, 78] Operation: 5+73=78
Exploring Operation: 73-5=68, Resulting Numbers: [96, 68]
Generated Node #0,3,2: 73:[96, 68] Operation: 73-5=68
Exploring Operation: 5+96=101, Resulting Numbers: [73, 101]
Generated Node #0,3,3: 73:[73, 101] Operation: 5+96=101
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[73, 91], Operations: ['8*12=96', '96-5=91']
Exploring Operation: 73*91=6643, Resulting Numbers: [6643]
6643,73 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 73+91=164, Resulting Numbers: [164]
164,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[96, 78], Operations: ['8*12=96', '5+73=78']
Exploring Operation: 96+78=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 96*78=7488, Resulting Numbers: [7488]
7488,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[96, 68], Operations: ['8*12=96', '73-5=68']
Exploring Operation: 96-68=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 96*68=6528, Resulting Numbers: [6528]
6528,73 unequal: No Solution
Exploring Operation: 96+68=164, Resulting Numbers: [164]
164,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[73, 101], Operations: ['8*12=96', '5+96=101']
Exploring Operation: 73+101=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 73*101=7373, Resulting Numbers: [7373]
7373,73 unequal: No Solution
Exploring Operation: 101-73=28, Resulting Numbers: [28]
28,73 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: 73:[12, 73, 40], Operations: ['8*5=40']
Exploring Operation: 12+40=52, Resulting Numbers: [73, 52]
Generated Node #0,2,0: 73:[73, 52] Operation: 12+40=52
Exploring Operation: 12+73=85, Resulting Numbers: [40, 85]
Generated Node #0,2,1: 73:[40, 85] Operation: 12+73=85
Exploring Operation: 73-12=61, Resulting Numbers: [40, 61]
Generated Node #0,2,2: 73:[40, 61] Operation: 73-12=61
Exploring Operation: 40-12=28, Resulting Numbers: [73, 28]
Generated Node #0,2,3: 73:[73, 28] Operation: 40-12=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[73, 52], Operations: ['8*5=40', '12+40=52']
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Exploring Operation: 73*52=3796, Resulting Numbers: [3796]
3796,73 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[40, 85], Operations: ['8*5=40', '12+73=85']
Exploring Operation: 40+85=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Exploring Operation: 40*85=3400, Resulting Numbers: [3400]
3400,73 unequal: No Solution
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[40, 61], Operations: ['8*5=40', '73-12=61']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Exploring Operation: 40*61=2440, Resulting Numbers: [2440]
2440,73 unequal: No Solution
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[73, 28], Operations: ['8*5=40', '40-12=28']
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,73 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: 73:[5, 73, 20], Operations: ['8+12=20']
Exploring Operation: 5*20=100, Resulting Numbers: [73, 100]
Generated Node #0,1,0: 73:[73, 100] Operation: 5*20=100
Exploring Operation: 5+20=25, Resulting Numbers: [73, 25]
Generated Node #0,1,1: 73:[73, 25] Operation: 5+20=25
Exploring Operation: 5+73=78, Resulting Numbers: [20, 78]
Generated Node #0,1,2: 73:[20, 78] Operation: 5+73=78
Exploring Operation: 73-5=68, Resulting Numbers: [20, 68]
Generated Node #0,1,3: 73:[20, 68] Operation: 73-5=68
Moving to Node #0,0,2
Current State: 73:[73, 68], Operations: ['12*5=60', '8+60=68']
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,73 unequal: No Solution
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[60, 81], Operations: ['12*5=60', '8+73=81']
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Exploring Operation: 60*81=4860, Resulting Numbers: [4860]
4860,73 unequal: No Solution
Exploring Operation: 60+81=141, Resulting Numbers: [141]
141,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[60, 65], Operations: ['12*5=60', '73-8=65']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 60*65=3900, Resulting Numbers: [3900]
3900,73 unequal: No Solution
Exploring Operation: 60+65=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[73, 52], Operations: ['12*5=60', '60-8=52']
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Exploring Operation: 73*52=3796, Resulting Numbers: [3796]
3796,73 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[73, 100], Operations: ['8+12=20', '5*20=100']
Exploring Operation: 100-73=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 73+100=173, Resulting Numbers: [173]
173,73 unequal: No Solution
Exploring Operation: 73*100=7300, Resulting Numbers: [7300]
7300,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[73, 25], Operations: ['8+12=20', '5+20=25']
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,73 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[20, 78], Operations: ['8+12=20', '5+73=78']
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 20+78=98, Resulting Numbers: [98]
98,73 unequal: No Solution
Exploring Operation: 20*78=1560, Resulting Numbers: [1560]
1560,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[20, 68], Operations: ['8+12=20', '73-5=68']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 20*68=1360, Resulting Numbers: [1360]
1360,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
29,
41,
46
] | 70 | [
"36+29=65",
"46-41=5",
"65+5=70"
] | Current State: 70:[36, 29, 41, 46], Operations: []
Exploring Operation: 36+29=65, Resulting Numbers: [41, 46, 65]
Generated Node #2: [41, 46, 65] from Operation: 36+29=65
Current State: 70:[41, 46, 65], Operations: ['36+29=65']
Exploring Operation: 46-41=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 46-41=5
Current State: 70:[65, 5], Operations: ['36+29=65', '46-41=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 29, 41, 46], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [36, 41, 17]
Generated Node #0,0: 70:[36, 41, 17] Operation: 46-29=17
Exploring Operation: 46-41=5, Resulting Numbers: [36, 29, 5]
Generated Node #0,1: 70:[36, 29, 5] Operation: 46-41=5
Exploring Operation: 46-36=10, Resulting Numbers: [29, 41, 10]
Generated Node #0,2: 70:[29, 41, 10] Operation: 46-36=10
Exploring Operation: 29+41=70, Resulting Numbers: [36, 46, 70]
Generated Node #0,3: 70:[36, 46, 70] Operation: 29+41=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[36, 29, 5], Operations: ['46-41=5']
Exploring Operation: 29+5=34, Resulting Numbers: [36, 34]
Generated Node #0,1,0: 70:[36, 34] Operation: 29+5=34
Exploring Operation: 36-5=31, Resulting Numbers: [29, 31]
Generated Node #0,1,1: 70:[29, 31] Operation: 36-5=31
Exploring Operation: 36+29=65, Resulting Numbers: [5, 65]
Generated Node #0,1,2: 70:[5, 65] Operation: 36+29=65
Exploring Operation: 36-29=7, Resulting Numbers: [5, 7]
Generated Node #0,1,3: 70:[5, 7] Operation: 36-29=7
Moving to Node #0,1,3
Current State: 70:[5, 7], Operations: ['46-41=5', '36-29=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[36, 34], Operations: ['46-41=5', '29+5=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[36, 29, 41, 46], Operations: []
Exploring Operation: 46-41=5, Resulting Numbers: [36, 29, 5]
Generated Node #0,1: 70:[36, 29, 5] Operation: 46-41=5
Moving to Node #0,1
Current State: 70:[36, 29, 5], Operations: ['46-41=5']
Exploring Operation: 29+5=34, Resulting Numbers: [36, 34]
Generated Node #0,1,0: 70:[36, 34] Operation: 29+5=34
Moving to Node #0,1,0
Current State: 70:[36, 34], Operations: ['46-41=5', '29+5=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
10,
20,
21,
27
] | 91 | [
"27-20=7",
"10*7=70",
"21+70=91"
] | Current State: 91:[10, 20, 21, 27], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [10, 21, 7]
Generated Node #2: [10, 21, 7] from Operation: 27-20=7
Current State: 91:[10, 21, 7], Operations: ['27-20=7']
Exploring Operation: 10*7=70, Resulting Numbers: [21, 70]
Generated Node #3: [21, 70] from Operation: 10*7=70
Current State: 91:[21, 70], Operations: ['27-20=7', '10*7=70']
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[10, 20, 21, 27], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [10, 21, 7]
Generated Node #0,0: 91:[10, 21, 7] Operation: 27-20=7
Exploring Operation: 27-21=6, Resulting Numbers: [10, 20, 6]
Generated Node #0,1: 91:[10, 20, 6] Operation: 27-21=6
Exploring Operation: 27-10=17, Resulting Numbers: [20, 21, 17]
Generated Node #0,2: 91:[20, 21, 17] Operation: 27-10=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[10, 21, 7], Operations: ['27-20=7']
Exploring Operation: 21-10=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 91:[7, 11] Operation: 21-10=11
Exploring Operation: 21/7=3, Resulting Numbers: [10, 3]
Generated Node #0,0,1: 91:[10, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [10, 14]
Generated Node #0,0,2: 91:[10, 14] Operation: 21-7=14
Moving to Node #0,0,0
Current State: 91:[7, 11], Operations: ['27-20=7', '21-10=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[10, 14], Operations: ['27-20=7', '21-7=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[10, 3], Operations: ['27-20=7', '21/7=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[10, 20, 6], Operations: ['27-21=6']
Exploring Operation: 20/10=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 91:[6, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 91:[6, 10] Operation: 20-10=10
Exploring Operation: 20-6=14, Resulting Numbers: [10, 14]
Generated Node #0,1,2: 91:[10, 14] Operation: 20-6=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[6, 10], Operations: ['27-21=6', '20-10=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[10, 14], Operations: ['27-21=6', '20-6=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[6, 2], Operations: ['27-21=6', '20/10=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,91 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: 91:[20, 21, 17], Operations: ['27-10=17']
Exploring Operation: 21-20=1, Resulting Numbers: [17, 1]
Generated Node #0,2,0: 91:[17, 1] Operation: 21-20=1
Exploring Operation: 20-17=3, Resulting Numbers: [21, 3]
Generated Node #0,2,1: 91:[21, 3] Operation: 20-17=3
Exploring Operation: 21-17=4, Resulting Numbers: [20, 4]
Generated Node #0,2,2: 91:[20, 4] Operation: 21-17=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[17, 1], Operations: ['27-10=17', '21-20=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[20, 4], Operations: ['27-10=17', '21-17=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[21, 3], Operations: ['27-10=17', '20-17=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,91 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 |
[
48,
34,
93,
41
] | 91 | [
"48+34=82",
"82/41=2",
"93-2=91"
] | Current State: 91:[48, 34, 93, 41], Operations: []
Exploring Operation: 48+34=82, Resulting Numbers: [93, 41, 82]
Generated Node #2: [93, 41, 82] from Operation: 48+34=82
Current State: 91:[93, 41, 82], Operations: ['48+34=82']
Exploring Operation: 82/41=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 82/41=2
Current State: 91:[93, 2], Operations: ['48+34=82', '82/41=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[48, 34, 93, 41], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [93, 41, 14]
Generated Node #0,0: 91:[93, 41, 14] Operation: 48-34=14
Exploring Operation: 41-34=7, Resulting Numbers: [48, 93, 7]
Generated Node #0,1: 91:[48, 93, 7] Operation: 41-34=7
Exploring Operation: 48-41=7, Resulting Numbers: [34, 93, 7]
Generated Node #0,2: 91:[34, 93, 7] Operation: 48-41=7
Exploring Operation: 48+41=89, Resulting Numbers: [34, 93, 89]
Generated Node #0,3: 91:[34, 93, 89] Operation: 48+41=89
Moving to Node #0,2
Current State: 91:[34, 93, 7], Operations: ['48-41=7']
Exploring Operation: 93+7=100, Resulting Numbers: [34, 100]
Generated Node #0,2,0: 91:[34, 100] Operation: 93+7=100
Exploring Operation: 93-7=86, Resulting Numbers: [34, 86]
Generated Node #0,2,1: 91:[34, 86] Operation: 93-7=86
Exploring Operation: 34-7=27, Resulting Numbers: [93, 27]
Generated Node #0,2,2: 91:[93, 27] Operation: 34-7=27
Exploring Operation: 34+7=41, Resulting Numbers: [93, 41]
Generated Node #0,2,3: 91:[93, 41] Operation: 34+7=41
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[93, 27], Operations: ['48-41=7', '34-7=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,91 unequal: No Solution
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[34, 86], Operations: ['48-41=7', '93-7=86']
Exploring Operation: 34+86=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 34*86=2924, Resulting Numbers: [2924]
2924,91 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[34, 100], Operations: ['48-41=7', '93+7=100']
Exploring Operation: 100-34=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 34+100=134, Resulting Numbers: [134]
134,91 unequal: No Solution
Exploring Operation: 34*100=3400, Resulting Numbers: [3400]
3400,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[93, 41], Operations: ['48-41=7', '34+7=41']
Exploring Operation: 93-41=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 93*41=3813, Resulting Numbers: [3813]
3813,91 unequal: No Solution
Exploring Operation: 93+41=134, Resulting Numbers: [134]
134,91 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: 91:[34, 93, 89], Operations: ['48+41=89']
Exploring Operation: 34+89=123, Resulting Numbers: [93, 123]
Generated Node #0,3,0: 91:[93, 123] Operation: 34+89=123
Exploring Operation: 93-34=59, Resulting Numbers: [89, 59]
Generated Node #0,3,1: 91:[89, 59] Operation: 93-34=59
Exploring Operation: 93-89=4, Resulting Numbers: [34, 4]
Generated Node #0,3,2: 91:[34, 4] Operation: 93-89=4
Exploring Operation: 34+93=127, Resulting Numbers: [89, 127]
Generated Node #0,3,3: 91:[89, 127] Operation: 34+93=127
Moving to Node #0,0
Current State: 91:[93, 41, 14], Operations: ['48-34=14']
Exploring Operation: 93-14=79, Resulting Numbers: [41, 79]
Generated Node #0,0,0: 91:[41, 79] Operation: 93-14=79
Exploring Operation: 93-41=52, Resulting Numbers: [14, 52]
Generated Node #0,0,1: 91:[14, 52] Operation: 93-41=52
Exploring Operation: 41+14=55, Resulting Numbers: [93, 55]
Generated Node #0,0,2: 91:[93, 55] Operation: 41+14=55
Exploring Operation: 41-14=27, Resulting Numbers: [93, 27]
Generated Node #0,0,3: 91:[93, 27] Operation: 41-14=27
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[93, 27], Operations: ['48-34=14', '41-14=27']
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,91 unequal: No Solution
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[93, 55], Operations: ['48-34=14', '41+14=55']
Exploring Operation: 93*55=5115, Resulting Numbers: [5115]
5115,91 unequal: No Solution
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 93+55=148, Resulting Numbers: [148]
148,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[41, 79], Operations: ['48-34=14', '93-14=79']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[14, 52], Operations: ['48-34=14', '93-41=52']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,91 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: 91:[48, 93, 7], Operations: ['41-34=7']
Exploring Operation: 48+7=55, Resulting Numbers: [93, 55]
Generated Node #0,1,0: 91:[93, 55] Operation: 48+7=55
Exploring Operation: 93-48=45, Resulting Numbers: [7, 45]
Generated Node #0,1,1: 91:[7, 45] Operation: 93-48=45
Exploring Operation: 93-7=86, Resulting Numbers: [48, 86]
Generated Node #0,1,2: 91:[48, 86] Operation: 93-7=86
Exploring Operation: 48-7=41, Resulting Numbers: [93, 41]
Generated Node #0,1,3: 91:[93, 41] Operation: 48-7=41
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[93, 41], Operations: ['41-34=7', '48-7=41']
Exploring Operation: 93+41=134, Resulting Numbers: [134]
134,91 unequal: No Solution
Exploring Operation: 93-41=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 93*41=3813, Resulting Numbers: [3813]
3813,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[7, 45], Operations: ['41-34=7', '93-48=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,91 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[93, 55], Operations: ['41-34=7', '48+7=55']
Exploring Operation: 93+55=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Exploring Operation: 93*55=5115, Resulting Numbers: [5115]
5115,91 unequal: No Solution
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[48, 86], Operations: ['41-34=7', '93-7=86']
Exploring Operation: 48*86=4128, Resulting Numbers: [4128]
4128,91 unequal: No Solution
Exploring Operation: 48+86=134, Resulting Numbers: [134]
134,91 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 91:[34, 4], Operations: ['48+41=89', '93-89=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[89, 59], Operations: ['48+41=89', '93-34=59']
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,91 unequal: No Solution
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[93, 123], Operations: ['48+41=89', '34+89=123']
Exploring Operation: 93+123=216, Resulting Numbers: [216]
216,91 unequal: No Solution
Exploring Operation: 123-93=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 93*123=11439, Resulting Numbers: [11439]
11439,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[89, 127], Operations: ['48+41=89', '34+93=127']
Exploring Operation: 127-89=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 89+127=216, Resulting Numbers: [216]
216,91 unequal: No Solution
Exploring Operation: 89*127=11303, Resulting Numbers: [11303]
11303,91 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
13,
76,
15,
2
] | 87 | [
"13*2=26",
"76-15=61",
"26+61=87"
] | Current State: 87:[13, 76, 15, 2], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [76, 15, 26]
Generated Node #2: [76, 15, 26] from Operation: 13*2=26
Current State: 87:[76, 15, 26], Operations: ['13*2=26']
Exploring Operation: 76-15=61, Resulting Numbers: [26, 61]
Generated Node #3: [26, 61] from Operation: 76-15=61
Current State: 87:[26, 61], Operations: ['13*2=26', '76-15=61']
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[13, 76, 15, 2], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [76, 2, 2]
Generated Node #0,0: 87:[76, 2, 2] Operation: 15-13=2
Exploring Operation: 76+15=91, Resulting Numbers: [13, 2, 91]
Generated Node #0,1: 87:[13, 2, 91] Operation: 76+15=91
Exploring Operation: 13+15=28, Resulting Numbers: [76, 2, 28]
Generated Node #0,2: 87:[76, 2, 28] Operation: 13+15=28
Exploring Operation: 13+76=89, Resulting Numbers: [15, 2, 89]
Generated Node #0,3: 87:[15, 2, 89] Operation: 13+76=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[76, 2, 2], Operations: ['15-13=2']
Exploring Operation: 76/2=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 87:[2, 38] Operation: 76/2=38
Exploring Operation: 76/2=38, Resulting Numbers: [2, 38]
Generated Node #0,0,1: 87:[2, 38] Operation: 76/2=38
Exploring Operation: 76+2=78, Resulting Numbers: [2, 78]
Generated Node #0,0,2: 87:[2, 78] Operation: 76+2=78
Exploring Operation: 76+2=78, Resulting Numbers: [2, 78]
Generated Node #0,0,3: 87:[2, 78] Operation: 76+2=78
Moving to Node #0,0,0
Current State: 87:[2, 38], Operations: ['15-13=2', '76/2=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[2, 78], Operations: ['15-13=2', '76+2=78']
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,87 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[2, 38], Operations: ['15-13=2', '76/2=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[2, 78], Operations: ['15-13=2', '76+2=78']
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,87 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,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,2
Current State: 87:[76, 2, 28], Operations: ['13+15=28']
Exploring Operation: 76-2=74, Resulting Numbers: [28, 74]
Generated Node #0,2,0: 87:[28, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [28, 38]
Generated Node #0,2,1: 87:[28, 38] Operation: 76/2=38
Exploring Operation: 76+2=78, Resulting Numbers: [28, 78]
Generated Node #0,2,2: 87:[28, 78] Operation: 76+2=78
Exploring Operation: 2+28=30, Resulting Numbers: [76, 30]
Generated Node #0,2,3: 87:[76, 30] Operation: 2+28=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 87:[28, 38], Operations: ['13+15=28', '76/2=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,87 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,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:[28, 78], Operations: ['13+15=28', '76+2=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,87 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,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,3
Current State: 87:[76, 30], Operations: ['13+15=28', '2+28=30']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,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:[28, 74], Operations: ['13+15=28', '76-2=74']
Exploring Operation: 28*74=2072, Resulting Numbers: [2072]
2072,87 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 28+74=102, Resulting Numbers: [102]
102,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:[13, 2, 91], Operations: ['76+15=91']
Exploring Operation: 91-13=78, Resulting Numbers: [2, 78]
Generated Node #0,1,0: 87:[2, 78] Operation: 91-13=78
Exploring Operation: 13-2=11, Resulting Numbers: [91, 11]
Generated Node #0,1,1: 87:[91, 11] Operation: 13-2=11
Exploring Operation: 13*2=26, Resulting Numbers: [91, 26]
Generated Node #0,1,2: 87:[91, 26] Operation: 13*2=26
Exploring Operation: 91/13=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 87:[2, 7] Operation: 91/13=7
Moving to Node #0,1,3
Current State: 87:[2, 7], Operations: ['76+15=91', '91/13=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[91, 26], Operations: ['76+15=91', '13*2=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,87 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[2, 78], Operations: ['76+15=91', '91-13=78']
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,87 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[91, 11], Operations: ['76+15=91', '13-2=11']
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,87 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,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,3
Current State: 87:[15, 2, 89], Operations: ['13+76=89']
Exploring Operation: 15-2=13, Resulting Numbers: [89, 13]
Generated Node #0,3,0: 87:[89, 13] Operation: 15-2=13
Exploring Operation: 15*2=30, Resulting Numbers: [89, 30]
Generated Node #0,3,1: 87:[89, 30] Operation: 15*2=30
Exploring Operation: 15+2=17, Resulting Numbers: [89, 17]
Generated Node #0,3,2: 87:[89, 17] Operation: 15+2=17
Exploring Operation: 89-2=87, Resulting Numbers: [15, 87]
Generated Node #0,3,3: 87:[15, 87] Operation: 89-2=87
Moving to Node #0,3,1
Current State: 87:[89, 30], Operations: ['13+76=89', '15*2=30']
Exploring Operation: 89+30=119, Resulting Numbers: [119]
119,87 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 89*30=2670, Resulting Numbers: [2670]
2670,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[15, 87], Operations: ['13+76=89', '89-2=87']
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[89, 13], Operations: ['13+76=89', '15-2=13']
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[89, 17], Operations: ['13+76=89', '15+2=17']
Exploring Operation: 89*17=1513, Resulting Numbers: [1513]
1513,87 unequal: No Solution
Exploring Operation: 89+17=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,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 |
[
55,
3,
28,
20
] | 61 | [
"55-28=27",
"3*27=81",
"81-20=61"
] | Current State: 61:[55, 3, 28, 20], Operations: []
Exploring Operation: 55-28=27, Resulting Numbers: [3, 20, 27]
Generated Node #2: [3, 20, 27] from Operation: 55-28=27
Current State: 61:[3, 20, 27], Operations: ['55-28=27']
Exploring Operation: 3*27=81, Resulting Numbers: [20, 81]
Generated Node #3: [20, 81] from Operation: 3*27=81
Current State: 61:[20, 81], Operations: ['55-28=27', '3*27=81']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[55, 3, 28, 20], Operations: []
Exploring Operation: 3*20=60, Resulting Numbers: [55, 28, 60]
Generated Node #0,0: 61:[55, 28, 60] Operation: 3*20=60
Exploring Operation: 55+3=58, Resulting Numbers: [28, 20, 58]
Generated Node #0,1: 61:[28, 20, 58] Operation: 55+3=58
Exploring Operation: 3*28=84, Resulting Numbers: [55, 20, 84]
Generated Node #0,2: 61:[55, 20, 84] Operation: 3*28=84
Moving to Node #0,0
Current State: 61:[55, 28, 60], Operations: ['3*20=60']
Exploring Operation: 55-28=27, Resulting Numbers: [60, 27]
Generated Node #0,0,0: 61:[60, 27] Operation: 55-28=27
Exploring Operation: 28+60=88, Resulting Numbers: [55, 88]
Generated Node #0,0,1: 61:[55, 88] Operation: 28+60=88
Exploring Operation: 55+28=83, Resulting Numbers: [60, 83]
Generated Node #0,0,2: 61:[60, 83] Operation: 55+28=83
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[60, 83], Operations: ['3*20=60', '55+28=83']
Exploring Operation: 60+83=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 60*83=4980, Resulting Numbers: [4980]
4980,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[55, 88], Operations: ['3*20=60', '28+60=88']
Exploring Operation: 55+88=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 55*88=4840, Resulting Numbers: [4840]
4840,61 unequal: No Solution
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[60, 27], Operations: ['3*20=60', '55-28=27']
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,61 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: 61:[55, 20, 84], Operations: ['3*28=84']
Exploring Operation: 55-20=35, Resulting Numbers: [84, 35]
Generated Node #0,2,0: 61:[84, 35] Operation: 55-20=35
Exploring Operation: 84-20=64, Resulting Numbers: [55, 64]
Generated Node #0,2,1: 61:[55, 64] Operation: 84-20=64
Exploring Operation: 55+20=75, Resulting Numbers: [84, 75]
Generated Node #0,2,2: 61:[84, 75] Operation: 55+20=75
Moving to Node #0,1
Current State: 61:[28, 20, 58], Operations: ['55+3=58']
Exploring Operation: 20+58=78, Resulting Numbers: [28, 78]
Generated Node #0,1,0: 61:[28, 78] Operation: 20+58=78
Exploring Operation: 28-20=8, Resulting Numbers: [58, 8]
Generated Node #0,1,1: 61:[58, 8] Operation: 28-20=8
Exploring Operation: 28+20=48, Resulting Numbers: [58, 48]
Generated Node #0,1,2: 61:[58, 48] Operation: 28+20=48
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[58, 48], Operations: ['55+3=58', '28+20=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,61 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[28, 78], Operations: ['55+3=58', '20+58=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[58, 8], Operations: ['55+3=58', '28-20=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 61:[55, 64], Operations: ['3*28=84', '84-20=64']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,61 unequal: No Solution
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[84, 75], Operations: ['3*28=84', '55+20=75']
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,61 unequal: No Solution
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[84, 35], Operations: ['3*28=84', '55-20=35']
Exploring Operation: 84*35=2940, Resulting Numbers: [2940]
2940,61 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 84+35=119, Resulting Numbers: [119]
119,61 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
11,
20,
38
] | 94 | [
"14-11=3",
"38*3=114",
"114-20=94"
] | Current State: 94:[14, 11, 20, 38], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [20, 38, 3]
Generated Node #2: [20, 38, 3] from Operation: 14-11=3
Current State: 94:[20, 38, 3], Operations: ['14-11=3']
Exploring Operation: 38*3=114, Resulting Numbers: [20, 114]
Generated Node #3: [20, 114] from Operation: 38*3=114
Current State: 94:[20, 114], Operations: ['14-11=3', '38*3=114']
Exploring Operation: 114-20=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[14, 11, 20, 38], Operations: []
Exploring Operation: 20-14=6, Resulting Numbers: [11, 38, 6]
Generated Node #0,0: 94:[11, 38, 6] Operation: 20-14=6
Exploring Operation: 14-11=3, Resulting Numbers: [20, 38, 3]
Generated Node #0,1: 94:[20, 38, 3] Operation: 14-11=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[11, 38, 6], Operations: ['20-14=6']
Exploring Operation: 11-6=5, Resulting Numbers: [38, 5]
Generated Node #0,0,0: 94:[38, 5] Operation: 11-6=5
Exploring Operation: 11+38=49, Resulting Numbers: [6, 49]
Generated Node #0,0,1: 94:[6, 49] Operation: 11+38=49
Moving to Node #0,0,1
Current State: 94:[6, 49], Operations: ['20-14=6', '11+38=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[38, 5], Operations: ['20-14=6', '11-6=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,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,1
Current State: 94:[20, 38, 3], Operations: ['14-11=3']
Exploring Operation: 38-20=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 94:[3, 18] Operation: 38-20=18
Exploring Operation: 20+38=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 94:[3, 58] Operation: 20+38=58
Moving to Node #0,1,1
Current State: 94:[3, 58], Operations: ['14-11=3', '20+38=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[3, 18], Operations: ['14-11=3', '38-20=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,94 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 |
[
47,
67,
40,
79
] | 81 | [
"67-47=20",
"40/20=2",
"79+2=81"
] | Current State: 81:[47, 67, 40, 79], Operations: []
Exploring Operation: 67-47=20, Resulting Numbers: [40, 79, 20]
Generated Node #2: [40, 79, 20] from Operation: 67-47=20
Current State: 81:[40, 79, 20], Operations: ['67-47=20']
Exploring Operation: 40/20=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 40/20=2
Current State: 81:[79, 2], Operations: ['67-47=20', '40/20=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[47, 67, 40, 79], Operations: []
Exploring Operation: 67-40=27, Resulting Numbers: [47, 79, 27]
Generated Node #0,0: 81:[47, 79, 27] Operation: 67-40=27
Exploring Operation: 47+40=87, Resulting Numbers: [67, 79, 87]
Generated Node #0,1: 81:[67, 79, 87] Operation: 47+40=87
Exploring Operation: 47-40=7, Resulting Numbers: [67, 79, 7]
Generated Node #0,2: 81:[67, 79, 7] Operation: 47-40=7
Exploring Operation: 67-47=20, Resulting Numbers: [40, 79, 20]
Generated Node #0,3: 81:[40, 79, 20] Operation: 67-47=20
Moving to Node #0,2
Current State: 81:[67, 79, 7], Operations: ['47-40=7']
Exploring Operation: 67-7=60, Resulting Numbers: [79, 60]
Generated Node #0,2,0: 81:[79, 60] Operation: 67-7=60
Exploring Operation: 79+7=86, Resulting Numbers: [67, 86]
Generated Node #0,2,1: 81:[67, 86] Operation: 79+7=86
Exploring Operation: 67+7=74, Resulting Numbers: [79, 74]
Generated Node #0,2,2: 81:[79, 74] Operation: 67+7=74
Exploring Operation: 79-67=12, Resulting Numbers: [7, 12]
Generated Node #0,2,3: 81:[7, 12] Operation: 79-67=12
Moving to Node #0,1
Current State: 81:[67, 79, 87], Operations: ['47+40=87']
Exploring Operation: 87-79=8, Resulting Numbers: [67, 8]
Generated Node #0,1,0: 81:[67, 8] Operation: 87-79=8
Exploring Operation: 79-67=12, Resulting Numbers: [87, 12]
Generated Node #0,1,1: 81:[87, 12] Operation: 79-67=12
Exploring Operation: 67+79=146, Resulting Numbers: [87, 146]
Generated Node #0,1,2: 81:[87, 146] Operation: 67+79=146
Exploring Operation: 87-67=20, Resulting Numbers: [79, 20]
Generated Node #0,1,3: 81:[79, 20] Operation: 87-67=20
Moving to Node #0,0
Current State: 81:[47, 79, 27], Operations: ['67-40=27']
Exploring Operation: 47+27=74, Resulting Numbers: [79, 74]
Generated Node #0,0,0: 81:[79, 74] Operation: 47+27=74
Exploring Operation: 79-47=32, Resulting Numbers: [27, 32]
Generated Node #0,0,1: 81:[27, 32] Operation: 79-47=32
Exploring Operation: 47+79=126, Resulting Numbers: [27, 126]
Generated Node #0,0,2: 81:[27, 126] Operation: 47+79=126
Exploring Operation: 47-27=20, Resulting Numbers: [79, 20]
Generated Node #0,0,3: 81:[79, 20] Operation: 47-27=20
Moving to Node #0,3
Current State: 81:[40, 79, 20], Operations: ['67-47=20']
Exploring Operation: 40+20=60, Resulting Numbers: [79, 60]
Generated Node #0,3,0: 81:[79, 60] Operation: 40+20=60
Exploring Operation: 79-40=39, Resulting Numbers: [20, 39]
Generated Node #0,3,1: 81:[20, 39] Operation: 79-40=39
Exploring Operation: 40/20=2, Resulting Numbers: [79, 2]
Generated Node #0,3,2: 81:[79, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [79, 20]
Generated Node #0,3,3: 81:[79, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[79, 2], Operations: ['67-47=20', '40/20=2']
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,81 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[47, 67, 40, 79], Operations: []
Exploring Operation: 67-47=20, Resulting Numbers: [40, 79, 20]
Generated Node #0,3: 81:[40, 79, 20] Operation: 67-47=20
Moving to Node #0,3
Current State: 81:[40, 79, 20], Operations: ['67-47=20']
Exploring Operation: 40/20=2, Resulting Numbers: [79, 2]
Generated Node #0,3,2: 81:[79, 2] Operation: 40/20=2
Moving to Node #0,3,2
Current State: 81:[79, 2], Operations: ['67-47=20', '40/20=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
7,
22,
70,
95
] | 40 | [
"22-7=15",
"95-70=25",
"15+25=40"
] | Current State: 40:[7, 22, 70, 95], Operations: []
Exploring Operation: 22-7=15, Resulting Numbers: [70, 95, 15]
Generated Node #2: [70, 95, 15] from Operation: 22-7=15
Current State: 40:[70, 95, 15], Operations: ['22-7=15']
Exploring Operation: 95-70=25, Resulting Numbers: [15, 25]
Generated Node #3: [15, 25] from Operation: 95-70=25
Current State: 40:[15, 25], Operations: ['22-7=15', '95-70=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[7, 22, 70, 95], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [7, 22, 25]
Generated Node #0,0: 40:[7, 22, 25] Operation: 95-70=25
Moving to Node #0,0
Current State: 40:[7, 22, 25], Operations: ['95-70=25']
Exploring Operation: 25-22=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 40:[7, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[7, 3], Operations: ['95-70=25', '25-22=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,40 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 |
[
91,
76,
35,
49
] | 80 | [
"91+49=140",
"140/35=4",
"76+4=80"
] | Current State: 80:[91, 76, 35, 49], Operations: []
Exploring Operation: 91+49=140, Resulting Numbers: [76, 35, 140]
Generated Node #2: [76, 35, 140] from Operation: 91+49=140
Current State: 80:[76, 35, 140], Operations: ['91+49=140']
Exploring Operation: 140/35=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 140/35=4
Current State: 80:[76, 4], Operations: ['91+49=140', '140/35=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[91, 76, 35, 49], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [76, 35, 42]
Generated Node #0,0: 80:[76, 35, 42] Operation: 91-49=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[76, 35, 42], Operations: ['91-49=42']
Exploring Operation: 76-35=41, Resulting Numbers: [42, 41]
Generated Node #0,0,0: 80:[42, 41] Operation: 76-35=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[42, 41], Operations: ['91-49=42', '76-35=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,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_1 | mult_heuristic |
[
29,
28,
92,
36
] | 81 | [
"92-29=63",
"36*63=2268",
"2268/28=81"
] | Current State: 81:[29, 28, 92, 36], Operations: []
Exploring Operation: 92-29=63, Resulting Numbers: [28, 36, 63]
Generated Node #2: [28, 36, 63] from Operation: 92-29=63
Current State: 81:[28, 36, 63], Operations: ['92-29=63']
Exploring Operation: 36*63=2268, Resulting Numbers: [28, 2268]
Generated Node #3: [28, 2268] from Operation: 36*63=2268
Current State: 81:[28, 2268], Operations: ['92-29=63', '36*63=2268']
Exploring Operation: 2268/28=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[29, 28, 92, 36], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [28, 92, 7]
Generated Node #0,0: 81:[28, 92, 7] Operation: 36-29=7
Exploring Operation: 36-28=8, Resulting Numbers: [29, 92, 8]
Generated Node #0,1: 81:[29, 92, 8] Operation: 36-28=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[28, 92, 7], Operations: ['36-29=7']
Exploring Operation: 92-7=85, Resulting Numbers: [28, 85]
Generated Node #0,0,0: 81:[28, 85] Operation: 92-7=85
Exploring Operation: 28/7=4, Resulting Numbers: [92, 4]
Generated Node #0,0,1: 81:[92, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 81:[28, 85], Operations: ['36-29=7', '92-7=85']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 28+85=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[92, 4], Operations: ['36-29=7', '28/7=4']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,81 unequal: No Solution
No 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: 81:[29, 92, 8], Operations: ['36-28=8']
Exploring Operation: 92-8=84, Resulting Numbers: [29, 84]
Generated Node #0,1,0: 81:[29, 84] Operation: 92-8=84
Exploring Operation: 29-8=21, Resulting Numbers: [92, 21]
Generated Node #0,1,1: 81:[92, 21] Operation: 29-8=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[29, 84], Operations: ['36-28=8', '92-8=84']
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,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,1,1
Current State: 81:[92, 21], Operations: ['36-28=8', '29-8=21']
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,81 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 |
[
71,
4,
2,
58
] | 86 | [
"2+58=60",
"60/4=15",
"71+15=86"
] | Current State: 86:[71, 4, 2, 58], Operations: []
Exploring Operation: 2+58=60, Resulting Numbers: [71, 4, 60]
Generated Node #2: [71, 4, 60] from Operation: 2+58=60
Current State: 86:[71, 4, 60], Operations: ['2+58=60']
Exploring Operation: 60/4=15, Resulting Numbers: [71, 15]
Generated Node #3: [71, 15] from Operation: 60/4=15
Current State: 86:[71, 15], Operations: ['2+58=60', '60/4=15']
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[71, 4, 2, 58], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [4, 2, 13]
Generated Node #0,0: 86:[4, 2, 13] Operation: 71-58=13
Exploring Operation: 71+4=75, Resulting Numbers: [2, 58, 75]
Generated Node #0,1: 86:[2, 58, 75] Operation: 71+4=75
Exploring Operation: 71+2=73, Resulting Numbers: [4, 58, 73]
Generated Node #0,2: 86:[4, 58, 73] Operation: 71+2=73
Exploring Operation: 4-2=2, Resulting Numbers: [71, 58, 2]
Generated Node #0,3: 86:[71, 58, 2] Operation: 4-2=2
Exploring Operation: 58-4=54, Resulting Numbers: [71, 2, 54]
Generated Node #0,4: 86:[71, 2, 54] Operation: 58-4=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[4, 2, 13], Operations: ['71-58=13']
Exploring Operation: 13-2=11, Resulting Numbers: [4, 11]
Generated Node #0,0,0: 86:[4, 11] Operation: 13-2=11
Exploring Operation: 13-4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 86:[2, 9] Operation: 13-4=9
Exploring Operation: 4/2=2, Resulting Numbers: [13, 2]
Generated Node #0,0,2: 86:[13, 2] Operation: 4/2=2
Exploring Operation: 4*13=52, Resulting Numbers: [2, 52]
Generated Node #0,0,3: 86:[2, 52] Operation: 4*13=52
Exploring Operation: 4-2=2, Resulting Numbers: [13, 2]
Generated Node #0,0,4: 86:[13, 2] Operation: 4-2=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[2, 9], Operations: ['71-58=13', '13-4=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[2, 52], Operations: ['71-58=13', '4*13=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,86 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[4, 11], Operations: ['71-58=13', '13-2=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[13, 2], Operations: ['71-58=13', '4/2=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[13, 2], Operations: ['71-58=13', '4-2=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[2, 58, 75], Operations: ['71+4=75']
Exploring Operation: 75-58=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 86:[2, 17] Operation: 75-58=17
Exploring Operation: 2+75=77, Resulting Numbers: [58, 77]
Generated Node #0,1,1: 86:[58, 77] Operation: 2+75=77
Exploring Operation: 58-2=56, Resulting Numbers: [75, 56]
Generated Node #0,1,2: 86:[75, 56] Operation: 58-2=56
Exploring Operation: 58/2=29, Resulting Numbers: [75, 29]
Generated Node #0,1,3: 86:[75, 29] Operation: 58/2=29
Exploring Operation: 2+58=60, Resulting Numbers: [75, 60]
Generated Node #0,1,4: 86:[75, 60] Operation: 2+58=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[2, 17], Operations: ['71+4=75', '75-58=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[58, 77], Operations: ['71+4=75', '2+75=77']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 58*77=4466, Resulting Numbers: [4466]
4466,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[75, 56], Operations: ['71+4=75', '58-2=56']
Exploring Operation: 75*56=4200, Resulting Numbers: [4200]
4200,86 unequal: No Solution
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 75+56=131, Resulting Numbers: [131]
131,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 86:[75, 29], Operations: ['71+4=75', '58/2=29']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,86 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 86:[75, 60], Operations: ['71+4=75', '2+58=60']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[71, 2, 54], Operations: ['58-4=54']
Exploring Operation: 54-2=52, Resulting Numbers: [71, 52]
Generated Node #0,4,0: 86:[71, 52] Operation: 54-2=52
Exploring Operation: 71+2=73, Resulting Numbers: [54, 73]
Generated Node #0,4,1: 86:[54, 73] Operation: 71+2=73
Exploring Operation: 2+54=56, Resulting Numbers: [71, 56]
Generated Node #0,4,2: 86:[71, 56] Operation: 2+54=56
Exploring Operation: 71-2=69, Resulting Numbers: [54, 69]
Generated Node #0,4,3: 86:[54, 69] Operation: 71-2=69
Exploring Operation: 71-54=17, Resulting Numbers: [2, 17]
Generated Node #0,4,4: 86:[2, 17] Operation: 71-54=17
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[2, 17], Operations: ['58-4=54', '71-54=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 86:[71, 52], Operations: ['58-4=54', '54-2=52']
Exploring Operation: 71+52=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 71*52=3692, Resulting Numbers: [3692]
3692,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 86:[54, 73], Operations: ['58-4=54', '71+2=73']
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,86 unequal: No Solution
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,86 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 86:[71, 56], Operations: ['58-4=54', '2+54=56']
Exploring Operation: 71*56=3976, Resulting Numbers: [3976]
3976,86 unequal: No Solution
Exploring Operation: 71+56=127, Resulting Numbers: [127]
127,86 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 86:[54, 69], Operations: ['58-4=54', '71-2=69']
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,86 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[4, 58, 73], Operations: ['71+2=73']
Exploring Operation: 73-58=15, Resulting Numbers: [4, 15]
Generated Node #0,2,0: 86:[4, 15] Operation: 73-58=15
Exploring Operation: 4+58=62, Resulting Numbers: [73, 62]
Generated Node #0,2,1: 86:[73, 62] Operation: 4+58=62
Exploring Operation: 4+73=77, Resulting Numbers: [58, 77]
Generated Node #0,2,2: 86:[58, 77] Operation: 4+73=77
Exploring Operation: 58-4=54, Resulting Numbers: [73, 54]
Generated Node #0,2,3: 86:[73, 54] Operation: 58-4=54
Exploring Operation: 73-4=69, Resulting Numbers: [58, 69]
Generated Node #0,2,4: 86:[58, 69] Operation: 73-4=69
Moving to Node #0,2,0
Current State: 86:[4, 15], Operations: ['71+2=73', '73-58=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[73, 54], Operations: ['71+2=73', '58-4=54']
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,86 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,86 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[58, 77], Operations: ['71+2=73', '4+73=77']
Exploring Operation: 58*77=4466, Resulting Numbers: [4466]
4466,86 unequal: No Solution
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[73, 62], Operations: ['71+2=73', '4+58=62']
Exploring Operation: 73*62=4526, Resulting Numbers: [4526]
4526,86 unequal: No Solution
Exploring Operation: 73+62=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[58, 69], Operations: ['71+2=73', '73-4=69']
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,86 unequal: No Solution
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[71, 58, 2], Operations: ['4-2=2']
Exploring Operation: 71+2=73, Resulting Numbers: [58, 73]
Generated Node #0,3,0: 86:[58, 73] Operation: 71+2=73
Exploring Operation: 58-2=56, Resulting Numbers: [71, 56]
Generated Node #0,3,1: 86:[71, 56] Operation: 58-2=56
Exploring Operation: 71-58=13, Resulting Numbers: [2, 13]
Generated Node #0,3,2: 86:[2, 13] Operation: 71-58=13
Exploring Operation: 71-2=69, Resulting Numbers: [58, 69]
Generated Node #0,3,3: 86:[58, 69] Operation: 71-2=69
Exploring Operation: 58/2=29, Resulting Numbers: [71, 29]
Generated Node #0,3,4: 86:[71, 29] Operation: 58/2=29
Moving to Node #0,3,2
Current State: 86:[2, 13], Operations: ['4-2=2', '71-58=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[71, 56], Operations: ['4-2=2', '58-2=56']
Exploring Operation: 71*56=3976, Resulting Numbers: [3976]
3976,86 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 71+56=127, Resulting Numbers: [127]
127,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[58, 73], Operations: ['4-2=2', '71+2=73']
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,86 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[71, 29], Operations: ['4-2=2', '58/2=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[58, 69], Operations: ['4-2=2', '71-2=69']
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,86 unequal: No Solution
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,86 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
57,
86,
4,
60
] | 38 | [
"57*60=3420",
"86+4=90",
"3420/90=38"
] | Current State: 38:[57, 86, 4, 60], Operations: []
Exploring Operation: 57*60=3420, Resulting Numbers: [86, 4, 3420]
Generated Node #2: [86, 4, 3420] from Operation: 57*60=3420
Current State: 38:[86, 4, 3420], Operations: ['57*60=3420']
Exploring Operation: 86+4=90, Resulting Numbers: [3420, 90]
Generated Node #3: [3420, 90] from Operation: 86+4=90
Current State: 38:[3420, 90], Operations: ['57*60=3420', '86+4=90']
Exploring Operation: 3420/90=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[57, 86, 4, 60], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [57, 4, 26]
Generated Node #0,0: 38:[57, 4, 26] Operation: 86-60=26
Exploring Operation: 86-57=29, Resulting Numbers: [4, 60, 29]
Generated Node #0,1: 38:[4, 60, 29] Operation: 86-57=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[57, 4, 26], Operations: ['86-60=26']
Exploring Operation: 57-4=53, Resulting Numbers: [26, 53]
Generated Node #0,0,0: 38:[26, 53] Operation: 57-4=53
Exploring Operation: 57-26=31, Resulting Numbers: [4, 31]
Generated Node #0,0,1: 38:[4, 31] Operation: 57-26=31
Moving to Node #0,0,1
Current State: 38:[4, 31], Operations: ['86-60=26', '57-26=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[26, 53], Operations: ['86-60=26', '57-4=53']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[4, 60, 29], Operations: ['86-57=29']
Exploring Operation: 60/4=15, Resulting Numbers: [29, 15]
Generated Node #0,1,0: 38:[29, 15] Operation: 60/4=15
Exploring Operation: 60-29=31, Resulting Numbers: [4, 31]
Generated Node #0,1,1: 38:[4, 31] Operation: 60-29=31
Moving to Node #0,1,1
Current State: 38:[4, 31], Operations: ['86-57=29', '60-29=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[29, 15], Operations: ['86-57=29', '60/4=15']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
40,
93,
44
] | 64 | [
"93-77=16",
"44-40=4",
"16*4=64"
] | Current State: 64:[77, 40, 93, 44], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [40, 44, 16]
Generated Node #2: [40, 44, 16] from Operation: 93-77=16
Current State: 64:[40, 44, 16], Operations: ['93-77=16']
Exploring Operation: 44-40=4, Resulting Numbers: [16, 4]
Generated Node #3: [16, 4] from Operation: 44-40=4
Current State: 64:[16, 4], Operations: ['93-77=16', '44-40=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[77, 40, 93, 44], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [77, 40, 49]
Generated Node #0,0: 64:[77, 40, 49] Operation: 93-44=49
Exploring Operation: 77-44=33, Resulting Numbers: [40, 93, 33]
Generated Node #0,1: 64:[40, 93, 33] Operation: 77-44=33
Exploring Operation: 93-40=53, Resulting Numbers: [77, 44, 53]
Generated Node #0,2: 64:[77, 44, 53] Operation: 93-40=53
Exploring Operation: 93-77=16, Resulting Numbers: [40, 44, 16]
Generated Node #0,3: 64:[40, 44, 16] Operation: 93-77=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[40, 44, 16], Operations: ['93-77=16']
Exploring Operation: 44-40=4, Resulting Numbers: [16, 4]
Generated Node #0,3,0: 64:[16, 4] Operation: 44-40=4
Exploring Operation: 44+16=60, Resulting Numbers: [40, 60]
Generated Node #0,3,1: 64:[40, 60] Operation: 44+16=60
Exploring Operation: 44-16=28, Resulting Numbers: [40, 28]
Generated Node #0,3,2: 64:[40, 28] Operation: 44-16=28
Exploring Operation: 40+44=84, Resulting Numbers: [16, 84]
Generated Node #0,3,3: 64:[16, 84] Operation: 40+44=84
Moving to Node #0,3,0
Current State: 64:[16, 4], Operations: ['93-77=16', '44-40=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[77, 40, 93, 44], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [40, 44, 16]
Generated Node #0,3: 64:[40, 44, 16] Operation: 93-77=16
Moving to Node #0,3
Current State: 64:[40, 44, 16], Operations: ['93-77=16']
Exploring Operation: 44-40=4, Resulting Numbers: [16, 4]
Generated Node #0,3,0: 64:[16, 4] Operation: 44-40=4
Moving to Node #0,3,0
Current State: 64:[16, 4], Operations: ['93-77=16', '44-40=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
25,
7,
4,
45
] | 62 | [
"25*4=100",
"45-7=38",
"100-38=62"
] | Current State: 62:[25, 7, 4, 45], Operations: []
Exploring Operation: 25*4=100, Resulting Numbers: [7, 45, 100]
Generated Node #2: [7, 45, 100] from Operation: 25*4=100
Current State: 62:[7, 45, 100], Operations: ['25*4=100']
Exploring Operation: 45-7=38, Resulting Numbers: [100, 38]
Generated Node #3: [100, 38] from Operation: 45-7=38
Current State: 62:[100, 38], Operations: ['25*4=100', '45-7=38']
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[25, 7, 4, 45], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [7, 4, 20]
Generated Node #0,0: 62:[7, 4, 20] Operation: 45-25=20
Exploring Operation: 45-7=38, Resulting Numbers: [25, 4, 38]
Generated Node #0,1: 62:[25, 4, 38] Operation: 45-7=38
Exploring Operation: 25+7=32, Resulting Numbers: [4, 45, 32]
Generated Node #0,2: 62:[4, 45, 32] Operation: 25+7=32
Exploring Operation: 25+45=70, Resulting Numbers: [7, 4, 70]
Generated Node #0,3: 62:[7, 4, 70] Operation: 25+45=70
Exploring Operation: 7+45=52, Resulting Numbers: [25, 4, 52]
Generated Node #0,4: 62:[25, 4, 52] Operation: 7+45=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[25, 4, 38], Operations: ['45-7=38']
Exploring Operation: 25-4=21, Resulting Numbers: [38, 21]
Generated Node #0,1,0: 62:[38, 21] Operation: 25-4=21
Exploring Operation: 38-25=13, Resulting Numbers: [4, 13]
Generated Node #0,1,1: 62:[4, 13] Operation: 38-25=13
Exploring Operation: 25+4=29, Resulting Numbers: [38, 29]
Generated Node #0,1,2: 62:[38, 29] Operation: 25+4=29
Exploring Operation: 38-4=34, Resulting Numbers: [25, 34]
Generated Node #0,1,3: 62:[25, 34] Operation: 38-4=34
Exploring Operation: 25+38=63, Resulting Numbers: [4, 63]
Generated Node #0,1,4: 62:[4, 63] Operation: 25+38=63
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 62:[4, 63], Operations: ['45-7=38', '25+38=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,62 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,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:[38, 29], Operations: ['45-7=38', '25+4=29']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,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,3
Current State: 62:[25, 34], Operations: ['45-7=38', '38-4=34']
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,62 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,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:[4, 13], Operations: ['45-7=38', '38-25=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,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:[38, 21], Operations: ['45-7=38', '25-4=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,62 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,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:[7, 4, 70], Operations: ['25+45=70']
Exploring Operation: 7-4=3, Resulting Numbers: [70, 3]
Generated Node #0,3,0: 62:[70, 3] Operation: 7-4=3
Exploring Operation: 70/7=10, Resulting Numbers: [4, 10]
Generated Node #0,3,1: 62:[4, 10] Operation: 70/7=10
Exploring Operation: 7*4=28, Resulting Numbers: [70, 28]
Generated Node #0,3,2: 62:[70, 28] Operation: 7*4=28
Exploring Operation: 70-4=66, Resulting Numbers: [7, 66]
Generated Node #0,3,3: 62:[7, 66] Operation: 70-4=66
Exploring Operation: 70-7=63, Resulting Numbers: [4, 63]
Generated Node #0,3,4: 62:[4, 63] Operation: 70-7=63
Moving to Node #0,3,4
Current State: 62:[4, 63], Operations: ['25+45=70', '70-7=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[7, 66], Operations: ['25+45=70', '70-4=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,62 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,62 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[70, 3], Operations: ['25+45=70', '7-4=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,62 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,62 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[4, 10], Operations: ['25+45=70', '70/7=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[70, 28], Operations: ['25+45=70', '7*4=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,62 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,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:[4, 45, 32], Operations: ['25+7=32']
Exploring Operation: 45-4=41, Resulting Numbers: [32, 41]
Generated Node #0,2,0: 62:[32, 41] Operation: 45-4=41
Exploring Operation: 32-4=28, Resulting Numbers: [45, 28]
Generated Node #0,2,1: 62:[45, 28] Operation: 32-4=28
Exploring Operation: 45-32=13, Resulting Numbers: [4, 13]
Generated Node #0,2,2: 62:[4, 13] Operation: 45-32=13
Exploring Operation: 45+32=77, Resulting Numbers: [4, 77]
Generated Node #0,2,3: 62:[4, 77] Operation: 45+32=77
Exploring Operation: 4+45=49, Resulting Numbers: [32, 49]
Generated Node #0,2,4: 62:[32, 49] Operation: 4+45=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[32, 41], Operations: ['25+7=32', '45-4=41']
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,62 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,62 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,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,2
Current State: 62:[4, 13], Operations: ['25+7=32', '45-32=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,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,4
Current State: 62:[32, 49], Operations: ['25+7=32', '4+45=49']
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,62 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,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:[45, 28], Operations: ['25+7=32', '32-4=28']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,62 unequal: No Solution
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,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:[4, 77], Operations: ['25+7=32', '45+32=77']
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,62 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,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:[7, 4, 20], Operations: ['45-25=20']
Exploring Operation: 20-7=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 62:[4, 13] Operation: 20-7=13
Exploring Operation: 4+20=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 62:[7, 24] Operation: 4+20=24
Exploring Operation: 20/4=5, Resulting Numbers: [7, 5]
Generated Node #0,0,2: 62:[7, 5] Operation: 20/4=5
Exploring Operation: 7-4=3, Resulting Numbers: [20, 3]
Generated Node #0,0,3: 62:[20, 3] Operation: 7-4=3
Exploring Operation: 7+20=27, Resulting Numbers: [4, 27]
Generated Node #0,0,4: 62:[4, 27] Operation: 7+20=27
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 62:[4, 27], Operations: ['45-25=20', '7+20=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,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:[7, 5], Operations: ['45-25=20', '20/4=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,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:[7, 24], Operations: ['45-25=20', '4+20=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,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:[20, 3], Operations: ['45-25=20', '7-4=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,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,0
Current State: 62:[4, 13], Operations: ['45-25=20', '20-7=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,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,4
Current State: 62:[25, 4, 52], Operations: ['7+45=52']
Exploring Operation: 4+52=56, Resulting Numbers: [25, 56]
Generated Node #0,4,0: 62:[25, 56] Operation: 4+52=56
Exploring Operation: 25+4=29, Resulting Numbers: [52, 29]
Generated Node #0,4,1: 62:[52, 29] Operation: 25+4=29
Exploring Operation: 52/4=13, Resulting Numbers: [25, 13]
Generated Node #0,4,2: 62:[25, 13] Operation: 52/4=13
Exploring Operation: 52-25=27, Resulting Numbers: [4, 27]
Generated Node #0,4,3: 62:[4, 27] Operation: 52-25=27
Exploring Operation: 25+52=77, Resulting Numbers: [4, 77]
Generated Node #0,4,4: 62:[4, 77] Operation: 25+52=77
Moving to Node #0,4,3
Current State: 62:[4, 27], Operations: ['7+45=52', '52-25=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,62 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,4,1
Current State: 62:[52, 29], Operations: ['7+45=52', '25+4=29']
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,62 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,4,0
Current State: 62:[25, 56], Operations: ['7+45=52', '4+52=56']
Exploring Operation: 25*56=1400, Resulting Numbers: [1400]
1400,62 unequal: No Solution
Exploring Operation: 25+56=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[25, 13], Operations: ['7+45=52', '52/4=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,62 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,4,4
Current State: 62:[4, 77], Operations: ['7+45=52', '25+52=77']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,62 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
20,
4,
46,
72
] | 31 | [
"20/4=5",
"72-46=26",
"5+26=31"
] | Current State: 31:[20, 4, 46, 72], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [46, 72, 5]
Generated Node #2: [46, 72, 5] from Operation: 20/4=5
Current State: 31:[46, 72, 5], Operations: ['20/4=5']
Exploring Operation: 72-46=26, Resulting Numbers: [5, 26]
Generated Node #3: [5, 26] from Operation: 72-46=26
Current State: 31:[5, 26], Operations: ['20/4=5', '72-46=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[20, 4, 46, 72], Operations: []
Exploring Operation: 20+4=24, Resulting Numbers: [46, 72, 24]
Generated Node #0,0: 31:[46, 72, 24] Operation: 20+4=24
Exploring Operation: 72-46=26, Resulting Numbers: [20, 4, 26]
Generated Node #0,1: 31:[20, 4, 26] Operation: 72-46=26
Exploring Operation: 72/4=18, Resulting Numbers: [20, 46, 18]
Generated Node #0,2: 31:[20, 46, 18] Operation: 72/4=18
Moving to Node #0,2
Current State: 31:[20, 46, 18], Operations: ['72/4=18']
Exploring Operation: 46-20=26, Resulting Numbers: [18, 26]
Generated Node #0,2,0: 31:[18, 26] Operation: 46-20=26
Exploring Operation: 20+18=38, Resulting Numbers: [46, 38]
Generated Node #0,2,1: 31:[46, 38] Operation: 20+18=38
Exploring Operation: 46-18=28, Resulting Numbers: [20, 28]
Generated Node #0,2,2: 31:[20, 28] Operation: 46-18=28
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[20, 28], Operations: ['72/4=18', '46-18=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,31 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[18, 26], Operations: ['72/4=18', '46-20=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,31 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[46, 38], Operations: ['72/4=18', '20+18=38']
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,31 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,31 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: 31:[20, 4, 26], Operations: ['72-46=26']
Exploring Operation: 20-4=16, Resulting Numbers: [26, 16]
Generated Node #0,1,0: 31:[26, 16] Operation: 20-4=16
Exploring Operation: 4+26=30, Resulting Numbers: [20, 30]
Generated Node #0,1,1: 31:[20, 30] Operation: 4+26=30
Exploring Operation: 20+4=24, Resulting Numbers: [26, 24]
Generated Node #0,1,2: 31:[26, 24] Operation: 20+4=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[20, 30], Operations: ['72-46=26', '4+26=30']
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,31 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[26, 24], Operations: ['72-46=26', '20+4=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[26, 16], Operations: ['72-46=26', '20-4=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,31 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,31 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: 31:[46, 72, 24], Operations: ['20+4=24']
Exploring Operation: 72/24=3, Resulting Numbers: [46, 3]
Generated Node #0,0,0: 31:[46, 3] Operation: 72/24=3
Exploring Operation: 72-24=48, Resulting Numbers: [46, 48]
Generated Node #0,0,1: 31:[46, 48] Operation: 72-24=48
Exploring Operation: 72-46=26, Resulting Numbers: [24, 26]
Generated Node #0,0,2: 31:[24, 26] Operation: 72-46=26
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[24, 26], Operations: ['20+4=24', '72-46=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,31 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[46, 48], Operations: ['20+4=24', '72-24=48']
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,31 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[46, 3], Operations: ['20+4=24', '72/24=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
59,
57,
5
] | 39 | [
"57-53=4",
"5*4=20",
"59-20=39"
] | Current State: 39:[53, 59, 57, 5], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [59, 5, 4]
Generated Node #2: [59, 5, 4] from Operation: 57-53=4
Current State: 39:[59, 5, 4], Operations: ['57-53=4']
Exploring Operation: 5*4=20, Resulting Numbers: [59, 20]
Generated Node #3: [59, 20] from Operation: 5*4=20
Current State: 39:[59, 20], Operations: ['57-53=4', '5*4=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[53, 59, 57, 5], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [53, 5, 2]
Generated Node #0,0: 39:[53, 5, 2] Operation: 59-57=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[53, 5, 2], Operations: ['59-57=2']
Exploring Operation: 53-5=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 39:[2, 48] Operation: 53-5=48
Moving to Node #0,0,0
Current State: 39:[2, 48], Operations: ['59-57=2', '53-5=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,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 |
[
12,
4,
78,
98
] | 17 | [
"12/4=3",
"98-78=20",
"20-3=17"
] | Current State: 17:[12, 4, 78, 98], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [78, 98, 3]
Generated Node #2: [78, 98, 3] from Operation: 12/4=3
Current State: 17:[78, 98, 3], Operations: ['12/4=3']
Exploring Operation: 98-78=20, Resulting Numbers: [3, 20]
Generated Node #3: [3, 20] from Operation: 98-78=20
Current State: 17:[3, 20], Operations: ['12/4=3', '98-78=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[12, 4, 78, 98], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [12, 4, 20]
Generated Node #0,0: 17:[12, 4, 20] Operation: 98-78=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[12, 4, 20], Operations: ['98-78=20']
Exploring Operation: 12+4=16, Resulting Numbers: [20, 16]
Generated Node #0,0,0: 17:[20, 16] Operation: 12+4=16
Moving to Node #0,0,0
Current State: 17:[20, 16], Operations: ['98-78=20', '12+4=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,17 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 |
[
80,
72,
10,
82
] | 31 | [
"82-80=2",
"72-10=62",
"62/2=31"
] | Current State: 31:[80, 72, 10, 82], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [72, 10, 2]
Generated Node #2: [72, 10, 2] from Operation: 82-80=2
Current State: 31:[72, 10, 2], Operations: ['82-80=2']
Exploring Operation: 72-10=62, Resulting Numbers: [2, 62]
Generated Node #3: [2, 62] from Operation: 72-10=62
Current State: 31:[2, 62], Operations: ['82-80=2', '72-10=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[80, 72, 10, 82], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [80, 10, 10]
Generated Node #0,0: 31:[80, 10, 10] Operation: 82-72=10
Exploring Operation: 80/10=8, Resulting Numbers: [72, 82, 8]
Generated Node #0,1: 31:[72, 82, 8] Operation: 80/10=8
Exploring Operation: 82-80=2, Resulting Numbers: [72, 10, 2]
Generated Node #0,2: 31:[72, 10, 2] Operation: 82-80=2
Exploring Operation: 80-10=70, Resulting Numbers: [72, 82, 70]
Generated Node #0,3: 31:[72, 82, 70] Operation: 80-10=70
Exploring Operation: 80-72=8, Resulting Numbers: [10, 82, 8]
Generated Node #0,4: 31:[10, 82, 8] Operation: 80-72=8
Moving to Node #0,0
Current State: 31:[80, 10, 10], Operations: ['82-72=10']
Exploring Operation: 10+10=20, Resulting Numbers: [80, 20]
Generated Node #0,0,0: 31:[80, 20] Operation: 10+10=20
Exploring Operation: 80/10=8, Resulting Numbers: [10, 8]
Generated Node #0,0,1: 31:[10, 8] Operation: 80/10=8
Exploring Operation: 80-10=70, Resulting Numbers: [10, 70]
Generated Node #0,0,2: 31:[10, 70] Operation: 80-10=70
Exploring Operation: 80-10=70, Resulting Numbers: [10, 70]
Generated Node #0,0,3: 31:[10, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [10, 8]
Generated Node #0,0,4: 31:[10, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[10, 8], Operations: ['82-72=10', '80/10=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 31:[10, 8], Operations: ['82-72=10', '80/10=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[80, 20], Operations: ['82-72=10', '10+10=20']
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,31 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[10, 70], Operations: ['82-72=10', '80-10=70']
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,31 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[10, 70], Operations: ['82-72=10', '80-10=70']
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,31 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,31 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: 31:[72, 10, 2], Operations: ['82-80=2']
Exploring Operation: 72-10=62, Resulting Numbers: [2, 62]
Generated Node #0,2,0: 31:[2, 62] Operation: 72-10=62
Exploring Operation: 10+2=12, Resulting Numbers: [72, 12]
Generated Node #0,2,1: 31:[72, 12] Operation: 10+2=12
Exploring Operation: 10*2=20, Resulting Numbers: [72, 20]
Generated Node #0,2,2: 31:[72, 20] Operation: 10*2=20
Exploring Operation: 72/2=36, Resulting Numbers: [10, 36]
Generated Node #0,2,3: 31:[10, 36] Operation: 72/2=36
Exploring Operation: 72-2=70, Resulting Numbers: [10, 70]
Generated Node #0,2,4: 31:[10, 70] Operation: 72-2=70
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[10, 36], Operations: ['82-80=2', '72/2=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,31 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[72, 20], Operations: ['82-80=2', '10*2=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[2, 62], Operations: ['82-80=2', '72-10=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[80, 72, 10, 82], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [72, 10, 2]
Generated Node #0,2: 31:[72, 10, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 31:[72, 10, 2], Operations: ['82-80=2']
Exploring Operation: 72-10=62, Resulting Numbers: [2, 62]
Generated Node #0,2,0: 31:[2, 62] Operation: 72-10=62
Moving to Node #0,2,0
Current State: 31:[2, 62], Operations: ['82-80=2', '72-10=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | mult_heuristic |
[
2,
4,
9,
23
] | 18 | [
"4+9=13",
"23+13=36",
"36/2=18"
] | Current State: 18:[2, 4, 9, 23], Operations: []
Exploring Operation: 4+9=13, Resulting Numbers: [2, 23, 13]
Generated Node #2: [2, 23, 13] from Operation: 4+9=13
Current State: 18:[2, 23, 13], Operations: ['4+9=13']
Exploring Operation: 23+13=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 23+13=36
Current State: 18:[2, 36], Operations: ['4+9=13', '23+13=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[2, 4, 9, 23], Operations: []
Exploring Operation: 23-4=19, Resulting Numbers: [2, 9, 19]
Generated Node #0,0: 18:[2, 9, 19] Operation: 23-4=19
Moving to Node #0,0
Current State: 18:[2, 9, 19], Operations: ['23-4=19']
Exploring Operation: 2*9=18, Resulting Numbers: [19, 18]
Generated Node #0,0,0: 18:[19, 18] Operation: 2*9=18
Moving to Node #0,0,0
Current State: 18:[19, 18], Operations: ['23-4=19', '2*9=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
46,
7,
4
] | 22 | [
"96-46=50",
"7*4=28",
"50-28=22"
] | Current State: 22:[96, 46, 7, 4], Operations: []
Exploring Operation: 96-46=50, Resulting Numbers: [7, 4, 50]
Generated Node #2: [7, 4, 50] from Operation: 96-46=50
Current State: 22:[7, 4, 50], Operations: ['96-46=50']
Exploring Operation: 7*4=28, Resulting Numbers: [50, 28]
Generated Node #3: [50, 28] from Operation: 7*4=28
Current State: 22:[50, 28], Operations: ['96-46=50', '7*4=28']
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[96, 46, 7, 4], Operations: []
Exploring Operation: 96-46=50, Resulting Numbers: [7, 4, 50]
Generated Node #0,0: 22:[7, 4, 50] Operation: 96-46=50
Exploring Operation: 96-7=89, Resulting Numbers: [46, 4, 89]
Generated Node #0,1: 22:[46, 4, 89] Operation: 96-7=89
Exploring Operation: 96/4=24, Resulting Numbers: [46, 7, 24]
Generated Node #0,2: 22:[46, 7, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[46, 7, 24], Operations: ['96/4=24']
Exploring Operation: 46-24=22, Resulting Numbers: [7, 22]
Generated Node #0,2,0: 22:[7, 22] Operation: 46-24=22
Exploring Operation: 46-7=39, Resulting Numbers: [24, 39]
Generated Node #0,2,1: 22:[24, 39] Operation: 46-7=39
Exploring Operation: 24-7=17, Resulting Numbers: [46, 17]
Generated Node #0,2,2: 22:[46, 17] Operation: 24-7=17
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[7, 22], Operations: ['96/4=24', '46-24=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,22 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,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:[24, 39], Operations: ['96/4=24', '46-7=39']
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,22 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,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:[46, 17], Operations: ['96/4=24', '24-7=17']
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,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,0
Current State: 22:[7, 4, 50], Operations: ['96-46=50']
Exploring Operation: 50-4=46, Resulting Numbers: [7, 46]
Generated Node #0,0,0: 22:[7, 46] Operation: 50-4=46
Exploring Operation: 7+4=11, Resulting Numbers: [50, 11]
Generated Node #0,0,1: 22:[50, 11] Operation: 7+4=11
Exploring Operation: 50-7=43, Resulting Numbers: [4, 43]
Generated Node #0,0,2: 22:[4, 43] Operation: 50-7=43
Moving to Node #0,0,2
Current State: 22:[4, 43], Operations: ['96-46=50', '50-7=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[7, 46], Operations: ['96-46=50', '50-4=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,22 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[50, 11], Operations: ['96-46=50', '7+4=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,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:[46, 4, 89], Operations: ['96-7=89']
Exploring Operation: 89-4=85, Resulting Numbers: [46, 85]
Generated Node #0,1,0: 22:[46, 85] Operation: 89-4=85
Exploring Operation: 46-4=42, Resulting Numbers: [89, 42]
Generated Node #0,1,1: 22:[89, 42] Operation: 46-4=42
Exploring Operation: 89-46=43, Resulting Numbers: [4, 43]
Generated Node #0,1,2: 22:[4, 43] Operation: 89-46=43
Moving to Node #0,1,2
Current State: 22:[4, 43], Operations: ['96-7=89', '89-46=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[46, 85], Operations: ['96-7=89', '89-4=85']
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 46*85=3910, Resulting Numbers: [3910]
3910,22 unequal: No Solution
Exploring Operation: 46+85=131, Resulting Numbers: [131]
131,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[89, 42], Operations: ['96-7=89', '46-4=42']
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,22 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
71,
52,
57,
8
] | 36 | [
"71+57=128",
"128/8=16",
"52-16=36"
] | Current State: 36:[71, 52, 57, 8], Operations: []
Exploring Operation: 71+57=128, Resulting Numbers: [52, 8, 128]
Generated Node #2: [52, 8, 128] from Operation: 71+57=128
Current State: 36:[52, 8, 128], Operations: ['71+57=128']
Exploring Operation: 128/8=16, Resulting Numbers: [52, 16]
Generated Node #3: [52, 16] from Operation: 128/8=16
Current State: 36:[52, 16], Operations: ['71+57=128', '128/8=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[71, 52, 57, 8], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [57, 8, 19]
Generated Node #0,0: 36:[57, 8, 19] Operation: 71-52=19
Exploring Operation: 71-57=14, Resulting Numbers: [52, 8, 14]
Generated Node #0,1: 36:[52, 8, 14] Operation: 71-57=14
Exploring Operation: 57-52=5, Resulting Numbers: [71, 8, 5]
Generated Node #0,2: 36:[71, 8, 5] Operation: 57-52=5
Moving to Node #0,1
Current State: 36:[52, 8, 14], Operations: ['71-57=14']
Exploring Operation: 52-14=38, Resulting Numbers: [8, 38]
Generated Node #0,1,0: 36:[8, 38] Operation: 52-14=38
Exploring Operation: 52-8=44, Resulting Numbers: [14, 44]
Generated Node #0,1,1: 36:[14, 44] Operation: 52-8=44
Exploring Operation: 14-8=6, Resulting Numbers: [52, 6]
Generated Node #0,1,2: 36:[52, 6] Operation: 14-8=6
Moving to Node #0,0
Current State: 36:[57, 8, 19], Operations: ['71-52=19']
Exploring Operation: 57/19=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 36:[8, 3] Operation: 57/19=3
Exploring Operation: 57-8=49, Resulting Numbers: [19, 49]
Generated Node #0,0,1: 36:[19, 49] Operation: 57-8=49
Exploring Operation: 57-19=38, Resulting Numbers: [8, 38]
Generated Node #0,0,2: 36:[8, 38] Operation: 57-19=38
Moving to Node #0,2
Current State: 36:[71, 8, 5], Operations: ['57-52=5']
Exploring Operation: 8-5=3, Resulting Numbers: [71, 3]
Generated Node #0,2,0: 36:[71, 3] Operation: 8-5=3
Exploring Operation: 71-5=66, Resulting Numbers: [8, 66]
Generated Node #0,2,1: 36:[8, 66] Operation: 71-5=66
Exploring Operation: 71-8=63, Resulting Numbers: [5, 63]
Generated Node #0,2,2: 36:[5, 63] Operation: 71-8=63
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[5, 63], Operations: ['57-52=5', '71-8=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,36 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,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,2,1
Current State: 36:[8, 66], Operations: ['57-52=5', '71-5=66']
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,36 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,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,2,0
Current State: 36:[71, 3], Operations: ['57-52=5', '8-5=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,36 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,36 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: 36:[8, 3], Operations: ['71-52=19', '57/19=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[8, 38], Operations: ['71-57=14', '52-14=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,36 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[8, 38], Operations: ['71-52=19', '57-19=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,36 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[14, 44], Operations: ['71-57=14', '52-8=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,36 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[19, 49], Operations: ['71-52=19', '57-8=49']
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,36 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[52, 6], Operations: ['71-57=14', '14-8=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,36 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,36 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
50,
68,
10,
27
] | 46 | [
"50/10=5",
"68-27=41",
"5+41=46"
] | Current State: 46:[50, 68, 10, 27], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [68, 27, 5]
Generated Node #2: [68, 27, 5] from Operation: 50/10=5
Current State: 46:[68, 27, 5], Operations: ['50/10=5']
Exploring Operation: 68-27=41, Resulting Numbers: [5, 41]
Generated Node #3: [5, 41] from Operation: 68-27=41
Current State: 46:[5, 41], Operations: ['50/10=5', '68-27=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[50, 68, 10, 27], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [68, 10, 23]
Generated Node #0,0: 46:[68, 10, 23] Operation: 50-27=23
Exploring Operation: 50/10=5, Resulting Numbers: [68, 27, 5]
Generated Node #0,1: 46:[68, 27, 5] Operation: 50/10=5
Exploring Operation: 68-10=58, Resulting Numbers: [50, 27, 58]
Generated Node #0,2: 46:[50, 27, 58] Operation: 68-10=58
Exploring Operation: 68-27=41, Resulting Numbers: [50, 10, 41]
Generated Node #0,3: 46:[50, 10, 41] Operation: 68-27=41
Exploring Operation: 68-50=18, Resulting Numbers: [10, 27, 18]
Generated Node #0,4: 46:[10, 27, 18] Operation: 68-50=18
Moving to Node #0,3
Current State: 46:[50, 10, 41], Operations: ['68-27=41']
Exploring Operation: 10+41=51, Resulting Numbers: [50, 51]
Generated Node #0,3,0: 46:[50, 51] Operation: 10+41=51
Exploring Operation: 50/10=5, Resulting Numbers: [41, 5]
Generated Node #0,3,1: 46:[41, 5] Operation: 50/10=5
Exploring Operation: 50-41=9, Resulting Numbers: [10, 9]
Generated Node #0,3,2: 46:[10, 9] Operation: 50-41=9
Exploring Operation: 50-10=40, Resulting Numbers: [41, 40]
Generated Node #0,3,3: 46:[41, 40] Operation: 50-10=40
Exploring Operation: 41-10=31, Resulting Numbers: [50, 31]
Generated Node #0,3,4: 46:[50, 31] Operation: 41-10=31
Moving to Node #0,4
Current State: 46:[10, 27, 18], Operations: ['68-50=18']
Exploring Operation: 10+18=28, Resulting Numbers: [27, 28]
Generated Node #0,4,0: 46:[27, 28] Operation: 10+18=28
Exploring Operation: 27+18=45, Resulting Numbers: [10, 45]
Generated Node #0,4,1: 46:[10, 45] Operation: 27+18=45
Exploring Operation: 10+27=37, Resulting Numbers: [18, 37]
Generated Node #0,4,2: 46:[18, 37] Operation: 10+27=37
Exploring Operation: 27-10=17, Resulting Numbers: [18, 17]
Generated Node #0,4,3: 46:[18, 17] Operation: 27-10=17
Exploring Operation: 18-10=8, Resulting Numbers: [27, 8]
Generated Node #0,4,4: 46:[27, 8] Operation: 18-10=8
Moving to Node #0,2
Current State: 46:[50, 27, 58], Operations: ['68-10=58']
Exploring Operation: 58-50=8, Resulting Numbers: [27, 8]
Generated Node #0,2,0: 46:[27, 8] Operation: 58-50=8
Exploring Operation: 50+27=77, Resulting Numbers: [58, 77]
Generated Node #0,2,1: 46:[58, 77] Operation: 50+27=77
Exploring Operation: 50-27=23, Resulting Numbers: [58, 23]
Generated Node #0,2,2: 46:[58, 23] Operation: 50-27=23
Exploring Operation: 27+58=85, Resulting Numbers: [50, 85]
Generated Node #0,2,3: 46:[50, 85] Operation: 27+58=85
Exploring Operation: 58-27=31, Resulting Numbers: [50, 31]
Generated Node #0,2,4: 46:[50, 31] Operation: 58-27=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[27, 8], Operations: ['68-10=58', '58-50=8']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[58, 23], Operations: ['68-10=58', '50-27=23']
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,46 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 46:[50, 31], Operations: ['68-10=58', '58-27=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,46 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[58, 77], Operations: ['68-10=58', '50+27=77']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 58*77=4466, Resulting Numbers: [4466]
4466,46 unequal: No Solution
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[50, 85], Operations: ['68-10=58', '27+58=85']
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 50+85=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 50*85=4250, Resulting Numbers: [4250]
4250,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 46:[68, 27, 5], Operations: ['50/10=5']
Exploring Operation: 68+5=73, Resulting Numbers: [27, 73]
Generated Node #0,1,0: 46:[27, 73] Operation: 68+5=73
Exploring Operation: 27+5=32, Resulting Numbers: [68, 32]
Generated Node #0,1,1: 46:[68, 32] Operation: 27+5=32
Exploring Operation: 68-27=41, Resulting Numbers: [5, 41]
Generated Node #0,1,2: 46:[5, 41] Operation: 68-27=41
Exploring Operation: 27-5=22, Resulting Numbers: [68, 22]
Generated Node #0,1,3: 46:[68, 22] Operation: 27-5=22
Exploring Operation: 68-5=63, Resulting Numbers: [27, 63]
Generated Node #0,1,4: 46:[27, 63] Operation: 68-5=63
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[5, 41], Operations: ['50/10=5', '68-27=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[50, 68, 10, 27], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [68, 27, 5]
Generated Node #0,1: 46:[68, 27, 5] Operation: 50/10=5
Moving to Node #0,1
Current State: 46:[68, 27, 5], Operations: ['50/10=5']
Exploring Operation: 68-27=41, Resulting Numbers: [5, 41]
Generated Node #0,1,2: 46:[5, 41] Operation: 68-27=41
Moving to Node #0,1,2
Current State: 46:[5, 41], Operations: ['50/10=5', '68-27=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | sum_heuristic |
[
82,
17,
24,
84
] | 39 | [
"82+17=99",
"84-24=60",
"99-60=39"
] | Current State: 39:[82, 17, 24, 84], Operations: []
Exploring Operation: 82+17=99, Resulting Numbers: [24, 84, 99]
Generated Node #2: [24, 84, 99] from Operation: 82+17=99
Current State: 39:[24, 84, 99], Operations: ['82+17=99']
Exploring Operation: 84-24=60, Resulting Numbers: [99, 60]
Generated Node #3: [99, 60] from Operation: 84-24=60
Current State: 39:[99, 60], Operations: ['82+17=99', '84-24=60']
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[82, 17, 24, 84], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [17, 84, 58]
Generated Node #0,0: 39:[17, 84, 58] Operation: 82-24=58
Exploring Operation: 84-82=2, Resulting Numbers: [17, 24, 2]
Generated Node #0,1: 39:[17, 24, 2] Operation: 84-82=2
Moving to Node #0,1
Current State: 39:[17, 24, 2], Operations: ['84-82=2']
Exploring Operation: 24-17=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 39:[2, 7] Operation: 24-17=7
Exploring Operation: 17+24=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 39:[2, 41] Operation: 17+24=41
Moving to Node #0,0
Current State: 39:[17, 84, 58], Operations: ['82-24=58']
Exploring Operation: 84-58=26, Resulting Numbers: [17, 26]
Generated Node #0,0,0: 39:[17, 26] Operation: 84-58=26
Exploring Operation: 84-17=67, Resulting Numbers: [58, 67]
Generated Node #0,0,1: 39:[58, 67] Operation: 84-17=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[17, 26], Operations: ['82-24=58', '84-58=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,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,1
Current State: 39:[58, 67], Operations: ['82-24=58', '84-17=67']
Exploring Operation: 58+67=125, Resulting Numbers: [125]
125,39 unequal: No Solution
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,39 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: 39:[2, 41], Operations: ['84-82=2', '17+24=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[82, 17, 24, 84], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [17, 24, 2]
Generated Node #0,1: 39:[17, 24, 2] Operation: 84-82=2
Moving to Node #0,1
Current State: 39:[17, 24, 2], Operations: ['84-82=2']
Exploring Operation: 17+24=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 39:[2, 41] Operation: 17+24=41
Moving to Node #0,1,1
Current State: 39:[2, 41], Operations: ['84-82=2', '17+24=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
87,
48,
16,
8
] | 85 | [
"16+8=24",
"48/24=2",
"87-2=85"
] | Current State: 85:[87, 48, 16, 8], Operations: []
Exploring Operation: 16+8=24, Resulting Numbers: [87, 48, 24]
Generated Node #2: [87, 48, 24] from Operation: 16+8=24
Current State: 85:[87, 48, 24], Operations: ['16+8=24']
Exploring Operation: 48/24=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 48/24=2
Current State: 85:[87, 2], Operations: ['16+8=24', '48/24=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[87, 48, 16, 8], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [87, 8, 3]
Generated Node #0,0: 85:[87, 8, 3] Operation: 48/16=3
Exploring Operation: 48/8=6, Resulting Numbers: [87, 16, 6]
Generated Node #0,1: 85:[87, 16, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[87, 16, 6], Operations: ['48/8=6']
Exploring Operation: 16+6=22, Resulting Numbers: [87, 22]
Generated Node #0,1,0: 85:[87, 22] Operation: 16+6=22
Exploring Operation: 87-6=81, Resulting Numbers: [16, 81]
Generated Node #0,1,1: 85:[16, 81] Operation: 87-6=81
Moving to Node #0,1,1
Current State: 85:[16, 81], Operations: ['48/8=6', '87-6=81']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[87, 22], Operations: ['48/8=6', '16+6=22']
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[87, 8, 3], Operations: ['48/16=3']
Exploring Operation: 8-3=5, Resulting Numbers: [87, 5]
Generated Node #0,0,0: 85:[87, 5] Operation: 8-3=5
Exploring Operation: 87-3=84, Resulting Numbers: [8, 84]
Generated Node #0,0,1: 85:[8, 84] Operation: 87-3=84
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[87, 5], Operations: ['48/16=3', '8-3=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,85 unequal: No Solution
No 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: 85:[8, 84], Operations: ['48/16=3', '87-3=84']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,85 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 |
[
16,
48,
17,
9
] | 78 | [
"48/16=3",
"17+9=26",
"3*26=78"
] | Current State: 78:[16, 48, 17, 9], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [17, 9, 3]
Generated Node #2: [17, 9, 3] from Operation: 48/16=3
Current State: 78:[17, 9, 3], Operations: ['48/16=3']
Exploring Operation: 17+9=26, Resulting Numbers: [3, 26]
Generated Node #3: [3, 26] from Operation: 17+9=26
Current State: 78:[3, 26], Operations: ['48/16=3', '17+9=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[16, 48, 17, 9], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [17, 9, 3]
Generated Node #0,0: 78:[17, 9, 3] Operation: 48/16=3
Moving to Node #0,0
Current State: 78:[17, 9, 3], Operations: ['48/16=3']
Exploring Operation: 17+9=26, Resulting Numbers: [3, 26]
Generated Node #0,0,0: 78:[3, 26] Operation: 17+9=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[3, 26], Operations: ['48/16=3', '17+9=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[16, 48, 17, 9], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [17, 9, 3]
Generated Node #0,0: 78:[17, 9, 3] Operation: 48/16=3
Moving to Node #0,0
Current State: 78:[17, 9, 3], Operations: ['48/16=3']
Exploring Operation: 17+9=26, Resulting Numbers: [3, 26]
Generated Node #0,0,0: 78:[3, 26] Operation: 17+9=26
Moving to Node #0,0,0
Current State: 78:[3, 26], Operations: ['48/16=3', '17+9=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
63,
33,
45,
65
] | 21 | [
"65-63=2",
"33*2=66",
"66-45=21"
] | Current State: 21:[63, 33, 45, 65], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [33, 45, 2]
Generated Node #2: [33, 45, 2] from Operation: 65-63=2
Current State: 21:[33, 45, 2], Operations: ['65-63=2']
Exploring Operation: 33*2=66, Resulting Numbers: [45, 66]
Generated Node #3: [45, 66] from Operation: 33*2=66
Current State: 21:[45, 66], Operations: ['65-63=2', '33*2=66']
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[63, 33, 45, 65], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [33, 45, 2]
Generated Node #0,0: 21:[33, 45, 2] Operation: 65-63=2
Exploring Operation: 65-45=20, Resulting Numbers: [63, 33, 20]
Generated Node #0,1: 21:[63, 33, 20] Operation: 65-45=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[33, 45, 2], Operations: ['65-63=2']
Exploring Operation: 33-2=31, Resulting Numbers: [45, 31]
Generated Node #0,0,0: 21:[45, 31] Operation: 33-2=31
Exploring Operation: 45-33=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 21:[2, 12] Operation: 45-33=12
Moving to Node #0,0,1
Current State: 21:[2, 12], Operations: ['65-63=2', '45-33=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[45, 31], Operations: ['65-63=2', '33-2=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[63, 33, 20], Operations: ['65-45=20']
Exploring Operation: 63-20=43, Resulting Numbers: [33, 43]
Generated Node #0,1,0: 21:[33, 43] Operation: 63-20=43
Exploring Operation: 63-33=30, Resulting Numbers: [20, 30]
Generated Node #0,1,1: 21:[20, 30] Operation: 63-33=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[20, 30], Operations: ['65-45=20', '63-33=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[33, 43], Operations: ['65-45=20', '63-20=43']
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
90,
43,
75
] | 41 | [
"70*90=6300",
"6300/75=84",
"84-43=41"
] | Current State: 41:[70, 90, 43, 75], Operations: []
Exploring Operation: 70*90=6300, Resulting Numbers: [43, 75, 6300]
Generated Node #2: [43, 75, 6300] from Operation: 70*90=6300
Current State: 41:[43, 75, 6300], Operations: ['70*90=6300']
Exploring Operation: 6300/75=84, Resulting Numbers: [43, 84]
Generated Node #3: [43, 84] from Operation: 6300/75=84
Current State: 41:[43, 84], Operations: ['70*90=6300', '6300/75=84']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[70, 90, 43, 75], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [90, 43, 5]
Generated Node #0,0: 41:[90, 43, 5] Operation: 75-70=5
Exploring Operation: 75-43=32, Resulting Numbers: [70, 90, 32]
Generated Node #0,1: 41:[70, 90, 32] Operation: 75-43=32
Exploring Operation: 90-43=47, Resulting Numbers: [70, 75, 47]
Generated Node #0,2: 41:[70, 75, 47] Operation: 90-43=47
Exploring Operation: 90-75=15, Resulting Numbers: [70, 43, 15]
Generated Node #0,3: 41:[70, 43, 15] Operation: 90-75=15
Exploring Operation: 90-70=20, Resulting Numbers: [43, 75, 20]
Generated Node #0,4: 41:[43, 75, 20] Operation: 90-70=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[70, 43, 15], Operations: ['90-75=15']
Exploring Operation: 70+15=85, Resulting Numbers: [43, 85]
Generated Node #0,3,0: 41:[43, 85] Operation: 70+15=85
Exploring Operation: 43+15=58, Resulting Numbers: [70, 58]
Generated Node #0,3,1: 41:[70, 58] Operation: 43+15=58
Exploring Operation: 43-15=28, Resulting Numbers: [70, 28]
Generated Node #0,3,2: 41:[70, 28] Operation: 43-15=28
Exploring Operation: 70-43=27, Resulting Numbers: [15, 27]
Generated Node #0,3,3: 41:[15, 27] Operation: 70-43=27
Exploring Operation: 70-15=55, Resulting Numbers: [43, 55]
Generated Node #0,3,4: 41:[43, 55] Operation: 70-15=55
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 41:[43, 55], Operations: ['90-75=15', '70-15=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,41 unequal: No Solution
No 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: 41:[15, 27], Operations: ['90-75=15', '70-43=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,41 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,41 unequal: No Solution
No 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: 41:[70, 28], Operations: ['90-75=15', '43-15=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,41 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,41 unequal: No Solution
No 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: 41:[43, 85], Operations: ['90-75=15', '70+15=85']
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,41 unequal: No Solution
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,41 unequal: No Solution
No 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: 41:[70, 58], Operations: ['90-75=15', '43+15=58']
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,41 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,41 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: 41:[43, 75, 20], Operations: ['90-70=20']
Exploring Operation: 43+20=63, Resulting Numbers: [75, 63]
Generated Node #0,4,0: 41:[75, 63] Operation: 43+20=63
Exploring Operation: 75-20=55, Resulting Numbers: [43, 55]
Generated Node #0,4,1: 41:[43, 55] Operation: 75-20=55
Exploring Operation: 75-43=32, Resulting Numbers: [20, 32]
Generated Node #0,4,2: 41:[20, 32] Operation: 75-43=32
Exploring Operation: 43-20=23, Resulting Numbers: [75, 23]
Generated Node #0,4,3: 41:[75, 23] Operation: 43-20=23
Exploring Operation: 75+20=95, Resulting Numbers: [43, 95]
Generated Node #0,4,4: 41:[43, 95] Operation: 75+20=95
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 41:[43, 55], Operations: ['90-70=20', '75-20=55']
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,41 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,41 unequal: No Solution
No 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: 41:[20, 32], Operations: ['90-70=20', '75-43=32']
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,41 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No 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: 41:[75, 23], Operations: ['90-70=20', '43-20=23']
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,41 unequal: No Solution
No 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: 41:[75, 63], Operations: ['90-70=20', '43+20=63']
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 75+63=138, Resulting Numbers: [138]
138,41 unequal: No Solution
Exploring Operation: 75*63=4725, Resulting Numbers: [4725]
4725,41 unequal: No Solution
No 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: 41:[43, 95], Operations: ['90-70=20', '75+20=95']
Exploring Operation: 43*95=4085, Resulting Numbers: [4085]
4085,41 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,41 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: 41:[70, 75, 47], Operations: ['90-43=47']
Exploring Operation: 75-47=28, Resulting Numbers: [70, 28]
Generated Node #0,2,0: 41:[70, 28] Operation: 75-47=28
Exploring Operation: 75-70=5, Resulting Numbers: [47, 5]
Generated Node #0,2,1: 41:[47, 5] Operation: 75-70=5
Exploring Operation: 70+47=117, Resulting Numbers: [75, 117]
Generated Node #0,2,2: 41:[75, 117] Operation: 70+47=117
Exploring Operation: 70+75=145, Resulting Numbers: [47, 145]
Generated Node #0,2,3: 41:[47, 145] Operation: 70+75=145
Exploring Operation: 70-47=23, Resulting Numbers: [75, 23]
Generated Node #0,2,4: 41:[75, 23] Operation: 70-47=23
Moving to Node #0,2,0
Current State: 41:[70, 28], Operations: ['90-43=47', '75-47=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,41 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[47, 5], Operations: ['90-43=47', '75-70=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[75, 23], Operations: ['90-43=47', '70-47=23']
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[75, 117], Operations: ['90-43=47', '70+47=117']
Exploring Operation: 75+117=192, Resulting Numbers: [192]
192,41 unequal: No Solution
Exploring Operation: 75*117=8775, Resulting Numbers: [8775]
8775,41 unequal: No Solution
Exploring Operation: 117-75=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[47, 145], Operations: ['90-43=47', '70+75=145']
Exploring Operation: 47+145=192, Resulting Numbers: [192]
192,41 unequal: No Solution
Exploring Operation: 47*145=6815, Resulting Numbers: [6815]
6815,41 unequal: No Solution
Exploring Operation: 145-47=98, Resulting Numbers: [98]
98,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[90, 43, 5], Operations: ['75-70=5']
Exploring Operation: 90-5=85, Resulting Numbers: [43, 85]
Generated Node #0,0,0: 41:[43, 85] Operation: 90-5=85
Exploring Operation: 43-5=38, Resulting Numbers: [90, 38]
Generated Node #0,0,1: 41:[90, 38] Operation: 43-5=38
Exploring Operation: 90+5=95, Resulting Numbers: [43, 95]
Generated Node #0,0,2: 41:[43, 95] Operation: 90+5=95
Exploring Operation: 90-43=47, Resulting Numbers: [5, 47]
Generated Node #0,0,3: 41:[5, 47] Operation: 90-43=47
Exploring Operation: 90/5=18, Resulting Numbers: [43, 18]
Generated Node #0,0,4: 41:[43, 18] Operation: 90/5=18
Moving to Node #0,0,4
Current State: 41:[43, 18], Operations: ['75-70=5', '90/5=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,41 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[5, 47], Operations: ['75-70=5', '90-43=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,41 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[43, 85], Operations: ['75-70=5', '90-5=85']
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,41 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,41 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[90, 38], Operations: ['75-70=5', '43-5=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,41 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[43, 95], Operations: ['75-70=5', '90+5=95']
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,41 unequal: No Solution
Exploring Operation: 43*95=4085, Resulting Numbers: [4085]
4085,41 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[70, 90, 32], Operations: ['75-43=32']
Exploring Operation: 70+32=102, Resulting Numbers: [90, 102]
Generated Node #0,1,0: 41:[90, 102] Operation: 70+32=102
Exploring Operation: 90-32=58, Resulting Numbers: [70, 58]
Generated Node #0,1,1: 41:[70, 58] Operation: 90-32=58
Exploring Operation: 90-70=20, Resulting Numbers: [32, 20]
Generated Node #0,1,2: 41:[32, 20] Operation: 90-70=20
Exploring Operation: 70-32=38, Resulting Numbers: [90, 38]
Generated Node #0,1,3: 41:[90, 38] Operation: 70-32=38
Exploring Operation: 90+32=122, Resulting Numbers: [70, 122]
Generated Node #0,1,4: 41:[70, 122] Operation: 90+32=122
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[32, 20], Operations: ['75-43=32', '90-70=20']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,41 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No 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: 41:[70, 58], Operations: ['75-43=32', '90-32=58']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,41 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,41 unequal: No Solution
No 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: 41:[90, 38], Operations: ['75-43=32', '70-32=38']
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,41 unequal: No Solution
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,41 unequal: No Solution
No 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: 41:[90, 102], Operations: ['75-43=32', '70+32=102']
Exploring Operation: 90*102=9180, Resulting Numbers: [9180]
9180,41 unequal: No Solution
Exploring Operation: 90+102=192, Resulting Numbers: [192]
192,41 unequal: No Solution
Exploring Operation: 102-90=12, Resulting Numbers: [12]
12,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 41:[70, 122], Operations: ['75-43=32', '90+32=122']
Exploring Operation: 70+122=192, Resulting Numbers: [192]
192,41 unequal: No Solution
Exploring Operation: 122-70=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 70*122=8540, Resulting Numbers: [8540]
8540,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.