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 |
|---|---|---|---|---|---|---|---|---|
[
4,
16,
41,
10
] | 15 | [
"4*10=40",
"41-16=25",
"40-25=15"
] | Current State: 15:[4, 16, 41, 10], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [16, 41, 40]
Generated Node #2: [16, 41, 40] from Operation: 4*10=40
Current State: 15:[16, 41, 40], Operations: ['4*10=40']
Exploring Operation: 41-16=25, Resulting Numbers: [40, 25]
Generated Node #3: [40, 25] from Operation: 41-16=25
Current State: 15:[40, 25], Operations: ['4*10=40', '41-16=25']
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[4, 16, 41, 10], Operations: []
Exploring Operation: 41-16=25, Resulting Numbers: [4, 10, 25]
Generated Node #0,0: 15:[4, 10, 25] Operation: 41-16=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[4, 10, 25], Operations: ['41-16=25']
Exploring Operation: 25-10=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 15:[4, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[4, 15], Operations: ['41-16=25', '25-10=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,15 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 |
[
80,
85,
48,
14
] | 39 | [
"85-80=5",
"48-14=34",
"5+34=39"
] | Current State: 39:[80, 85, 48, 14], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [48, 14, 5]
Generated Node #2: [48, 14, 5] from Operation: 85-80=5
Current State: 39:[48, 14, 5], Operations: ['85-80=5']
Exploring Operation: 48-14=34, Resulting Numbers: [5, 34]
Generated Node #3: [5, 34] from Operation: 48-14=34
Current State: 39:[5, 34], Operations: ['85-80=5', '48-14=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[80, 85, 48, 14], Operations: []
Exploring Operation: 85-48=37, Resulting Numbers: [80, 14, 37]
Generated Node #0,0: 39:[80, 14, 37] Operation: 85-48=37
Exploring Operation: 80-48=32, Resulting Numbers: [85, 14, 32]
Generated Node #0,1: 39:[85, 14, 32] Operation: 80-48=32
Exploring Operation: 85-80=5, Resulting Numbers: [48, 14, 5]
Generated Node #0,2: 39:[48, 14, 5] Operation: 85-80=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[48, 14, 5], Operations: ['85-80=5']
Exploring Operation: 48-5=43, Resulting Numbers: [14, 43]
Generated Node #0,2,0: 39:[14, 43] Operation: 48-5=43
Exploring Operation: 14-5=9, Resulting Numbers: [48, 9]
Generated Node #0,2,1: 39:[48, 9] Operation: 14-5=9
Exploring Operation: 48-14=34, Resulting Numbers: [5, 34]
Generated Node #0,2,2: 39:[5, 34] Operation: 48-14=34
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[14, 43], Operations: ['85-80=5', '48-5=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[5, 34], Operations: ['85-80=5', '48-14=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[80, 85, 48, 14], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [48, 14, 5]
Generated Node #0,2: 39:[48, 14, 5] Operation: 85-80=5
Moving to Node #0,2
Current State: 39:[48, 14, 5], Operations: ['85-80=5']
Exploring Operation: 48-14=34, Resulting Numbers: [5, 34]
Generated Node #0,2,2: 39:[5, 34] Operation: 48-14=34
Moving to Node #0,2,2
Current State: 39:[5, 34], Operations: ['85-80=5', '48-14=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
71,
6,
93,
77
] | 81 | [
"71-6=65",
"93-77=16",
"65+16=81"
] | Current State: 81:[71, 6, 93, 77], Operations: []
Exploring Operation: 71-6=65, Resulting Numbers: [93, 77, 65]
Generated Node #2: [93, 77, 65] from Operation: 71-6=65
Current State: 81:[93, 77, 65], Operations: ['71-6=65']
Exploring Operation: 93-77=16, Resulting Numbers: [65, 16]
Generated Node #3: [65, 16] from Operation: 93-77=16
Current State: 81:[65, 16], Operations: ['71-6=65', '93-77=16']
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[71, 6, 93, 77], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [6, 77, 22]
Generated Node #0,0: 81:[6, 77, 22] Operation: 93-71=22
Exploring Operation: 77-71=6, Resulting Numbers: [6, 93, 6]
Generated Node #0,1: 81:[6, 93, 6] Operation: 77-71=6
Exploring Operation: 71+6=77, Resulting Numbers: [93, 77, 77]
Generated Node #0,2: 81:[93, 77, 77] Operation: 71+6=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[6, 77, 22], Operations: ['93-71=22']
Exploring Operation: 22-6=16, Resulting Numbers: [77, 16]
Generated Node #0,0,0: 81:[77, 16] Operation: 22-6=16
Exploring Operation: 6+22=28, Resulting Numbers: [77, 28]
Generated Node #0,0,1: 81:[77, 28] Operation: 6+22=28
Exploring Operation: 6+77=83, Resulting Numbers: [22, 83]
Generated Node #0,0,2: 81:[22, 83] Operation: 6+77=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[77, 28], Operations: ['93-71=22', '6+22=28']
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,81 unequal: No Solution
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[22, 83], Operations: ['93-71=22', '6+77=83']
Exploring Operation: 22+83=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 22*83=1826, Resulting Numbers: [1826]
1826,81 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[77, 16], Operations: ['93-71=22', '22-6=16']
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[6, 93, 6], Operations: ['77-71=6']
Exploring Operation: 93-6=87, Resulting Numbers: [6, 87]
Generated Node #0,1,0: 81:[6, 87] Operation: 93-6=87
Exploring Operation: 93-6=87, Resulting Numbers: [6, 87]
Generated Node #0,1,1: 81:[6, 87] Operation: 93-6=87
Exploring Operation: 6/6=1, Resulting Numbers: [93, 1]
Generated Node #0,1,2: 81:[93, 1] Operation: 6/6=1
Moving to Node #0,1,0
Current State: 81:[6, 87], Operations: ['77-71=6', '93-6=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[71, 6, 93, 77], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [6, 93, 6]
Generated Node #0,1: 81:[6, 93, 6] Operation: 77-71=6
Moving to Node #0,1
Current State: 81:[6, 93, 6], Operations: ['77-71=6']
Exploring Operation: 93-6=87, Resulting Numbers: [6, 87]
Generated Node #0,1,0: 81:[6, 87] Operation: 93-6=87
Moving to Node #0,1,0
Current State: 81:[6, 87], Operations: ['77-71=6', '93-6=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
2,
84,
39,
43
] | 92 | [
"43-39=4",
"2*4=8",
"84+8=92"
] | Current State: 92:[2, 84, 39, 43], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [2, 84, 4]
Generated Node #2: [2, 84, 4] from Operation: 43-39=4
Current State: 92:[2, 84, 4], Operations: ['43-39=4']
Exploring Operation: 2*4=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 2*4=8
Current State: 92:[84, 8], Operations: ['43-39=4', '2*4=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[2, 84, 39, 43], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [2, 84, 4]
Generated Node #0,0: 92:[2, 84, 4] Operation: 43-39=4
Exploring Operation: 84-39=45, Resulting Numbers: [2, 43, 45]
Generated Node #0,1: 92:[2, 43, 45] Operation: 84-39=45
Moving to Node #0,1
Current State: 92:[2, 43, 45], Operations: ['84-39=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 92:[2, 2] Operation: 45-43=2
Exploring Operation: 2+43=45, Resulting Numbers: [45, 45]
Generated Node #0,1,1: 92:[45, 45] Operation: 2+43=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[2, 2], Operations: ['84-39=45', '45-43=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[45, 45], Operations: ['84-39=45', '2+43=45']
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 92:[2, 84, 4], Operations: ['43-39=4']
Exploring Operation: 84/4=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 92:[2, 21] Operation: 84/4=21
Exploring Operation: 84/2=42, Resulting Numbers: [4, 42]
Generated Node #0,0,1: 92:[4, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[2, 21], Operations: ['43-39=4', '84/4=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[4, 42], Operations: ['43-39=4', '84/2=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,92 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 |
[
51,
55,
58,
84
] | 53 | [
"84-55=29",
"58/29=2",
"51+2=53"
] | Current State: 53:[51, 55, 58, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [51, 58, 29]
Generated Node #2: [51, 58, 29] from Operation: 84-55=29
Current State: 53:[51, 58, 29], Operations: ['84-55=29']
Exploring Operation: 58/29=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 58/29=2
Current State: 53:[51, 2], Operations: ['84-55=29', '58/29=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[51, 55, 58, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [51, 58, 29]
Generated Node #0,0: 53:[51, 58, 29] Operation: 84-55=29
Exploring Operation: 84-58=26, Resulting Numbers: [51, 55, 26]
Generated Node #0,1: 53:[51, 55, 26] Operation: 84-58=26
Exploring Operation: 58-51=7, Resulting Numbers: [55, 84, 7]
Generated Node #0,2: 53:[55, 84, 7] Operation: 58-51=7
Exploring Operation: 84-51=33, Resulting Numbers: [55, 58, 33]
Generated Node #0,3: 53:[55, 58, 33] Operation: 84-51=33
Exploring Operation: 58-55=3, Resulting Numbers: [51, 84, 3]
Generated Node #0,4: 53:[51, 84, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[55, 58, 33], Operations: ['84-51=33']
Exploring Operation: 55-33=22, Resulting Numbers: [58, 22]
Generated Node #0,3,0: 53:[58, 22] Operation: 55-33=22
Exploring Operation: 58+33=91, Resulting Numbers: [55, 91]
Generated Node #0,3,1: 53:[55, 91] Operation: 58+33=91
Exploring Operation: 58-33=25, Resulting Numbers: [55, 25]
Generated Node #0,3,2: 53:[55, 25] Operation: 58-33=25
Exploring Operation: 55+33=88, Resulting Numbers: [58, 88]
Generated Node #0,3,3: 53:[58, 88] Operation: 55+33=88
Exploring Operation: 58-55=3, Resulting Numbers: [33, 3]
Generated Node #0,3,4: 53:[33, 3] Operation: 58-55=3
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 53:[55, 25], Operations: ['84-51=33', '58-33=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[58, 22], Operations: ['84-51=33', '55-33=22']
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,53 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 53:[55, 91], Operations: ['84-51=33', '58+33=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,53 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 53:[58, 88], Operations: ['84-51=33', '55+33=88']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 58*88=5104, Resulting Numbers: [5104]
5104,53 unequal: No Solution
Exploring Operation: 58+88=146, Resulting Numbers: [146]
146,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 53:[33, 3], Operations: ['84-51=33', '58-55=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[51, 58, 29], Operations: ['84-55=29']
Exploring Operation: 58+29=87, Resulting Numbers: [51, 87]
Generated Node #0,0,0: 53:[51, 87] Operation: 58+29=87
Exploring Operation: 51-29=22, Resulting Numbers: [58, 22]
Generated Node #0,0,1: 53:[58, 22] Operation: 51-29=22
Exploring Operation: 58/29=2, Resulting Numbers: [51, 2]
Generated Node #0,0,2: 53:[51, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [51, 29]
Generated Node #0,0,3: 53:[51, 29] Operation: 58-29=29
Exploring Operation: 51+29=80, Resulting Numbers: [58, 80]
Generated Node #0,0,4: 53:[58, 80] Operation: 51+29=80
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 53:[51, 29], Operations: ['84-55=29', '58-29=29']
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,53 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 53:[58, 80], Operations: ['84-55=29', '51+29=80']
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,53 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[51, 87], Operations: ['84-55=29', '58+29=87']
Exploring Operation: 51*87=4437, Resulting Numbers: [4437]
4437,53 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 51+87=138, Resulting Numbers: [138]
138,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[58, 22], Operations: ['84-55=29', '51-29=22']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,53 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[51, 2], Operations: ['84-55=29', '58/29=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[51, 55, 58, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [51, 58, 29]
Generated Node #0,0: 53:[51, 58, 29] Operation: 84-55=29
Moving to Node #0,0
Current State: 53:[51, 58, 29], Operations: ['84-55=29']
Exploring Operation: 58/29=2, Resulting Numbers: [51, 2]
Generated Node #0,0,2: 53:[51, 2] Operation: 58/29=2
Moving to Node #0,0,2
Current State: 53:[51, 2], Operations: ['84-55=29', '58/29=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
33,
30,
57,
33
] | 88 | [
"33/33=1",
"30+57=87",
"1+87=88"
] | Current State: 88:[33, 30, 57, 33], Operations: []
Exploring Operation: 33/33=1, Resulting Numbers: [30, 57, 1]
Generated Node #2: [30, 57, 1] from Operation: 33/33=1
Current State: 88:[30, 57, 1], Operations: ['33/33=1']
Exploring Operation: 30+57=87, Resulting Numbers: [1, 87]
Generated Node #3: [1, 87] from Operation: 30+57=87
Current State: 88:[1, 87], Operations: ['33/33=1', '30+57=87']
Exploring Operation: 1+87=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[33, 30, 57, 33], Operations: []
Exploring Operation: 33+57=90, Resulting Numbers: [30, 33, 90]
Generated Node #0,0: 88:[30, 33, 90] Operation: 33+57=90
Exploring Operation: 57+33=90, Resulting Numbers: [33, 30, 90]
Generated Node #0,1: 88:[33, 30, 90] Operation: 57+33=90
Exploring Operation: 57-33=24, Resulting Numbers: [30, 33, 24]
Generated Node #0,2: 88:[30, 33, 24] Operation: 57-33=24
Moving to Node #0,0
Current State: 88:[30, 33, 90], Operations: ['33+57=90']
Exploring Operation: 90/30=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 88:[33, 3] Operation: 90/30=3
Exploring Operation: 33-30=3, Resulting Numbers: [90, 3]
Generated Node #0,0,1: 88:[90, 3] Operation: 33-30=3
Exploring Operation: 30+33=63, Resulting Numbers: [90, 63]
Generated Node #0,0,2: 88:[90, 63] Operation: 30+33=63
Moving to Node #0,1
Current State: 88:[33, 30, 90], Operations: ['57+33=90']
Exploring Operation: 33-30=3, Resulting Numbers: [90, 3]
Generated Node #0,1,0: 88:[90, 3] Operation: 33-30=3
Exploring Operation: 33+30=63, Resulting Numbers: [90, 63]
Generated Node #0,1,1: 88:[90, 63] Operation: 33+30=63
Exploring Operation: 90/30=3, Resulting Numbers: [33, 3]
Generated Node #0,1,2: 88:[33, 3] Operation: 90/30=3
Moving to Node #0,2
Current State: 88:[30, 33, 24], Operations: ['57-33=24']
Exploring Operation: 33-24=9, Resulting Numbers: [30, 9]
Generated Node #0,2,0: 88:[30, 9] Operation: 33-24=9
Exploring Operation: 30-24=6, Resulting Numbers: [33, 6]
Generated Node #0,2,1: 88:[33, 6] Operation: 30-24=6
Exploring Operation: 33-30=3, Resulting Numbers: [24, 3]
Generated Node #0,2,2: 88:[24, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[24, 3], Operations: ['57-33=24', '33-30=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[30, 9], Operations: ['57-33=24', '33-24=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,88 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[33, 6], Operations: ['57-33=24', '30-24=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 88:[90, 3], Operations: ['33+57=90', '33-30=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[90, 3], Operations: ['57+33=90', '33-30=3']
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[33, 3], Operations: ['57+33=90', '90/30=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[33, 3], Operations: ['33+57=90', '90/30=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[90, 63], Operations: ['57+33=90', '33+30=63']
Exploring Operation: 90*63=5670, Resulting Numbers: [5670]
5670,88 unequal: No Solution
Exploring Operation: 90+63=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[90, 63], Operations: ['33+57=90', '30+33=63']
Exploring Operation: 90*63=5670, Resulting Numbers: [5670]
5670,88 unequal: No Solution
Exploring Operation: 90+63=153, Resulting Numbers: [153]
153,88 unequal: No Solution
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
5,
48,
3
] | 70 | [
"41*3=123",
"5+48=53",
"123-53=70"
] | Current State: 70:[41, 5, 48, 3], Operations: []
Exploring Operation: 41*3=123, Resulting Numbers: [5, 48, 123]
Generated Node #2: [5, 48, 123] from Operation: 41*3=123
Current State: 70:[5, 48, 123], Operations: ['41*3=123']
Exploring Operation: 5+48=53, Resulting Numbers: [123, 53]
Generated Node #3: [123, 53] from Operation: 5+48=53
Current State: 70:[123, 53], Operations: ['41*3=123', '5+48=53']
Exploring Operation: 123-53=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[41, 5, 48, 3], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [5, 3, 7]
Generated Node #0,0: 70:[5, 3, 7] Operation: 48-41=7
Exploring Operation: 48/3=16, Resulting Numbers: [41, 5, 16]
Generated Node #0,1: 70:[41, 5, 16] Operation: 48/3=16
Moving to Node #0,0
Current State: 70:[5, 3, 7], Operations: ['48-41=7']
Exploring Operation: 3+7=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 70:[5, 10] Operation: 3+7=10
Exploring Operation: 5-3=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 70:[7, 2] Operation: 5-3=2
Moving to Node #0,1
Current State: 70:[41, 5, 16], Operations: ['48/3=16']
Exploring Operation: 41-5=36, Resulting Numbers: [16, 36]
Generated Node #0,1,0: 70:[16, 36] Operation: 41-5=36
Exploring Operation: 16-5=11, Resulting Numbers: [41, 11]
Generated Node #0,1,1: 70:[41, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[16, 36], Operations: ['48/3=16', '41-5=36']
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,70 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[41, 11], Operations: ['48/3=16', '16-5=11']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,70 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: 70:[5, 10], Operations: ['48-41=7', '3+7=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[7, 2], Operations: ['48-41=7', '5-3=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
12,
3,
8
] | 87 | [
"59-8=51",
"12*3=36",
"51+36=87"
] | Current State: 87:[59, 12, 3, 8], Operations: []
Exploring Operation: 59-8=51, Resulting Numbers: [12, 3, 51]
Generated Node #2: [12, 3, 51] from Operation: 59-8=51
Current State: 87:[12, 3, 51], Operations: ['59-8=51']
Exploring Operation: 12*3=36, Resulting Numbers: [51, 36]
Generated Node #3: [51, 36] from Operation: 12*3=36
Current State: 87:[51, 36], Operations: ['59-8=51', '12*3=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[59, 12, 3, 8], Operations: []
Exploring Operation: 59+12=71, Resulting Numbers: [3, 8, 71]
Generated Node #0,0: 87:[3, 8, 71] Operation: 59+12=71
Exploring Operation: 12-8=4, Resulting Numbers: [59, 3, 4]
Generated Node #0,1: 87:[59, 3, 4] Operation: 12-8=4
Exploring Operation: 59-12=47, Resulting Numbers: [3, 8, 47]
Generated Node #0,2: 87:[3, 8, 47] Operation: 59-12=47
Exploring Operation: 59+8=67, Resulting Numbers: [12, 3, 67]
Generated Node #0,3: 87:[12, 3, 67] Operation: 59+8=67
Moving to Node #0,0
Current State: 87:[3, 8, 71], Operations: ['59+12=71']
Exploring Operation: 8-3=5, Resulting Numbers: [71, 5]
Generated Node #0,0,0: 87:[71, 5] Operation: 8-3=5
Exploring Operation: 3*8=24, Resulting Numbers: [71, 24]
Generated Node #0,0,1: 87:[71, 24] Operation: 3*8=24
Exploring Operation: 8+71=79, Resulting Numbers: [3, 79]
Generated Node #0,0,2: 87:[3, 79] Operation: 8+71=79
Exploring Operation: 3+71=74, Resulting Numbers: [8, 74]
Generated Node #0,0,3: 87:[8, 74] Operation: 3+71=74
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[3, 79], Operations: ['59+12=71', '8+71=79']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,87 unequal: No Solution
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[71, 5], Operations: ['59+12=71', '8-3=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,87 unequal: No Solution
Exploring Operation: 71+5=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,0,3
Current State: 87:[8, 74], Operations: ['59+12=71', '3+71=74']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,87 unequal: No Solution
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[71, 24], Operations: ['59+12=71', '3*8=24']
Exploring Operation: 71+24=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,87 unequal: No Solution
Exploring Operation: 71*24=1704, Resulting Numbers: [1704]
1704,87 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: 87:[3, 8, 47], Operations: ['59-12=47']
Exploring Operation: 47-8=39, Resulting Numbers: [3, 39]
Generated Node #0,2,0: 87:[3, 39] Operation: 47-8=39
Exploring Operation: 8-3=5, Resulting Numbers: [47, 5]
Generated Node #0,2,1: 87:[47, 5] Operation: 8-3=5
Exploring Operation: 3*8=24, Resulting Numbers: [47, 24]
Generated Node #0,2,2: 87:[47, 24] Operation: 3*8=24
Exploring Operation: 47-3=44, Resulting Numbers: [8, 44]
Generated Node #0,2,3: 87:[8, 44] Operation: 47-3=44
Moving to Node #0,3
Current State: 87:[12, 3, 67], Operations: ['59+8=67']
Exploring Operation: 12-3=9, Resulting Numbers: [67, 9]
Generated Node #0,3,0: 87:[67, 9] Operation: 12-3=9
Exploring Operation: 12+67=79, Resulting Numbers: [3, 79]
Generated Node #0,3,1: 87:[3, 79] Operation: 12+67=79
Exploring Operation: 67-12=55, Resulting Numbers: [3, 55]
Generated Node #0,3,2: 87:[3, 55] Operation: 67-12=55
Exploring Operation: 12/3=4, Resulting Numbers: [67, 4]
Generated Node #0,3,3: 87:[67, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[3, 79], Operations: ['59+8=67', '12+67=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,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,3
Current State: 87:[67, 4], Operations: ['59+8=67', '12/3=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,87 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,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,0
Current State: 87:[67, 9], Operations: ['59+8=67', '12-3=9']
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,87 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,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,2
Current State: 87:[3, 55], Operations: ['59+8=67', '67-12=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,87 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: 87:[59, 3, 4], Operations: ['12-8=4']
Exploring Operation: 59+3=62, Resulting Numbers: [4, 62]
Generated Node #0,1,0: 87:[4, 62] Operation: 59+3=62
Exploring Operation: 59-4=55, Resulting Numbers: [3, 55]
Generated Node #0,1,1: 87:[3, 55] Operation: 59-4=55
Exploring Operation: 59+4=63, Resulting Numbers: [3, 63]
Generated Node #0,1,2: 87:[3, 63] Operation: 59+4=63
Exploring Operation: 59-3=56, Resulting Numbers: [4, 56]
Generated Node #0,1,3: 87:[4, 56] Operation: 59-3=56
Moving to Node #0,2,0
Current State: 87:[3, 39], Operations: ['59-12=47', '47-8=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[8, 44], Operations: ['59-12=47', '47-3=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,87 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[47, 5], Operations: ['59-12=47', '8-3=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,87 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[47, 24], Operations: ['59-12=47', '3*8=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,87 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[3, 63], Operations: ['12-8=4', '59+4=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[3, 55], Operations: ['12-8=4', '59-4=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[4, 62], Operations: ['12-8=4', '59+3=62']
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,87 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[4, 56], Operations: ['12-8=4', '59-3=56']
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,87 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,87 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
97,
44,
41
] | 79 | [
"97-21=76",
"44-41=3",
"76+3=79"
] | Current State: 79:[21, 97, 44, 41], Operations: []
Exploring Operation: 97-21=76, Resulting Numbers: [44, 41, 76]
Generated Node #2: [44, 41, 76] from Operation: 97-21=76
Current State: 79:[44, 41, 76], Operations: ['97-21=76']
Exploring Operation: 44-41=3, Resulting Numbers: [76, 3]
Generated Node #3: [76, 3] from Operation: 44-41=3
Current State: 79:[76, 3], Operations: ['97-21=76', '44-41=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[21, 97, 44, 41], Operations: []
Exploring Operation: 21+41=62, Resulting Numbers: [97, 44, 62]
Generated Node #0,0: 79:[97, 44, 62] Operation: 21+41=62
Exploring Operation: 21+44=65, Resulting Numbers: [97, 41, 65]
Generated Node #0,1: 79:[97, 41, 65] Operation: 21+44=65
Exploring Operation: 97-21=76, Resulting Numbers: [44, 41, 76]
Generated Node #0,2: 79:[44, 41, 76] Operation: 97-21=76
Exploring Operation: 44+41=85, Resulting Numbers: [21, 97, 85]
Generated Node #0,3: 79:[21, 97, 85] Operation: 44+41=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[97, 44, 62], Operations: ['21+41=62']
Exploring Operation: 44+62=106, Resulting Numbers: [97, 106]
Generated Node #0,0,0: 79:[97, 106] Operation: 44+62=106
Exploring Operation: 97-44=53, Resulting Numbers: [62, 53]
Generated Node #0,0,1: 79:[62, 53] Operation: 97-44=53
Exploring Operation: 97+44=141, Resulting Numbers: [62, 141]
Generated Node #0,0,2: 79:[62, 141] Operation: 97+44=141
Exploring Operation: 97-62=35, Resulting Numbers: [44, 35]
Generated Node #0,0,3: 79:[44, 35] Operation: 97-62=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[62, 53], Operations: ['21+41=62', '97-44=53']
Exploring Operation: 62+53=115, Resulting Numbers: [115]
115,79 unequal: No Solution
Exploring Operation: 62*53=3286, Resulting Numbers: [3286]
3286,79 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[97, 106], Operations: ['21+41=62', '44+62=106']
Exploring Operation: 97+106=203, Resulting Numbers: [203]
203,79 unequal: No Solution
Exploring Operation: 106-97=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 97*106=10282, Resulting Numbers: [10282]
10282,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[62, 141], Operations: ['21+41=62', '97+44=141']
Exploring Operation: 141-62=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[21, 97, 44, 41], Operations: []
Exploring Operation: 21+41=62, Resulting Numbers: [97, 44, 62]
Generated Node #0,0: 79:[97, 44, 62] Operation: 21+41=62
Moving to Node #0,0
Current State: 79:[97, 44, 62], Operations: ['21+41=62']
Exploring Operation: 97+44=141, Resulting Numbers: [62, 141]
Generated Node #0,0,2: 79:[62, 141] Operation: 97+44=141
Moving to Node #0,0,2
Current State: 79:[62, 141], Operations: ['21+41=62', '97+44=141']
Exploring Operation: 141-62=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
21,
71,
18,
81
] | 49 | [
"71-21=50",
"18+81=99",
"99-50=49"
] | Current State: 49:[21, 71, 18, 81], Operations: []
Exploring Operation: 71-21=50, Resulting Numbers: [18, 81, 50]
Generated Node #2: [18, 81, 50] from Operation: 71-21=50
Current State: 49:[18, 81, 50], Operations: ['71-21=50']
Exploring Operation: 18+81=99, Resulting Numbers: [50, 99]
Generated Node #3: [50, 99] from Operation: 18+81=99
Current State: 49:[50, 99], Operations: ['71-21=50', '18+81=99']
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[21, 71, 18, 81], Operations: []
Exploring Operation: 71-21=50, Resulting Numbers: [18, 81, 50]
Generated Node #0,0: 49:[18, 81, 50] Operation: 71-21=50
Exploring Operation: 71-18=53, Resulting Numbers: [21, 81, 53]
Generated Node #0,1: 49:[21, 81, 53] Operation: 71-18=53
Exploring Operation: 81-21=60, Resulting Numbers: [71, 18, 60]
Generated Node #0,2: 49:[71, 18, 60] Operation: 81-21=60
Exploring Operation: 81-71=10, Resulting Numbers: [21, 18, 10]
Generated Node #0,3: 49:[21, 18, 10] Operation: 81-71=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[21, 18, 10], Operations: ['81-71=10']
Exploring Operation: 21+18=39, Resulting Numbers: [10, 39]
Generated Node #0,3,0: 49:[10, 39] Operation: 21+18=39
Exploring Operation: 21-18=3, Resulting Numbers: [10, 3]
Generated Node #0,3,1: 49:[10, 3] Operation: 21-18=3
Exploring Operation: 21-10=11, Resulting Numbers: [18, 11]
Generated Node #0,3,2: 49:[18, 11] Operation: 21-10=11
Exploring Operation: 18-10=8, Resulting Numbers: [21, 8]
Generated Node #0,3,3: 49:[21, 8] Operation: 18-10=8
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[10, 3], Operations: ['81-71=10', '21-18=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[10, 39], Operations: ['81-71=10', '21+18=39']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[21, 71, 18, 81], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [21, 18, 10]
Generated Node #0,3: 49:[21, 18, 10] Operation: 81-71=10
Moving to Node #0,3
Current State: 49:[21, 18, 10], Operations: ['81-71=10']
Exploring Operation: 21+18=39, Resulting Numbers: [10, 39]
Generated Node #0,3,0: 49:[10, 39] Operation: 21+18=39
Moving to Node #0,3,0
Current State: 49:[10, 39], Operations: ['81-71=10', '21+18=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
19,
58,
95,
57
] | 29 | [
"19*58=1102",
"95-57=38",
"1102/38=29"
] | Current State: 29:[19, 58, 95, 57], Operations: []
Exploring Operation: 19*58=1102, Resulting Numbers: [95, 57, 1102]
Generated Node #2: [95, 57, 1102] from Operation: 19*58=1102
Current State: 29:[95, 57, 1102], Operations: ['19*58=1102']
Exploring Operation: 95-57=38, Resulting Numbers: [1102, 38]
Generated Node #3: [1102, 38] from Operation: 95-57=38
Current State: 29:[1102, 38], Operations: ['19*58=1102', '95-57=38']
Exploring Operation: 1102/38=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[19, 58, 95, 57], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [19, 58, 38]
Generated Node #0,0: 29:[19, 58, 38] Operation: 95-57=38
Exploring Operation: 95-58=37, Resulting Numbers: [19, 57, 37]
Generated Node #0,1: 29:[19, 57, 37] Operation: 95-58=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[19, 57, 37], Operations: ['95-58=37']
Exploring Operation: 57-37=20, Resulting Numbers: [19, 20]
Generated Node #0,1,0: 29:[19, 20] Operation: 57-37=20
Exploring Operation: 57-19=38, Resulting Numbers: [37, 38]
Generated Node #0,1,1: 29:[37, 38] Operation: 57-19=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[37, 38], Operations: ['95-58=37', '57-19=38']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[19, 20], Operations: ['95-58=37', '57-37=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,29 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: 29:[19, 58, 38], Operations: ['95-57=38']
Exploring Operation: 58-38=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 29:[19, 20] Operation: 58-38=20
Exploring Operation: 58-19=39, Resulting Numbers: [38, 39]
Generated Node #0,0,1: 29:[38, 39] Operation: 58-19=39
Moving to Node #0,0,0
Current State: 29:[19, 20], Operations: ['95-57=38', '58-38=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[38, 39], Operations: ['95-57=38', '58-19=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,29 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 |
[
60,
8,
10,
22
] | 35 | [
"10*22=220",
"60+220=280",
"280/8=35"
] | Current State: 35:[60, 8, 10, 22], Operations: []
Exploring Operation: 10*22=220, Resulting Numbers: [60, 8, 220]
Generated Node #2: [60, 8, 220] from Operation: 10*22=220
Current State: 35:[60, 8, 220], Operations: ['10*22=220']
Exploring Operation: 60+220=280, Resulting Numbers: [8, 280]
Generated Node #3: [8, 280] from Operation: 60+220=280
Current State: 35:[8, 280], Operations: ['10*22=220', '60+220=280']
Exploring Operation: 280/8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[60, 8, 10, 22], Operations: []
Exploring Operation: 60-10=50, Resulting Numbers: [8, 22, 50]
Generated Node #0,0: 35:[8, 22, 50] Operation: 60-10=50
Exploring Operation: 60-22=38, Resulting Numbers: [8, 10, 38]
Generated Node #0,1: 35:[8, 10, 38] Operation: 60-22=38
Exploring Operation: 10+22=32, Resulting Numbers: [60, 8, 32]
Generated Node #0,2: 35:[60, 8, 32] Operation: 10+22=32
Exploring Operation: 60/10=6, Resulting Numbers: [8, 22, 6]
Generated Node #0,3: 35:[8, 22, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[8, 10, 38], Operations: ['60-22=38']
Exploring Operation: 8+10=18, Resulting Numbers: [38, 18]
Generated Node #0,1,0: 35:[38, 18] Operation: 8+10=18
Exploring Operation: 38-8=30, Resulting Numbers: [10, 30]
Generated Node #0,1,1: 35:[10, 30] Operation: 38-8=30
Exploring Operation: 10-8=2, Resulting Numbers: [38, 2]
Generated Node #0,1,2: 35:[38, 2] Operation: 10-8=2
Exploring Operation: 38-10=28, Resulting Numbers: [8, 28]
Generated Node #0,1,3: 35:[8, 28] Operation: 38-10=28
Moving to Node #0,1,2
Current State: 35:[38, 2], Operations: ['60-22=38', '10-8=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[8, 28], Operations: ['60-22=38', '38-10=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,35 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[10, 30], Operations: ['60-22=38', '38-8=30']
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,35 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[38, 18], Operations: ['60-22=38', '8+10=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[8, 22, 6], Operations: ['60/10=6']
Exploring Operation: 8+22=30, Resulting Numbers: [6, 30]
Generated Node #0,3,0: 35:[6, 30] Operation: 8+22=30
Exploring Operation: 22+6=28, Resulting Numbers: [8, 28]
Generated Node #0,3,1: 35:[8, 28] Operation: 22+6=28
Exploring Operation: 22-6=16, Resulting Numbers: [8, 16]
Generated Node #0,3,2: 35:[8, 16] Operation: 22-6=16
Exploring Operation: 22-8=14, Resulting Numbers: [6, 14]
Generated Node #0,3,3: 35:[6, 14] Operation: 22-8=14
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[6, 30], Operations: ['60/10=6', '8+22=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[8, 28], Operations: ['60/10=6', '22+6=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,35 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[6, 14], Operations: ['60/10=6', '22-8=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[8, 16], Operations: ['60/10=6', '22-6=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,35 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[8, 22, 50], Operations: ['60-10=50']
Exploring Operation: 22-8=14, Resulting Numbers: [50, 14]
Generated Node #0,0,0: 35:[50, 14] Operation: 22-8=14
Exploring Operation: 50-8=42, Resulting Numbers: [22, 42]
Generated Node #0,0,1: 35:[22, 42] Operation: 50-8=42
Exploring Operation: 8+22=30, Resulting Numbers: [50, 30]
Generated Node #0,0,2: 35:[50, 30] Operation: 8+22=30
Exploring Operation: 50-22=28, Resulting Numbers: [8, 28]
Generated Node #0,0,3: 35:[8, 28] Operation: 50-22=28
Moving to Node #0,0,3
Current State: 35:[8, 28], Operations: ['60-10=50', '50-22=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,35 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[50, 30], Operations: ['60-10=50', '8+22=30']
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[22, 42], Operations: ['60-10=50', '50-8=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[50, 14], Operations: ['60-10=50', '22-8=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[60, 8, 32], Operations: ['10+22=32']
Exploring Operation: 32/8=4, Resulting Numbers: [60, 4]
Generated Node #0,2,0: 35:[60, 4] Operation: 32/8=4
Exploring Operation: 60-32=28, Resulting Numbers: [8, 28]
Generated Node #0,2,1: 35:[8, 28] Operation: 60-32=28
Exploring Operation: 60-8=52, Resulting Numbers: [32, 52]
Generated Node #0,2,2: 35:[32, 52] Operation: 60-8=52
Exploring Operation: 8+32=40, Resulting Numbers: [60, 40]
Generated Node #0,2,3: 35:[60, 40] Operation: 8+32=40
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[8, 28], Operations: ['10+22=32', '60-32=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,35 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[32, 52], Operations: ['10+22=32', '60-8=52']
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,35 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[60, 4], Operations: ['10+22=32', '32/8=4']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,35 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[60, 40], Operations: ['10+22=32', '8+32=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,35 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
51,
1,
58
] | 64 | [
"72+51=123",
"1+58=59",
"123-59=64"
] | Current State: 64:[72, 51, 1, 58], Operations: []
Exploring Operation: 72+51=123, Resulting Numbers: [1, 58, 123]
Generated Node #2: [1, 58, 123] from Operation: 72+51=123
Current State: 64:[1, 58, 123], Operations: ['72+51=123']
Exploring Operation: 1+58=59, Resulting Numbers: [123, 59]
Generated Node #3: [123, 59] from Operation: 1+58=59
Current State: 64:[123, 59], Operations: ['72+51=123', '1+58=59']
Exploring Operation: 123-59=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[72, 51, 1, 58], Operations: []
Exploring Operation: 72-1=71, Resulting Numbers: [51, 58, 71]
Generated Node #0,0: 64:[51, 58, 71] Operation: 72-1=71
Exploring Operation: 72-51=21, Resulting Numbers: [1, 58, 21]
Generated Node #0,1: 64:[1, 58, 21] Operation: 72-51=21
Exploring Operation: 72-58=14, Resulting Numbers: [51, 1, 14]
Generated Node #0,2: 64:[51, 1, 14] Operation: 72-58=14
Exploring Operation: 58-51=7, Resulting Numbers: [72, 1, 7]
Generated Node #0,3: 64:[72, 1, 7] Operation: 58-51=7
Exploring Operation: 51+1=52, Resulting Numbers: [72, 58, 52]
Generated Node #0,4: 64:[72, 58, 52] Operation: 51+1=52
Moving to Node #0,3
Current State: 64:[72, 1, 7], Operations: ['58-51=7']
Exploring Operation: 72/1=72, Resulting Numbers: [7, 72]
Generated Node #0,3,0: 64:[7, 72] Operation: 72/1=72
Exploring Operation: 72-7=65, Resulting Numbers: [1, 65]
Generated Node #0,3,1: 64:[1, 65] Operation: 72-7=65
Exploring Operation: 1+7=8, Resulting Numbers: [72, 8]
Generated Node #0,3,2: 64:[72, 8] Operation: 1+7=8
Exploring Operation: 72*1=72, Resulting Numbers: [7, 72]
Generated Node #0,3,3: 64:[7, 72] Operation: 72*1=72
Exploring Operation: 72-1=71, Resulting Numbers: [7, 71]
Generated Node #0,3,4: 64:[7, 71] Operation: 72-1=71
Moving to Node #0,1
Current State: 64:[1, 58, 21], Operations: ['72-51=21']
Exploring Operation: 58/1=58, Resulting Numbers: [21, 58]
Generated Node #0,1,0: 64:[21, 58] Operation: 58/1=58
Exploring Operation: 58-21=37, Resulting Numbers: [1, 37]
Generated Node #0,1,1: 64:[1, 37] Operation: 58-21=37
Exploring Operation: 1+58=59, Resulting Numbers: [21, 59]
Generated Node #0,1,2: 64:[21, 59] Operation: 1+58=59
Exploring Operation: 1*58=58, Resulting Numbers: [21, 58]
Generated Node #0,1,3: 64:[21, 58] Operation: 1*58=58
Exploring Operation: 21-1=20, Resulting Numbers: [58, 20]
Generated Node #0,1,4: 64:[58, 20] Operation: 21-1=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[1, 37], Operations: ['72-51=21', '58-21=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,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:[21, 59], Operations: ['72-51=21', '1+58=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,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,4
Current State: 64:[58, 20], Operations: ['72-51=21', '21-1=20']
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,64 unequal: No Solution
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,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,0
Current State: 64:[21, 58], Operations: ['72-51=21', '58/1=58']
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,64 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[21, 58], Operations: ['72-51=21', '1*58=58']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,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:[51, 1, 14], Operations: ['72-58=14']
Exploring Operation: 1+14=15, Resulting Numbers: [51, 15]
Generated Node #0,2,0: 64:[51, 15] Operation: 1+14=15
Exploring Operation: 51+14=65, Resulting Numbers: [1, 65]
Generated Node #0,2,1: 64:[1, 65] Operation: 51+14=65
Exploring Operation: 51-14=37, Resulting Numbers: [1, 37]
Generated Node #0,2,2: 64:[1, 37] Operation: 51-14=37
Exploring Operation: 51*1=51, Resulting Numbers: [14, 51]
Generated Node #0,2,3: 64:[14, 51] Operation: 51*1=51
Exploring Operation: 51+1=52, Resulting Numbers: [14, 52]
Generated Node #0,2,4: 64:[14, 52] Operation: 51+1=52
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[1, 65], Operations: ['72-58=14', '51+14=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[72, 51, 1, 58], Operations: []
Exploring Operation: 72-58=14, Resulting Numbers: [51, 1, 14]
Generated Node #0,2: 64:[51, 1, 14] Operation: 72-58=14
Moving to Node #0,2
Current State: 64:[51, 1, 14], Operations: ['72-58=14']
Exploring Operation: 51+14=65, Resulting Numbers: [1, 65]
Generated Node #0,2,1: 64:[1, 65] Operation: 51+14=65
Moving to Node #0,2,1
Current State: 64:[1, 65], Operations: ['72-58=14', '51+14=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
54,
62,
6,
49
] | 35 | [
"62-54=8",
"49-6=43",
"43-8=35"
] | Current State: 35:[54, 62, 6, 49], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [6, 49, 8]
Generated Node #2: [6, 49, 8] from Operation: 62-54=8
Current State: 35:[6, 49, 8], Operations: ['62-54=8']
Exploring Operation: 49-6=43, Resulting Numbers: [8, 43]
Generated Node #3: [8, 43] from Operation: 49-6=43
Current State: 35:[8, 43], Operations: ['62-54=8', '49-6=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[54, 62, 6, 49], Operations: []
Exploring Operation: 62-49=13, Resulting Numbers: [54, 6, 13]
Generated Node #0,0: 35:[54, 6, 13] Operation: 62-49=13
Exploring Operation: 62-54=8, Resulting Numbers: [6, 49, 8]
Generated Node #0,1: 35:[6, 49, 8] Operation: 62-54=8
Exploring Operation: 54-49=5, Resulting Numbers: [62, 6, 5]
Generated Node #0,2: 35:[62, 6, 5] Operation: 54-49=5
Exploring Operation: 54/6=9, Resulting Numbers: [62, 49, 9]
Generated Node #0,3: 35:[62, 49, 9] Operation: 54/6=9
Exploring Operation: 54-6=48, Resulting Numbers: [62, 49, 48]
Generated Node #0,4: 35:[62, 49, 48] Operation: 54-6=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[6, 49, 8], Operations: ['62-54=8']
Exploring Operation: 49-6=43, Resulting Numbers: [8, 43]
Generated Node #0,1,0: 35:[8, 43] Operation: 49-6=43
Exploring Operation: 49-8=41, Resulting Numbers: [6, 41]
Generated Node #0,1,1: 35:[6, 41] Operation: 49-8=41
Exploring Operation: 6+8=14, Resulting Numbers: [49, 14]
Generated Node #0,1,2: 35:[49, 14] Operation: 6+8=14
Exploring Operation: 6+49=55, Resulting Numbers: [8, 55]
Generated Node #0,1,3: 35:[8, 55] Operation: 6+49=55
Exploring Operation: 8-6=2, Resulting Numbers: [49, 2]
Generated Node #0,1,4: 35:[49, 2] Operation: 8-6=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[6, 41], Operations: ['62-54=8', '49-8=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,35 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[54, 62, 6, 49], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [6, 49, 8]
Generated Node #0,1: 35:[6, 49, 8] Operation: 62-54=8
Moving to Node #0,1
Current State: 35:[6, 49, 8], Operations: ['62-54=8']
Exploring Operation: 49-8=41, Resulting Numbers: [6, 41]
Generated Node #0,1,1: 35:[6, 41] Operation: 49-8=41
Moving to Node #0,1,1
Current State: 35:[6, 41], Operations: ['62-54=8', '49-8=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
87,
65,
80,
84
] | 53 | [
"87-80=7",
"84/7=12",
"65-12=53"
] | Current State: 53:[87, 65, 80, 84], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [65, 84, 7]
Generated Node #2: [65, 84, 7] from Operation: 87-80=7
Current State: 53:[65, 84, 7], Operations: ['87-80=7']
Exploring Operation: 84/7=12, Resulting Numbers: [65, 12]
Generated Node #3: [65, 12] from Operation: 84/7=12
Current State: 53:[65, 12], Operations: ['87-80=7', '84/7=12']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[87, 65, 80, 84], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [65, 84, 7]
Generated Node #0,0: 53:[65, 84, 7] Operation: 87-80=7
Exploring Operation: 87-65=22, Resulting Numbers: [80, 84, 22]
Generated Node #0,1: 53:[80, 84, 22] Operation: 87-65=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[65, 84, 7], Operations: ['87-80=7']
Exploring Operation: 84-7=77, Resulting Numbers: [65, 77]
Generated Node #0,0,0: 53:[65, 77] Operation: 84-7=77
Exploring Operation: 65-7=58, Resulting Numbers: [84, 58]
Generated Node #0,0,1: 53:[84, 58] Operation: 65-7=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[65, 77], Operations: ['87-80=7', '84-7=77']
Exploring Operation: 65+77=142, Resulting Numbers: [142]
142,53 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[84, 58], Operations: ['87-80=7', '65-7=58']
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,53 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[80, 84, 22], Operations: ['87-65=22']
Exploring Operation: 80-22=58, Resulting Numbers: [84, 58]
Generated Node #0,1,0: 53:[84, 58] Operation: 80-22=58
Exploring Operation: 84-22=62, Resulting Numbers: [80, 62]
Generated Node #0,1,1: 53:[80, 62] Operation: 84-22=62
Moving to Node #0,1,0
Current State: 53:[84, 58], Operations: ['87-65=22', '80-22=58']
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[80, 62], Operations: ['87-65=22', '84-22=62']
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,53 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
67,
14,
68,
2
] | 27 | [
"68-67=1",
"14*2=28",
"28-1=27"
] | Current State: 27:[67, 14, 68, 2], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [14, 2, 1]
Generated Node #2: [14, 2, 1] from Operation: 68-67=1
Current State: 27:[14, 2, 1], Operations: ['68-67=1']
Exploring Operation: 14*2=28, Resulting Numbers: [1, 28]
Generated Node #3: [1, 28] from Operation: 14*2=28
Current State: 27:[1, 28], Operations: ['68-67=1', '14*2=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[67, 14, 68, 2], Operations: []
Exploring Operation: 67-14=53, Resulting Numbers: [68, 2, 53]
Generated Node #0,0: 27:[68, 2, 53] Operation: 67-14=53
Exploring Operation: 68-67=1, Resulting Numbers: [14, 2, 1]
Generated Node #0,1: 27:[14, 2, 1] Operation: 68-67=1
Exploring Operation: 68-14=54, Resulting Numbers: [67, 2, 54]
Generated Node #0,2: 27:[67, 2, 54] Operation: 68-14=54
Exploring Operation: 68/2=34, Resulting Numbers: [67, 14, 34]
Generated Node #0,3: 27:[67, 14, 34] Operation: 68/2=34
Exploring Operation: 14*2=28, Resulting Numbers: [67, 68, 28]
Generated Node #0,4: 27:[67, 68, 28] Operation: 14*2=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[14, 2, 1], Operations: ['68-67=1']
Exploring Operation: 14-1=13, Resulting Numbers: [2, 13]
Generated Node #0,1,0: 27:[2, 13] Operation: 14-1=13
Exploring Operation: 14/2=7, Resulting Numbers: [1, 7]
Generated Node #0,1,1: 27:[1, 7] Operation: 14/2=7
Exploring Operation: 2+1=3, Resulting Numbers: [14, 3]
Generated Node #0,1,2: 27:[14, 3] Operation: 2+1=3
Exploring Operation: 14*2=28, Resulting Numbers: [1, 28]
Generated Node #0,1,3: 27:[1, 28] Operation: 14*2=28
Exploring Operation: 14-2=12, Resulting Numbers: [1, 12]
Generated Node #0,1,4: 27:[1, 12] Operation: 14-2=12
Moving to Node #0,1,3
Current State: 27:[1, 28], Operations: ['68-67=1', '14*2=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[67, 14, 68, 2], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [14, 2, 1]
Generated Node #0,1: 27:[14, 2, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 27:[14, 2, 1], Operations: ['68-67=1']
Exploring Operation: 14*2=28, Resulting Numbers: [1, 28]
Generated Node #0,1,3: 27:[1, 28] Operation: 14*2=28
Moving to Node #0,1,3
Current State: 27:[1, 28], Operations: ['68-67=1', '14*2=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
12,
78,
36,
4
] | 29 | [
"78*4=312",
"36+312=348",
"348/12=29"
] | Current State: 29:[12, 78, 36, 4], Operations: []
Exploring Operation: 78*4=312, Resulting Numbers: [12, 36, 312]
Generated Node #2: [12, 36, 312] from Operation: 78*4=312
Current State: 29:[12, 36, 312], Operations: ['78*4=312']
Exploring Operation: 36+312=348, Resulting Numbers: [12, 348]
Generated Node #3: [12, 348] from Operation: 36+312=348
Current State: 29:[12, 348], Operations: ['78*4=312', '36+312=348']
Exploring Operation: 348/12=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[12, 78, 36, 4], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [12, 4, 42]
Generated Node #0,0: 29:[12, 4, 42] Operation: 78-36=42
Exploring Operation: 78-12=66, Resulting Numbers: [36, 4, 66]
Generated Node #0,1: 29:[36, 4, 66] Operation: 78-12=66
Exploring Operation: 12+4=16, Resulting Numbers: [78, 36, 16]
Generated Node #0,2: 29:[78, 36, 16] Operation: 12+4=16
Moving to Node #0,0
Current State: 29:[12, 4, 42], Operations: ['78-36=42']
Exploring Operation: 42-12=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 29:[4, 30] Operation: 42-12=30
Exploring Operation: 42-4=38, Resulting Numbers: [12, 38]
Generated Node #0,0,1: 29:[12, 38] Operation: 42-4=38
Exploring Operation: 12+4=16, Resulting Numbers: [42, 16]
Generated Node #0,0,2: 29:[42, 16] Operation: 12+4=16
Moving to Node #0,1
Current State: 29:[36, 4, 66], Operations: ['78-12=66']
Exploring Operation: 36-4=32, Resulting Numbers: [66, 32]
Generated Node #0,1,0: 29:[66, 32] Operation: 36-4=32
Exploring Operation: 66-4=62, Resulting Numbers: [36, 62]
Generated Node #0,1,1: 29:[36, 62] Operation: 66-4=62
Exploring Operation: 66-36=30, Resulting Numbers: [4, 30]
Generated Node #0,1,2: 29:[4, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[4, 30], Operations: ['78-12=66', '66-36=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[66, 32], Operations: ['78-12=66', '36-4=32']
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[36, 62], Operations: ['78-12=66', '66-4=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,29 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,29 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: 29:[78, 36, 16], Operations: ['12+4=16']
Exploring Operation: 78-16=62, Resulting Numbers: [36, 62]
Generated Node #0,2,0: 29:[36, 62] Operation: 78-16=62
Exploring Operation: 78-36=42, Resulting Numbers: [16, 42]
Generated Node #0,2,1: 29:[16, 42] Operation: 78-36=42
Exploring Operation: 36-16=20, Resulting Numbers: [78, 20]
Generated Node #0,2,2: 29:[78, 20] Operation: 36-16=20
Moving to Node #0,0,0
Current State: 29:[4, 30], Operations: ['78-36=42', '42-12=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[42, 16], Operations: ['78-36=42', '12+4=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,29 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[12, 38], Operations: ['78-36=42', '42-4=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,29 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[16, 42], Operations: ['12+4=16', '78-36=42']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 16*42=672, Resulting Numbers: [672]
672,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[36, 62], Operations: ['12+4=16', '78-16=62']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[78, 20], Operations: ['12+4=16', '36-16=20']
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,29 unequal: No Solution
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
92,
67,
53,
81
] | 53 | [
"92-67=25",
"81-53=28",
"25+28=53"
] | Current State: 53:[92, 67, 53, 81], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [53, 81, 25]
Generated Node #2: [53, 81, 25] from Operation: 92-67=25
Current State: 53:[53, 81, 25], Operations: ['92-67=25']
Exploring Operation: 81-53=28, Resulting Numbers: [25, 28]
Generated Node #3: [25, 28] from Operation: 81-53=28
Current State: 53:[25, 28], Operations: ['92-67=25', '81-53=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[92, 67, 53, 81], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [53, 81, 25]
Generated Node #0,0: 53:[53, 81, 25] Operation: 92-67=25
Exploring Operation: 92-81=11, Resulting Numbers: [67, 53, 11]
Generated Node #0,1: 53:[67, 53, 11] Operation: 92-81=11
Exploring Operation: 92-53=39, Resulting Numbers: [67, 81, 39]
Generated Node #0,2: 53:[67, 81, 39] Operation: 92-53=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[53, 81, 25], Operations: ['92-67=25']
Exploring Operation: 81-25=56, Resulting Numbers: [53, 56]
Generated Node #0,0,0: 53:[53, 56] Operation: 81-25=56
Exploring Operation: 81-53=28, Resulting Numbers: [25, 28]
Generated Node #0,0,1: 53:[25, 28] Operation: 81-53=28
Exploring Operation: 53+25=78, Resulting Numbers: [81, 78]
Generated Node #0,0,2: 53:[81, 78] Operation: 53+25=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[53, 56], Operations: ['92-67=25', '81-25=56']
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 53*56=2968, Resulting Numbers: [2968]
2968,53 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[25, 28], Operations: ['92-67=25', '81-53=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[92, 67, 53, 81], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [53, 81, 25]
Generated Node #0,0: 53:[53, 81, 25] Operation: 92-67=25
Moving to Node #0,0
Current State: 53:[53, 81, 25], Operations: ['92-67=25']
Exploring Operation: 81-53=28, Resulting Numbers: [25, 28]
Generated Node #0,0,1: 53:[25, 28] Operation: 81-53=28
Moving to Node #0,0,1
Current State: 53:[25, 28], Operations: ['92-67=25', '81-53=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
23,
11,
58,
7
] | 53 | [
"23-11=12",
"58+7=65",
"65-12=53"
] | Current State: 53:[23, 11, 58, 7], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [58, 7, 12]
Generated Node #2: [58, 7, 12] from Operation: 23-11=12
Current State: 53:[58, 7, 12], Operations: ['23-11=12']
Exploring Operation: 58+7=65, Resulting Numbers: [12, 65]
Generated Node #3: [12, 65] from Operation: 58+7=65
Current State: 53:[12, 65], Operations: ['23-11=12', '58+7=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[23, 11, 58, 7], Operations: []
Exploring Operation: 11*7=77, Resulting Numbers: [23, 58, 77]
Generated Node #0,0: 53:[23, 58, 77] Operation: 11*7=77
Exploring Operation: 23+11=34, Resulting Numbers: [58, 7, 34]
Generated Node #0,1: 53:[58, 7, 34] Operation: 23+11=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[23, 58, 77], Operations: ['11*7=77']
Exploring Operation: 58-23=35, Resulting Numbers: [77, 35]
Generated Node #0,0,0: 53:[77, 35] Operation: 58-23=35
Exploring Operation: 77-23=54, Resulting Numbers: [58, 54]
Generated Node #0,0,1: 53:[58, 54] Operation: 77-23=54
Moving to Node #0,0,1
Current State: 53:[58, 54], Operations: ['11*7=77', '77-23=54']
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[77, 35], Operations: ['11*7=77', '58-23=35']
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[58, 7, 34], Operations: ['23+11=34']
Exploring Operation: 7+34=41, Resulting Numbers: [58, 41]
Generated Node #0,1,0: 53:[58, 41] Operation: 7+34=41
Exploring Operation: 58-7=51, Resulting Numbers: [34, 51]
Generated Node #0,1,1: 53:[34, 51] Operation: 58-7=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[58, 41], Operations: ['23+11=34', '7+34=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[34, 51], Operations: ['23+11=34', '58-7=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
32,
89,
81
] | 64 | [
"74+32=106",
"89+81=170",
"170-106=64"
] | Current State: 64:[74, 32, 89, 81], Operations: []
Exploring Operation: 74+32=106, Resulting Numbers: [89, 81, 106]
Generated Node #2: [89, 81, 106] from Operation: 74+32=106
Current State: 64:[89, 81, 106], Operations: ['74+32=106']
Exploring Operation: 89+81=170, Resulting Numbers: [106, 170]
Generated Node #3: [106, 170] from Operation: 89+81=170
Current State: 64:[106, 170], Operations: ['74+32=106', '89+81=170']
Exploring Operation: 170-106=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[74, 32, 89, 81], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [74, 89, 49]
Generated Node #0,0: 64:[74, 89, 49] Operation: 81-32=49
Exploring Operation: 89-81=8, Resulting Numbers: [74, 32, 8]
Generated Node #0,1: 64:[74, 32, 8] Operation: 89-81=8
Exploring Operation: 89-32=57, Resulting Numbers: [74, 81, 57]
Generated Node #0,2: 64:[74, 81, 57] Operation: 89-32=57
Exploring Operation: 89-74=15, Resulting Numbers: [32, 81, 15]
Generated Node #0,3: 64:[32, 81, 15] Operation: 89-74=15
Exploring Operation: 81-74=7, Resulting Numbers: [32, 89, 7]
Generated Node #0,4: 64:[32, 89, 7] Operation: 81-74=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[74, 32, 8], Operations: ['89-81=8']
Exploring Operation: 74+8=82, Resulting Numbers: [32, 82]
Generated Node #0,1,0: 64:[32, 82] Operation: 74+8=82
Exploring Operation: 32+8=40, Resulting Numbers: [74, 40]
Generated Node #0,1,1: 64:[74, 40] Operation: 32+8=40
Exploring Operation: 74-32=42, Resulting Numbers: [8, 42]
Generated Node #0,1,2: 64:[8, 42] Operation: 74-32=42
Exploring Operation: 32/8=4, Resulting Numbers: [74, 4]
Generated Node #0,1,3: 64:[74, 4] Operation: 32/8=4
Exploring Operation: 74-8=66, Resulting Numbers: [32, 66]
Generated Node #0,1,4: 64:[32, 66] Operation: 74-8=66
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 64:[32, 66], Operations: ['89-81=8', '74-8=66']
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,64 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 64:[8, 42], Operations: ['89-81=8', '74-32=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,64 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 64:[74, 4], Operations: ['89-81=8', '32/8=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[32, 82], Operations: ['89-81=8', '74+8=82']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,64 unequal: No Solution
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[74, 40], Operations: ['89-81=8', '32+8=40']
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,64 unequal: No Solution
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,64 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[32, 81, 15], Operations: ['89-74=15']
Exploring Operation: 81-15=66, Resulting Numbers: [32, 66]
Generated Node #0,3,0: 64:[32, 66] Operation: 81-15=66
Exploring Operation: 32+15=47, Resulting Numbers: [81, 47]
Generated Node #0,3,1: 64:[81, 47] Operation: 32+15=47
Exploring Operation: 81+15=96, Resulting Numbers: [32, 96]
Generated Node #0,3,2: 64:[32, 96] Operation: 81+15=96
Exploring Operation: 32-15=17, Resulting Numbers: [81, 17]
Generated Node #0,3,3: 64:[81, 17] Operation: 32-15=17
Exploring Operation: 81-32=49, Resulting Numbers: [15, 49]
Generated Node #0,3,4: 64:[15, 49] Operation: 81-32=49
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 64:[32, 66], Operations: ['89-74=15', '81-15=66']
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,64 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,64 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 64:[15, 49], Operations: ['89-74=15', '81-32=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,64 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[74, 32, 89, 81], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [32, 81, 15]
Generated Node #0,3: 64:[32, 81, 15] Operation: 89-74=15
Moving to Node #0,3
Current State: 64:[32, 81, 15], Operations: ['89-74=15']
Exploring Operation: 81-32=49, Resulting Numbers: [15, 49]
Generated Node #0,3,4: 64:[15, 49] Operation: 81-32=49
Moving to Node #0,3,4
Current State: 64:[15, 49], Operations: ['89-74=15', '81-32=49']
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
63,
3,
7,
51
] | 57 | [
"63+7=70",
"70-51=19",
"3*19=57"
] | Current State: 57:[63, 3, 7, 51], Operations: []
Exploring Operation: 63+7=70, Resulting Numbers: [3, 51, 70]
Generated Node #2: [3, 51, 70] from Operation: 63+7=70
Current State: 57:[3, 51, 70], Operations: ['63+7=70']
Exploring Operation: 70-51=19, Resulting Numbers: [3, 19]
Generated Node #3: [3, 19] from Operation: 70-51=19
Current State: 57:[3, 19], Operations: ['63+7=70', '70-51=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[63, 3, 7, 51], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [3, 7, 12]
Generated Node #0,0: 57:[3, 7, 12] Operation: 63-51=12
Exploring Operation: 63-7=56, Resulting Numbers: [3, 51, 56]
Generated Node #0,1: 57:[3, 51, 56] Operation: 63-7=56
Exploring Operation: 63/3=21, Resulting Numbers: [7, 51, 21]
Generated Node #0,2: 57:[7, 51, 21] Operation: 63/3=21
Exploring Operation: 7+51=58, Resulting Numbers: [63, 3, 58]
Generated Node #0,3: 57:[63, 3, 58] Operation: 7+51=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[3, 51, 56], Operations: ['63-7=56']
Exploring Operation: 3+51=54, Resulting Numbers: [56, 54]
Generated Node #0,1,0: 57:[56, 54] Operation: 3+51=54
Exploring Operation: 3+56=59, Resulting Numbers: [51, 59]
Generated Node #0,1,1: 57:[51, 59] Operation: 3+56=59
Exploring Operation: 56-51=5, Resulting Numbers: [3, 5]
Generated Node #0,1,2: 57:[3, 5] Operation: 56-51=5
Exploring Operation: 51/3=17, Resulting Numbers: [56, 17]
Generated Node #0,1,3: 57:[56, 17] Operation: 51/3=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[3, 5], Operations: ['63-7=56', '56-51=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,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,1,3
Current State: 57:[56, 17], Operations: ['63-7=56', '51/3=17']
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,57 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,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,1,0
Current State: 57:[56, 54], Operations: ['63-7=56', '3+51=54']
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,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,1,1
Current State: 57:[51, 59], Operations: ['63-7=56', '3+56=59']
Exploring Operation: 51+59=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 51*59=3009, Resulting Numbers: [3009]
3009,57 unequal: No Solution
Exploring Operation: 59-51=8, Resulting Numbers: [8]
8,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,3
Current State: 57:[63, 3, 58], Operations: ['7+51=58']
Exploring Operation: 58-3=55, Resulting Numbers: [63, 55]
Generated Node #0,3,0: 57:[63, 55] Operation: 58-3=55
Exploring Operation: 63-3=60, Resulting Numbers: [58, 60]
Generated Node #0,3,1: 57:[58, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [58, 21]
Generated Node #0,3,2: 57:[58, 21] Operation: 63/3=21
Exploring Operation: 63-58=5, Resulting Numbers: [3, 5]
Generated Node #0,3,3: 57:[3, 5] Operation: 63-58=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[3, 5], Operations: ['7+51=58', '63-58=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,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:[58, 21], Operations: ['7+51=58', '63/3=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,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,1
Current State: 57:[58, 60], Operations: ['7+51=58', '63-3=60']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,57 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,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:[63, 55], Operations: ['7+51=58', '58-3=55']
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,57 unequal: No Solution
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,57 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,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:[3, 7, 12], Operations: ['63-51=12']
Exploring Operation: 12/3=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 57:[7, 4] Operation: 12/3=4
Exploring Operation: 7-3=4, Resulting Numbers: [12, 4]
Generated Node #0,0,1: 57:[12, 4] Operation: 7-3=4
Exploring Operation: 12-7=5, Resulting Numbers: [3, 5]
Generated Node #0,0,2: 57:[3, 5] Operation: 12-7=5
Exploring Operation: 7+12=19, Resulting Numbers: [3, 19]
Generated Node #0,0,3: 57:[3, 19] Operation: 7+12=19
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[3, 19], Operations: ['63-51=12', '7+12=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[63, 3, 7, 51], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [3, 7, 12]
Generated Node #0,0: 57:[3, 7, 12] Operation: 63-51=12
Moving to Node #0,0
Current State: 57:[3, 7, 12], Operations: ['63-51=12']
Exploring Operation: 7+12=19, Resulting Numbers: [3, 19]
Generated Node #0,0,3: 57:[3, 19] Operation: 7+12=19
Moving to Node #0,0,3
Current State: 57:[3, 19], Operations: ['63-51=12', '7+12=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
41,
39,
20,
13
] | 46 | [
"41-39=2",
"13*2=26",
"20+26=46"
] | Current State: 46:[41, 39, 20, 13], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [20, 13, 2]
Generated Node #2: [20, 13, 2] from Operation: 41-39=2
Current State: 46:[20, 13, 2], Operations: ['41-39=2']
Exploring Operation: 13*2=26, Resulting Numbers: [20, 26]
Generated Node #3: [20, 26] from Operation: 13*2=26
Current State: 46:[20, 26], Operations: ['41-39=2', '13*2=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[41, 39, 20, 13], Operations: []
Exploring Operation: 39-13=26, Resulting Numbers: [41, 20, 26]
Generated Node #0,0: 46:[41, 20, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [41, 20, 3]
Generated Node #0,1: 46:[41, 20, 3] Operation: 39/13=3
Exploring Operation: 41-39=2, Resulting Numbers: [20, 13, 2]
Generated Node #0,2: 46:[20, 13, 2] Operation: 41-39=2
Exploring Operation: 39+13=52, Resulting Numbers: [41, 20, 52]
Generated Node #0,3: 46:[41, 20, 52] Operation: 39+13=52
Exploring Operation: 41-13=28, Resulting Numbers: [39, 20, 28]
Generated Node #0,4: 46:[39, 20, 28] Operation: 41-13=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[41, 20, 3], Operations: ['39/13=3']
Exploring Operation: 41-20=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 46:[3, 21] Operation: 41-20=21
Exploring Operation: 41-3=38, Resulting Numbers: [20, 38]
Generated Node #0,1,1: 46:[20, 38] Operation: 41-3=38
Exploring Operation: 20+3=23, Resulting Numbers: [41, 23]
Generated Node #0,1,2: 46:[41, 23] Operation: 20+3=23
Exploring Operation: 20-3=17, Resulting Numbers: [41, 17]
Generated Node #0,1,3: 46:[41, 17] Operation: 20-3=17
Exploring Operation: 41+3=44, Resulting Numbers: [20, 44]
Generated Node #0,1,4: 46:[20, 44] Operation: 41+3=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[3, 21], Operations: ['39/13=3', '41-20=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,46 unequal: No Solution
No 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: 46:[41, 23], Operations: ['39/13=3', '20+3=23']
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,46 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No 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: 46:[20, 44], Operations: ['39/13=3', '41+3=44']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,46 unequal: No Solution
No 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: 46:[20, 38], Operations: ['39/13=3', '41-3=38']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,46 unequal: No Solution
No 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: 46:[41, 17], Operations: ['39/13=3', '20-3=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,46 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,46 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: 46:[41, 20, 26], Operations: ['39-13=26']
Exploring Operation: 26-20=6, Resulting Numbers: [41, 6]
Generated Node #0,0,0: 46:[41, 6] Operation: 26-20=6
Exploring Operation: 41+20=61, Resulting Numbers: [26, 61]
Generated Node #0,0,1: 46:[26, 61] Operation: 41+20=61
Exploring Operation: 41-20=21, Resulting Numbers: [26, 21]
Generated Node #0,0,2: 46:[26, 21] Operation: 41-20=21
Exploring Operation: 41-26=15, Resulting Numbers: [20, 15]
Generated Node #0,0,3: 46:[20, 15] Operation: 41-26=15
Exploring Operation: 20+26=46, Resulting Numbers: [41, 46]
Generated Node #0,0,4: 46:[41, 46] Operation: 20+26=46
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[26, 21], Operations: ['39-13=26', '41-20=21']
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,46 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No 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: 46:[41, 46], Operations: ['39-13=26', '20+26=46']
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,46 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No 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: 46:[41, 6], Operations: ['39-13=26', '26-20=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,46 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,46 unequal: No Solution
No 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: 46:[20, 15], Operations: ['39-13=26', '41-26=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,46 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,46 unequal: No Solution
No 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: 46:[26, 61], Operations: ['39-13=26', '41+20=61']
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 26*61=1586, Resulting Numbers: [1586]
1586,46 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: 46:[20, 13, 2], Operations: ['41-39=2']
Exploring Operation: 20+13=33, Resulting Numbers: [2, 33]
Generated Node #0,2,0: 46:[2, 33] Operation: 20+13=33
Exploring Operation: 13+2=15, Resulting Numbers: [20, 15]
Generated Node #0,2,1: 46:[20, 15] Operation: 13+2=15
Exploring Operation: 13*2=26, Resulting Numbers: [20, 26]
Generated Node #0,2,2: 46:[20, 26] Operation: 13*2=26
Exploring Operation: 20-13=7, Resulting Numbers: [2, 7]
Generated Node #0,2,3: 46:[2, 7] Operation: 20-13=7
Exploring Operation: 20+2=22, Resulting Numbers: [13, 22]
Generated Node #0,2,4: 46:[13, 22] Operation: 20+2=22
Moving to Node #0,2,3
Current State: 46:[2, 7], Operations: ['41-39=2', '20-13=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[20, 26], Operations: ['41-39=2', '13*2=26']
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,46 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[41, 39, 20, 13], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [20, 13, 2]
Generated Node #0,2: 46:[20, 13, 2] Operation: 41-39=2
Moving to Node #0,2
Current State: 46:[20, 13, 2], Operations: ['41-39=2']
Exploring Operation: 13*2=26, Resulting Numbers: [20, 26]
Generated Node #0,2,2: 46:[20, 26] Operation: 13*2=26
Moving to Node #0,2,2
Current State: 46:[20, 26], Operations: ['41-39=2', '13*2=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
85,
77,
5,
65
] | 68 | [
"85-77=8",
"65-5=60",
"8+60=68"
] | Current State: 68:[85, 77, 5, 65], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [5, 65, 8]
Generated Node #2: [5, 65, 8] from Operation: 85-77=8
Current State: 68:[5, 65, 8], Operations: ['85-77=8']
Exploring Operation: 65-5=60, Resulting Numbers: [8, 60]
Generated Node #3: [8, 60] from Operation: 65-5=60
Current State: 68:[8, 60], Operations: ['85-77=8', '65-5=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[85, 77, 5, 65], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [5, 65, 8]
Generated Node #0,0: 68:[5, 65, 8] Operation: 85-77=8
Exploring Operation: 85-65=20, Resulting Numbers: [77, 5, 20]
Generated Node #0,1: 68:[77, 5, 20] Operation: 85-65=20
Exploring Operation: 85/5=17, Resulting Numbers: [77, 65, 17]
Generated Node #0,2: 68:[77, 65, 17] Operation: 85/5=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[5, 65, 8], Operations: ['85-77=8']
Exploring Operation: 5+65=70, Resulting Numbers: [8, 70]
Generated Node #0,0,0: 68:[8, 70] Operation: 5+65=70
Exploring Operation: 8-5=3, Resulting Numbers: [65, 3]
Generated Node #0,0,1: 68:[65, 3] Operation: 8-5=3
Exploring Operation: 65+8=73, Resulting Numbers: [5, 73]
Generated Node #0,0,2: 68:[5, 73] Operation: 65+8=73
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[65, 3], Operations: ['85-77=8', '8-5=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,68 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[85, 77, 5, 65], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [5, 65, 8]
Generated Node #0,0: 68:[5, 65, 8] Operation: 85-77=8
Moving to Node #0,0
Current State: 68:[5, 65, 8], Operations: ['85-77=8']
Exploring Operation: 8-5=3, Resulting Numbers: [65, 3]
Generated Node #0,0,1: 68:[65, 3] Operation: 8-5=3
Moving to Node #0,0,1
Current State: 68:[65, 3], Operations: ['85-77=8', '8-5=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
6,
1,
24,
75
] | 79 | [
"6*1=6",
"24/6=4",
"75+4=79"
] | Current State: 79:[6, 1, 24, 75], Operations: []
Exploring Operation: 6*1=6, Resulting Numbers: [24, 75, 6]
Generated Node #2: [24, 75, 6] from Operation: 6*1=6
Current State: 79:[24, 75, 6], Operations: ['6*1=6']
Exploring Operation: 24/6=4, Resulting Numbers: [75, 4]
Generated Node #3: [75, 4] from Operation: 24/6=4
Current State: 79:[75, 4], Operations: ['6*1=6', '24/6=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[6, 1, 24, 75], Operations: []
Exploring Operation: 6+1=7, Resulting Numbers: [24, 75, 7]
Generated Node #0,0: 79:[24, 75, 7] Operation: 6+1=7
Moving to Node #0,0
Current State: 79:[24, 75, 7], Operations: ['6+1=7']
Exploring Operation: 24+7=31, Resulting Numbers: [75, 31]
Generated Node #0,0,0: 79:[75, 31] Operation: 24+7=31
Moving to Node #0,0,0
Current State: 79:[75, 31], Operations: ['6+1=7', '24+7=31']
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
27,
21,
52
] | 78 | [
"32-27=5",
"21+52=73",
"5+73=78"
] | Current State: 78:[32, 27, 21, 52], Operations: []
Exploring Operation: 32-27=5, Resulting Numbers: [21, 52, 5]
Generated Node #2: [21, 52, 5] from Operation: 32-27=5
Current State: 78:[21, 52, 5], Operations: ['32-27=5']
Exploring Operation: 21+52=73, Resulting Numbers: [5, 73]
Generated Node #3: [5, 73] from Operation: 21+52=73
Current State: 78:[5, 73], Operations: ['32-27=5', '21+52=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[32, 27, 21, 52], Operations: []
Exploring Operation: 52-27=25, Resulting Numbers: [32, 21, 25]
Generated Node #0,0: 78:[32, 21, 25] Operation: 52-27=25
Exploring Operation: 32+52=84, Resulting Numbers: [27, 21, 84]
Generated Node #0,1: 78:[27, 21, 84] Operation: 32+52=84
Exploring Operation: 27+52=79, Resulting Numbers: [32, 21, 79]
Generated Node #0,2: 78:[32, 21, 79] Operation: 27+52=79
Exploring Operation: 52-32=20, Resulting Numbers: [27, 21, 20]
Generated Node #0,3: 78:[27, 21, 20] Operation: 52-32=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[32, 21, 25], Operations: ['52-27=25']
Exploring Operation: 32-21=11, Resulting Numbers: [25, 11]
Generated Node #0,0,0: 78:[25, 11] Operation: 32-21=11
Exploring Operation: 25-21=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 78:[32, 4] Operation: 25-21=4
Exploring Operation: 21+25=46, Resulting Numbers: [32, 46]
Generated Node #0,0,2: 78:[32, 46] Operation: 21+25=46
Exploring Operation: 32-25=7, Resulting Numbers: [21, 7]
Generated Node #0,0,3: 78:[21, 7] Operation: 32-25=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[25, 11], Operations: ['52-27=25', '32-21=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 78:[21, 7], Operations: ['52-27=25', '32-25=7']
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[32, 4], Operations: ['52-27=25', '25-21=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[32, 46], Operations: ['52-27=25', '21+25=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[32, 27, 21, 52], Operations: []
Exploring Operation: 52-27=25, Resulting Numbers: [32, 21, 25]
Generated Node #0,0: 78:[32, 21, 25] Operation: 52-27=25
Moving to Node #0,0
Current State: 78:[32, 21, 25], Operations: ['52-27=25']
Exploring Operation: 21+25=46, Resulting Numbers: [32, 46]
Generated Node #0,0,2: 78:[32, 46] Operation: 21+25=46
Moving to Node #0,0,2
Current State: 78:[32, 46], Operations: ['52-27=25', '21+25=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
54,
31,
28,
4
] | 73 | [
"54-28=26",
"4*26=104",
"104-31=73"
] | Current State: 73:[54, 31, 28, 4], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [31, 4, 26]
Generated Node #2: [31, 4, 26] from Operation: 54-28=26
Current State: 73:[31, 4, 26], Operations: ['54-28=26']
Exploring Operation: 4*26=104, Resulting Numbers: [31, 104]
Generated Node #3: [31, 104] from Operation: 4*26=104
Current State: 73:[31, 104], Operations: ['54-28=26', '4*26=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[54, 31, 28, 4], Operations: []
Exploring Operation: 54+4=58, Resulting Numbers: [31, 28, 58]
Generated Node #0,0: 73:[31, 28, 58] Operation: 54+4=58
Exploring Operation: 31+28=59, Resulting Numbers: [54, 4, 59]
Generated Node #0,1: 73:[54, 4, 59] Operation: 31+28=59
Exploring Operation: 31+4=35, Resulting Numbers: [54, 28, 35]
Generated Node #0,2: 73:[54, 28, 35] Operation: 31+4=35
Exploring Operation: 28*4=112, Resulting Numbers: [54, 31, 112]
Generated Node #0,3: 73:[54, 31, 112] Operation: 28*4=112
Moving to Node #0,3
Current State: 73:[54, 31, 112], Operations: ['28*4=112']
Exploring Operation: 112-54=58, Resulting Numbers: [31, 58]
Generated Node #0,3,0: 73:[31, 58] Operation: 112-54=58
Exploring Operation: 112-31=81, Resulting Numbers: [54, 81]
Generated Node #0,3,1: 73:[54, 81] Operation: 112-31=81
Exploring Operation: 54-31=23, Resulting Numbers: [112, 23]
Generated Node #0,3,2: 73:[112, 23] Operation: 54-31=23
Exploring Operation: 54+31=85, Resulting Numbers: [112, 85]
Generated Node #0,3,3: 73:[112, 85] Operation: 54+31=85
Moving to Node #0,1
Current State: 73:[54, 4, 59], Operations: ['31+28=59']
Exploring Operation: 59-4=55, Resulting Numbers: [54, 55]
Generated Node #0,1,0: 73:[54, 55] Operation: 59-4=55
Exploring Operation: 54+4=58, Resulting Numbers: [59, 58]
Generated Node #0,1,1: 73:[59, 58] Operation: 54+4=58
Exploring Operation: 4+59=63, Resulting Numbers: [54, 63]
Generated Node #0,1,2: 73:[54, 63] Operation: 4+59=63
Exploring Operation: 54-4=50, Resulting Numbers: [59, 50]
Generated Node #0,1,3: 73:[59, 50] Operation: 54-4=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[59, 58], Operations: ['31+28=59', '54+4=58']
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[54, 63], Operations: ['31+28=59', '4+59=63']
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,73 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[54, 55], Operations: ['31+28=59', '59-4=55']
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[59, 50], Operations: ['31+28=59', '54-4=50']
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,73 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,73 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: 73:[31, 28, 58], Operations: ['54+4=58']
Exploring Operation: 31-28=3, Resulting Numbers: [58, 3]
Generated Node #0,0,0: 73:[58, 3] Operation: 31-28=3
Exploring Operation: 28+58=86, Resulting Numbers: [31, 86]
Generated Node #0,0,1: 73:[31, 86] Operation: 28+58=86
Exploring Operation: 31+28=59, Resulting Numbers: [58, 59]
Generated Node #0,0,2: 73:[58, 59] Operation: 31+28=59
Exploring Operation: 31+58=89, Resulting Numbers: [28, 89]
Generated Node #0,0,3: 73:[28, 89] Operation: 31+58=89
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[58, 59], Operations: ['54+4=58', '31+28=59']
Exploring Operation: 58*59=3422, Resulting Numbers: [3422]
3422,73 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 58+59=117, Resulting Numbers: [117]
117,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,0,1
Current State: 73:[31, 86], Operations: ['54+4=58', '28+58=86']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,73 unequal: No Solution
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,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,0,3
Current State: 73:[28, 89], Operations: ['54+4=58', '31+58=89']
Exploring Operation: 28*89=2492, Resulting Numbers: [2492]
2492,73 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 28+89=117, Resulting Numbers: [117]
117,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,0,0
Current State: 73:[58, 3], Operations: ['54+4=58', '31-28=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,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:[54, 28, 35], Operations: ['31+4=35']
Exploring Operation: 54-28=26, Resulting Numbers: [35, 26]
Generated Node #0,2,0: 73:[35, 26] Operation: 54-28=26
Exploring Operation: 54+28=82, Resulting Numbers: [35, 82]
Generated Node #0,2,1: 73:[35, 82] Operation: 54+28=82
Exploring Operation: 54+35=89, Resulting Numbers: [28, 89]
Generated Node #0,2,2: 73:[28, 89] Operation: 54+35=89
Exploring Operation: 28+35=63, Resulting Numbers: [54, 63]
Generated Node #0,2,3: 73:[54, 63] Operation: 28+35=63
Moving to Node #0,3,1
Current State: 73:[54, 81], Operations: ['28*4=112', '112-31=81']
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[54, 63], Operations: ['31+4=35', '28+35=63']
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,73 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[35, 82], Operations: ['31+4=35', '54+28=82']
Exploring Operation: 35*82=2870, Resulting Numbers: [2870]
2870,73 unequal: No Solution
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[112, 85], Operations: ['28*4=112', '54+31=85']
Exploring Operation: 112-85=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 112+85=197, Resulting Numbers: [197]
197,73 unequal: No Solution
Exploring Operation: 112*85=9520, Resulting Numbers: [9520]
9520,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[31, 58], Operations: ['28*4=112', '112-54=58']
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 31*58=1798, Resulting Numbers: [1798]
1798,73 unequal: No Solution
Exploring Operation: 31+58=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[28, 89], Operations: ['31+4=35', '54+35=89']
Exploring Operation: 28+89=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 28*89=2492, Resulting Numbers: [2492]
2492,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[35, 26], Operations: ['31+4=35', '54-28=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[112, 23], Operations: ['28*4=112', '54-31=23']
Exploring Operation: 112*23=2576, Resulting Numbers: [2576]
2576,73 unequal: No Solution
Exploring Operation: 112+23=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 112-23=89, Resulting Numbers: [89]
89,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
64,
9,
37,
79
] | 76 | [
"64-37=27",
"27/9=3",
"79-3=76"
] | Current State: 76:[64, 9, 37, 79], Operations: []
Exploring Operation: 64-37=27, Resulting Numbers: [9, 79, 27]
Generated Node #2: [9, 79, 27] from Operation: 64-37=27
Current State: 76:[9, 79, 27], Operations: ['64-37=27']
Exploring Operation: 27/9=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 27/9=3
Current State: 76:[79, 3], Operations: ['64-37=27', '27/9=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[64, 9, 37, 79], Operations: []
Exploring Operation: 64-37=27, Resulting Numbers: [9, 79, 27]
Generated Node #0,0: 76:[9, 79, 27] Operation: 64-37=27
Exploring Operation: 79-9=70, Resulting Numbers: [64, 37, 70]
Generated Node #0,1: 76:[64, 37, 70] Operation: 79-9=70
Exploring Operation: 64+9=73, Resulting Numbers: [37, 79, 73]
Generated Node #0,2: 76:[37, 79, 73] Operation: 64+9=73
Exploring Operation: 64-9=55, Resulting Numbers: [37, 79, 55]
Generated Node #0,3: 76:[37, 79, 55] Operation: 64-9=55
Exploring Operation: 79-64=15, Resulting Numbers: [9, 37, 15]
Generated Node #0,4: 76:[9, 37, 15] Operation: 79-64=15
Moving to Node #0,2
Current State: 76:[37, 79, 73], Operations: ['64+9=73']
Exploring Operation: 37+73=110, Resulting Numbers: [79, 110]
Generated Node #0,2,0: 76:[79, 110] Operation: 37+73=110
Exploring Operation: 79-73=6, Resulting Numbers: [37, 6]
Generated Node #0,2,1: 76:[37, 6] Operation: 79-73=6
Exploring Operation: 79-37=42, Resulting Numbers: [73, 42]
Generated Node #0,2,2: 76:[73, 42] Operation: 79-37=42
Exploring Operation: 37+79=116, Resulting Numbers: [73, 116]
Generated Node #0,2,3: 76:[73, 116] Operation: 37+79=116
Exploring Operation: 73-37=36, Resulting Numbers: [79, 36]
Generated Node #0,2,4: 76:[79, 36] Operation: 73-37=36
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[37, 6], Operations: ['64+9=73', '79-73=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[79, 36], Operations: ['64+9=73', '73-37=36']
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[73, 42], Operations: ['64+9=73', '79-37=42']
Exploring Operation: 73+42=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 73*42=3066, Resulting Numbers: [3066]
3066,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[79, 110], Operations: ['64+9=73', '37+73=110']
Exploring Operation: 79*110=8690, Resulting Numbers: [8690]
8690,76 unequal: No Solution
Exploring Operation: 110-79=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 79+110=189, Resulting Numbers: [189]
189,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[73, 116], Operations: ['64+9=73', '37+79=116']
Exploring Operation: 116-73=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 73*116=8468, Resulting Numbers: [8468]
8468,76 unequal: No Solution
Exploring Operation: 73+116=189, Resulting Numbers: [189]
189,76 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: 76:[9, 37, 15], Operations: ['79-64=15']
Exploring Operation: 37-9=28, Resulting Numbers: [15, 28]
Generated Node #0,4,0: 76:[15, 28] Operation: 37-9=28
Exploring Operation: 9+37=46, Resulting Numbers: [15, 46]
Generated Node #0,4,1: 76:[15, 46] Operation: 9+37=46
Exploring Operation: 37-15=22, Resulting Numbers: [9, 22]
Generated Node #0,4,2: 76:[9, 22] Operation: 37-15=22
Exploring Operation: 15-9=6, Resulting Numbers: [37, 6]
Generated Node #0,4,3: 76:[37, 6] Operation: 15-9=6
Exploring Operation: 9+15=24, Resulting Numbers: [37, 24]
Generated Node #0,4,4: 76:[37, 24] Operation: 9+15=24
Moving to Node #0,0
Current State: 76:[9, 79, 27], Operations: ['64-37=27']
Exploring Operation: 27-9=18, Resulting Numbers: [79, 18]
Generated Node #0,0,0: 76:[79, 18] Operation: 27-9=18
Exploring Operation: 79-27=52, Resulting Numbers: [9, 52]
Generated Node #0,0,1: 76:[9, 52] Operation: 79-27=52
Exploring Operation: 9+27=36, Resulting Numbers: [79, 36]
Generated Node #0,0,2: 76:[79, 36] Operation: 9+27=36
Exploring Operation: 79-9=70, Resulting Numbers: [27, 70]
Generated Node #0,0,3: 76:[27, 70] Operation: 79-9=70
Exploring Operation: 27/9=3, Resulting Numbers: [79, 3]
Generated Node #0,0,4: 76:[79, 3] Operation: 27/9=3
Moving to Node #0,1
Current State: 76:[64, 37, 70], Operations: ['79-9=70']
Exploring Operation: 37+70=107, Resulting Numbers: [64, 107]
Generated Node #0,1,0: 76:[64, 107] Operation: 37+70=107
Exploring Operation: 70-37=33, Resulting Numbers: [64, 33]
Generated Node #0,1,1: 76:[64, 33] Operation: 70-37=33
Exploring Operation: 70-64=6, Resulting Numbers: [37, 6]
Generated Node #0,1,2: 76:[37, 6] Operation: 70-64=6
Exploring Operation: 64-37=27, Resulting Numbers: [70, 27]
Generated Node #0,1,3: 76:[70, 27] Operation: 64-37=27
Exploring Operation: 64+37=101, Resulting Numbers: [70, 101]
Generated Node #0,1,4: 76:[70, 101] Operation: 64+37=101
Moving to Node #0,3
Current State: 76:[37, 79, 55], Operations: ['64-9=55']
Exploring Operation: 55-37=18, Resulting Numbers: [79, 18]
Generated Node #0,3,0: 76:[79, 18] Operation: 55-37=18
Exploring Operation: 79-37=42, Resulting Numbers: [55, 42]
Generated Node #0,3,1: 76:[55, 42] Operation: 79-37=42
Exploring Operation: 37+55=92, Resulting Numbers: [79, 92]
Generated Node #0,3,2: 76:[79, 92] Operation: 37+55=92
Exploring Operation: 37+79=116, Resulting Numbers: [55, 116]
Generated Node #0,3,3: 76:[55, 116] Operation: 37+79=116
Exploring Operation: 79-55=24, Resulting Numbers: [37, 24]
Generated Node #0,3,4: 76:[37, 24] Operation: 79-55=24
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[79, 18], Operations: ['64-9=55', '55-37=18']
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 76:[37, 24], Operations: ['64-9=55', '79-55=24']
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[79, 92], Operations: ['64-9=55', '37+55=92']
Exploring Operation: 79+92=171, Resulting Numbers: [171]
171,76 unequal: No Solution
Exploring Operation: 79*92=7268, Resulting Numbers: [7268]
7268,76 unequal: No Solution
Exploring Operation: 92-79=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 76:[55, 42], Operations: ['64-9=55', '79-37=42']
Exploring Operation: 55*42=2310, Resulting Numbers: [2310]
2310,76 unequal: No Solution
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 76:[55, 116], Operations: ['64-9=55', '37+79=116']
Exploring Operation: 55+116=171, Resulting Numbers: [171]
171,76 unequal: No Solution
Exploring Operation: 116-55=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 55*116=6380, Resulting Numbers: [6380]
6380,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 76:[37, 6], Operations: ['79-64=15', '15-9=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,76 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[37, 6], Operations: ['79-9=70', '70-64=6']
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,76 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[79, 18], Operations: ['64-37=27', '27-9=18']
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[79, 3], Operations: ['64-37=27', '27/9=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,76 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[64, 9, 37, 79], Operations: []
Exploring Operation: 64-37=27, Resulting Numbers: [9, 79, 27]
Generated Node #0,0: 76:[9, 79, 27] Operation: 64-37=27
Moving to Node #0,0
Current State: 76:[9, 79, 27], Operations: ['64-37=27']
Exploring Operation: 27/9=3, Resulting Numbers: [79, 3]
Generated Node #0,0,4: 76:[79, 3] Operation: 27/9=3
Moving to Node #0,0,4
Current State: 76:[79, 3], Operations: ['64-37=27', '27/9=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.934028 | hs_5 | sum_heuristic |
[
55,
52,
39,
8
] | 93 | [
"55-52=3",
"39-8=31",
"3*31=93"
] | Current State: 93:[55, 52, 39, 8], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [39, 8, 3]
Generated Node #2: [39, 8, 3] from Operation: 55-52=3
Current State: 93:[39, 8, 3], Operations: ['55-52=3']
Exploring Operation: 39-8=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 39-8=31
Current State: 93:[3, 31], Operations: ['55-52=3', '39-8=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[55, 52, 39, 8], Operations: []
Exploring Operation: 55-39=16, Resulting Numbers: [52, 8, 16]
Generated Node #0,0: 93:[52, 8, 16] Operation: 55-39=16
Exploring Operation: 55-52=3, Resulting Numbers: [39, 8, 3]
Generated Node #0,1: 93:[39, 8, 3] Operation: 55-52=3
Exploring Operation: 55+52=107, Resulting Numbers: [39, 8, 107]
Generated Node #0,2: 93:[39, 8, 107] Operation: 55+52=107
Exploring Operation: 52+39=91, Resulting Numbers: [55, 8, 91]
Generated Node #0,3: 93:[55, 8, 91] Operation: 52+39=91
Exploring Operation: 55+39=94, Resulting Numbers: [52, 8, 94]
Generated Node #0,4: 93:[52, 8, 94] Operation: 55+39=94
Moving to Node #0,1
Current State: 93:[39, 8, 3], Operations: ['55-52=3']
Exploring Operation: 8*3=24, Resulting Numbers: [39, 24]
Generated Node #0,1,0: 93:[39, 24] Operation: 8*3=24
Exploring Operation: 39/3=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 93:[8, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [8, 36]
Generated Node #0,1,2: 93:[8, 36] Operation: 39-3=36
Exploring Operation: 39-8=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 93:[3, 31] Operation: 39-8=31
Exploring Operation: 8-3=5, Resulting Numbers: [39, 5]
Generated Node #0,1,4: 93:[39, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[3, 31], Operations: ['55-52=3', '39-8=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[55, 52, 39, 8], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [39, 8, 3]
Generated Node #0,1: 93:[39, 8, 3] Operation: 55-52=3
Moving to Node #0,1
Current State: 93:[39, 8, 3], Operations: ['55-52=3']
Exploring Operation: 39-8=31, Resulting Numbers: [3, 31]
Generated Node #0,1,3: 93:[3, 31] Operation: 39-8=31
Moving to Node #0,1,3
Current State: 93:[3, 31], Operations: ['55-52=3', '39-8=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
44,
86,
84,
30
] | 60 | [
"86-44=42",
"84*30=2520",
"2520/42=60"
] | Current State: 60:[44, 86, 84, 30], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [84, 30, 42]
Generated Node #2: [84, 30, 42] from Operation: 86-44=42
Current State: 60:[84, 30, 42], Operations: ['86-44=42']
Exploring Operation: 84*30=2520, Resulting Numbers: [42, 2520]
Generated Node #3: [42, 2520] from Operation: 84*30=2520
Current State: 60:[42, 2520], Operations: ['86-44=42', '84*30=2520']
Exploring Operation: 2520/42=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[44, 86, 84, 30], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [44, 30, 2]
Generated Node #0,0: 60:[44, 30, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[44, 30, 2], Operations: ['86-84=2']
Exploring Operation: 44-30=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 60:[2, 14] Operation: 44-30=14
Moving to Node #0,0,0
Current State: 60:[2, 14], Operations: ['86-84=2', '44-30=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,60 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 |
[
76,
93,
57,
59
] | 59 | [
"93+59=152",
"152/76=2",
"57+2=59"
] | Current State: 59:[76, 93, 57, 59], Operations: []
Exploring Operation: 93+59=152, Resulting Numbers: [76, 57, 152]
Generated Node #2: [76, 57, 152] from Operation: 93+59=152
Current State: 59:[76, 57, 152], Operations: ['93+59=152']
Exploring Operation: 152/76=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 152/76=2
Current State: 59:[57, 2], Operations: ['93+59=152', '152/76=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[76, 93, 57, 59], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [57, 59, 17]
Generated Node #0,0: 59:[57, 59, 17] Operation: 93-76=17
Exploring Operation: 76-59=17, Resulting Numbers: [93, 57, 17]
Generated Node #0,1: 59:[93, 57, 17] Operation: 76-59=17
Exploring Operation: 93-59=34, Resulting Numbers: [76, 57, 34]
Generated Node #0,2: 59:[76, 57, 34] Operation: 93-59=34
Exploring Operation: 93-57=36, Resulting Numbers: [76, 59, 36]
Generated Node #0,3: 59:[76, 59, 36] Operation: 93-57=36
Exploring Operation: 76-57=19, Resulting Numbers: [93, 59, 19]
Generated Node #0,4: 59:[93, 59, 19] Operation: 76-57=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[76, 59, 36], Operations: ['93-57=36']
Exploring Operation: 76-36=40, Resulting Numbers: [59, 40]
Generated Node #0,3,0: 59:[59, 40] Operation: 76-36=40
Exploring Operation: 59+36=95, Resulting Numbers: [76, 95]
Generated Node #0,3,1: 59:[76, 95] Operation: 59+36=95
Exploring Operation: 76+36=112, Resulting Numbers: [59, 112]
Generated Node #0,3,2: 59:[59, 112] Operation: 76+36=112
Exploring Operation: 76-59=17, Resulting Numbers: [36, 17]
Generated Node #0,3,3: 59:[36, 17] Operation: 76-59=17
Exploring Operation: 59-36=23, Resulting Numbers: [76, 23]
Generated Node #0,3,4: 59:[76, 23] Operation: 59-36=23
Moving to Node #0,3,0
Current State: 59:[59, 40], Operations: ['93-57=36', '76-36=40']
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,59 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[59, 112], Operations: ['93-57=36', '76+36=112']
Exploring Operation: 59*112=6608, Resulting Numbers: [6608]
6608,59 unequal: No Solution
Exploring Operation: 59+112=171, Resulting Numbers: [171]
171,59 unequal: No Solution
Exploring Operation: 112-59=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[76, 95], Operations: ['93-57=36', '59+36=95']
Exploring Operation: 76*95=7220, Resulting Numbers: [7220]
7220,59 unequal: No Solution
Exploring Operation: 76+95=171, Resulting Numbers: [171]
171,59 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[76, 23], Operations: ['93-57=36', '59-36=23']
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,59 unequal: No Solution
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[36, 17], Operations: ['93-57=36', '76-59=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,59 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[57, 59, 17], Operations: ['93-76=17']
Exploring Operation: 59+17=76, Resulting Numbers: [57, 76]
Generated Node #0,0,0: 59:[57, 76] Operation: 59+17=76
Exploring Operation: 59-17=42, Resulting Numbers: [57, 42]
Generated Node #0,0,1: 59:[57, 42] Operation: 59-17=42
Exploring Operation: 57+17=74, Resulting Numbers: [59, 74]
Generated Node #0,0,2: 59:[59, 74] Operation: 57+17=74
Exploring Operation: 57-17=40, Resulting Numbers: [59, 40]
Generated Node #0,0,3: 59:[59, 40] Operation: 57-17=40
Exploring Operation: 57+59=116, Resulting Numbers: [17, 116]
Generated Node #0,0,4: 59:[17, 116] Operation: 57+59=116
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[59, 74], Operations: ['93-76=17', '57+17=74']
Exploring Operation: 59+74=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 59*74=4366, Resulting Numbers: [4366]
4366,59 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[57, 76], Operations: ['93-76=17', '59+17=76']
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,59 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[57, 42], Operations: ['93-76=17', '59-17=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,59 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[59, 40], Operations: ['93-76=17', '57-17=40']
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 59:[17, 116], Operations: ['93-76=17', '57+59=116']
Exploring Operation: 17+116=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 116-17=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 17*116=1972, Resulting Numbers: [1972]
1972,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[76, 57, 34], Operations: ['93-59=34']
Exploring Operation: 76-34=42, Resulting Numbers: [57, 42]
Generated Node #0,2,0: 59:[57, 42] Operation: 76-34=42
Exploring Operation: 57-34=23, Resulting Numbers: [76, 23]
Generated Node #0,2,1: 59:[76, 23] Operation: 57-34=23
Exploring Operation: 57+34=91, Resulting Numbers: [76, 91]
Generated Node #0,2,2: 59:[76, 91] Operation: 57+34=91
Exploring Operation: 76-57=19, Resulting Numbers: [34, 19]
Generated Node #0,2,3: 59:[34, 19] Operation: 76-57=19
Exploring Operation: 76+34=110, Resulting Numbers: [57, 110]
Generated Node #0,2,4: 59:[57, 110] Operation: 76+34=110
Moving to Node #0,2,0
Current State: 59:[57, 42], Operations: ['93-59=34', '76-34=42']
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,59 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[76, 91], Operations: ['93-59=34', '57+34=91']
Exploring Operation: 76+91=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Exploring Operation: 76*91=6916, Resulting Numbers: [6916]
6916,59 unequal: No Solution
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[76, 23], Operations: ['93-59=34', '57-34=23']
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,59 unequal: No Solution
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[57, 110], Operations: ['93-59=34', '76+34=110']
Exploring Operation: 57+110=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Exploring Operation: 57*110=6270, Resulting Numbers: [6270]
6270,59 unequal: No Solution
Exploring Operation: 110-57=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[34, 19], Operations: ['93-59=34', '76-57=19']
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,59 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[93, 59, 19], Operations: ['76-57=19']
Exploring Operation: 59+19=78, Resulting Numbers: [93, 78]
Generated Node #0,4,0: 59:[93, 78] Operation: 59+19=78
Exploring Operation: 93+19=112, Resulting Numbers: [59, 112]
Generated Node #0,4,1: 59:[59, 112] Operation: 93+19=112
Exploring Operation: 59-19=40, Resulting Numbers: [93, 40]
Generated Node #0,4,2: 59:[93, 40] Operation: 59-19=40
Exploring Operation: 93-19=74, Resulting Numbers: [59, 74]
Generated Node #0,4,3: 59:[59, 74] Operation: 93-19=74
Exploring Operation: 93-59=34, Resulting Numbers: [19, 34]
Generated Node #0,4,4: 59:[19, 34] Operation: 93-59=34
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 59:[59, 74], Operations: ['76-57=19', '93-19=74']
Exploring Operation: 59*74=4366, Resulting Numbers: [4366]
4366,59 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 59+74=133, Resulting Numbers: [133]
133,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[93, 78], Operations: ['76-57=19', '59+19=78']
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 93*78=7254, Resulting Numbers: [7254]
7254,59 unequal: No Solution
Exploring Operation: 93+78=171, Resulting Numbers: [171]
171,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 59:[59, 112], Operations: ['76-57=19', '93+19=112']
Exploring Operation: 59*112=6608, Resulting Numbers: [6608]
6608,59 unequal: No Solution
Exploring Operation: 59+112=171, Resulting Numbers: [171]
171,59 unequal: No Solution
Exploring Operation: 112-59=53, Resulting Numbers: [53]
53,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[93, 40], Operations: ['76-57=19', '59-19=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,59 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 59:[19, 34], Operations: ['76-57=19', '93-59=34']
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,59 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[93, 57, 17], Operations: ['76-59=17']
Exploring Operation: 93+17=110, Resulting Numbers: [57, 110]
Generated Node #0,1,0: 59:[57, 110] Operation: 93+17=110
Exploring Operation: 93-17=76, Resulting Numbers: [57, 76]
Generated Node #0,1,1: 59:[57, 76] Operation: 93-17=76
Exploring Operation: 57+17=74, Resulting Numbers: [93, 74]
Generated Node #0,1,2: 59:[93, 74] Operation: 57+17=74
Exploring Operation: 93-57=36, Resulting Numbers: [17, 36]
Generated Node #0,1,3: 59:[17, 36] Operation: 93-57=36
Exploring Operation: 57-17=40, Resulting Numbers: [93, 40]
Generated Node #0,1,4: 59:[93, 40] Operation: 57-17=40
Moving to Node #0,1,1
Current State: 59:[57, 76], Operations: ['76-59=17', '93-17=76']
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,59 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[93, 74], Operations: ['76-59=17', '57+17=74']
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,59 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[57, 110], Operations: ['76-59=17', '93+17=110']
Exploring Operation: 57+110=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Exploring Operation: 57*110=6270, Resulting Numbers: [6270]
6270,59 unequal: No Solution
Exploring Operation: 110-57=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[93, 40], Operations: ['76-59=17', '57-17=40']
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[17, 36], Operations: ['76-59=17', '93-57=36']
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,59 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,59 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 |
[
70,
62,
43,
26
] | 25 | [
"70-62=8",
"43-26=17",
"8+17=25"
] | Current State: 25:[70, 62, 43, 26], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [43, 26, 8]
Generated Node #2: [43, 26, 8] from Operation: 70-62=8
Current State: 25:[43, 26, 8], Operations: ['70-62=8']
Exploring Operation: 43-26=17, Resulting Numbers: [8, 17]
Generated Node #3: [8, 17] from Operation: 43-26=17
Current State: 25:[8, 17], Operations: ['70-62=8', '43-26=17']
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[70, 62, 43, 26], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [43, 26, 8]
Generated Node #0,0: 25:[43, 26, 8] Operation: 70-62=8
Exploring Operation: 70-26=44, Resulting Numbers: [62, 43, 44]
Generated Node #0,1: 25:[62, 43, 44] Operation: 70-26=44
Exploring Operation: 62-43=19, Resulting Numbers: [70, 26, 19]
Generated Node #0,2: 25:[70, 26, 19] Operation: 62-43=19
Exploring Operation: 70-43=27, Resulting Numbers: [62, 26, 27]
Generated Node #0,3: 25:[62, 26, 27] Operation: 70-43=27
Exploring Operation: 62-26=36, Resulting Numbers: [70, 43, 36]
Generated Node #0,4: 25:[70, 43, 36] Operation: 62-26=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[43, 26, 8], Operations: ['70-62=8']
Exploring Operation: 26+8=34, Resulting Numbers: [43, 34]
Generated Node #0,0,0: 25:[43, 34] Operation: 26+8=34
Exploring Operation: 43+8=51, Resulting Numbers: [26, 51]
Generated Node #0,0,1: 25:[26, 51] Operation: 43+8=51
Exploring Operation: 26-8=18, Resulting Numbers: [43, 18]
Generated Node #0,0,2: 25:[43, 18] Operation: 26-8=18
Exploring Operation: 43-26=17, Resulting Numbers: [8, 17]
Generated Node #0,0,3: 25:[8, 17] Operation: 43-26=17
Exploring Operation: 43-8=35, Resulting Numbers: [26, 35]
Generated Node #0,0,4: 25:[26, 35] Operation: 43-8=35
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[8, 17], Operations: ['70-62=8', '43-26=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[70, 62, 43, 26], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [43, 26, 8]
Generated Node #0,0: 25:[43, 26, 8] Operation: 70-62=8
Moving to Node #0,0
Current State: 25:[43, 26, 8], Operations: ['70-62=8']
Exploring Operation: 43-26=17, Resulting Numbers: [8, 17]
Generated Node #0,0,3: 25:[8, 17] Operation: 43-26=17
Moving to Node #0,0,3
Current State: 25:[8, 17], Operations: ['70-62=8', '43-26=17']
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
58,
31,
63,
3
] | 39 | [
"58-31=27",
"63+3=66",
"66-27=39"
] | Current State: 39:[58, 31, 63, 3], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [63, 3, 27]
Generated Node #2: [63, 3, 27] from Operation: 58-31=27
Current State: 39:[63, 3, 27], Operations: ['58-31=27']
Exploring Operation: 63+3=66, Resulting Numbers: [27, 66]
Generated Node #3: [27, 66] from Operation: 63+3=66
Current State: 39:[27, 66], Operations: ['58-31=27', '63+3=66']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[58, 31, 63, 3], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [31, 3, 5]
Generated Node #0,0: 39:[31, 3, 5] Operation: 63-58=5
Exploring Operation: 58-3=55, Resulting Numbers: [31, 63, 55]
Generated Node #0,1: 39:[31, 63, 55] Operation: 58-3=55
Exploring Operation: 58-31=27, Resulting Numbers: [63, 3, 27]
Generated Node #0,2: 39:[63, 3, 27] Operation: 58-31=27
Exploring Operation: 63/3=21, Resulting Numbers: [58, 31, 21]
Generated Node #0,3: 39:[58, 31, 21] Operation: 63/3=21
Exploring Operation: 63-31=32, Resulting Numbers: [58, 3, 32]
Generated Node #0,4: 39:[58, 3, 32] Operation: 63-31=32
Moving to Node #0,0
Current State: 39:[31, 3, 5], Operations: ['63-58=5']
Exploring Operation: 31-3=28, Resulting Numbers: [5, 28]
Generated Node #0,0,0: 39:[5, 28] Operation: 31-3=28
Exploring Operation: 31+3=34, Resulting Numbers: [5, 34]
Generated Node #0,0,1: 39:[5, 34] Operation: 31+3=34
Exploring Operation: 3*5=15, Resulting Numbers: [31, 15]
Generated Node #0,0,2: 39:[31, 15] Operation: 3*5=15
Exploring Operation: 31+5=36, Resulting Numbers: [3, 36]
Generated Node #0,0,3: 39:[3, 36] Operation: 31+5=36
Exploring Operation: 5-3=2, Resulting Numbers: [31, 2]
Generated Node #0,0,4: 39:[31, 2] Operation: 5-3=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[3, 36], Operations: ['63-58=5', '31+5=36']
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,39 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[58, 31, 63, 3], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [31, 3, 5]
Generated Node #0,0: 39:[31, 3, 5] Operation: 63-58=5
Moving to Node #0,0
Current State: 39:[31, 3, 5], Operations: ['63-58=5']
Exploring Operation: 31+5=36, Resulting Numbers: [3, 36]
Generated Node #0,0,3: 39:[3, 36] Operation: 31+5=36
Moving to Node #0,0,3
Current State: 39:[3, 36], Operations: ['63-58=5', '31+5=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
85,
76,
76,
81
] | 59 | [
"81-76=5",
"85/5=17",
"76-17=59"
] | Current State: 59:[85, 76, 76, 81], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [85, 5]
Generated Node #2: [85, 5] from Operation: 81-76=5
Current State: 59:[85, 5], Operations: ['81-76=5']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,59 equal: Goal Reached
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[85, 76, 76, 81], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [76, 81, 9]
Generated Node #0,0: 59:[76, 81, 9] Operation: 85-76=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[76, 81, 9], Operations: ['85-76=9']
Exploring Operation: 76-9=67, Resulting Numbers: [81, 67]
Generated Node #0,0,0: 59:[81, 67] Operation: 76-9=67
Moving to Node #0,0,0
Current State: 59:[81, 67], Operations: ['85-76=9', '76-9=67']
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,59 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 |
[
19,
31,
40,
27
] | 29 | [
"31-27=4",
"40/4=10",
"19+10=29"
] | Current State: 29:[19, 31, 40, 27], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [19, 40, 4]
Generated Node #2: [19, 40, 4] from Operation: 31-27=4
Current State: 29:[19, 40, 4], Operations: ['31-27=4']
Exploring Operation: 40/4=10, Resulting Numbers: [19, 10]
Generated Node #3: [19, 10] from Operation: 40/4=10
Current State: 29:[19, 10], Operations: ['31-27=4', '40/4=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[19, 31, 40, 27], Operations: []
Exploring Operation: 40-19=21, Resulting Numbers: [31, 27, 21]
Generated Node #0,0: 29:[31, 27, 21] Operation: 40-19=21
Exploring Operation: 19+27=46, Resulting Numbers: [31, 40, 46]
Generated Node #0,1: 29:[31, 40, 46] Operation: 19+27=46
Exploring Operation: 40-31=9, Resulting Numbers: [19, 27, 9]
Generated Node #0,2: 29:[19, 27, 9] Operation: 40-31=9
Exploring Operation: 31-19=12, Resulting Numbers: [40, 27, 12]
Generated Node #0,3: 29:[40, 27, 12] Operation: 31-19=12
Exploring Operation: 40-27=13, Resulting Numbers: [19, 31, 13]
Generated Node #0,4: 29:[19, 31, 13] Operation: 40-27=13
Moving to Node #0,0
Current State: 29:[31, 27, 21], Operations: ['40-19=21']
Exploring Operation: 31+21=52, Resulting Numbers: [27, 52]
Generated Node #0,0,0: 29:[27, 52] Operation: 31+21=52
Exploring Operation: 31-27=4, Resulting Numbers: [21, 4]
Generated Node #0,0,1: 29:[21, 4] Operation: 31-27=4
Exploring Operation: 31-21=10, Resulting Numbers: [27, 10]
Generated Node #0,0,2: 29:[27, 10] Operation: 31-21=10
Exploring Operation: 27+21=48, Resulting Numbers: [31, 48]
Generated Node #0,0,3: 29:[31, 48] Operation: 27+21=48
Exploring Operation: 27-21=6, Resulting Numbers: [31, 6]
Generated Node #0,0,4: 29:[31, 6] Operation: 27-21=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[27, 10], Operations: ['40-19=21', '31-21=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[31, 48], Operations: ['40-19=21', '27+21=48']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,29 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[27, 52], Operations: ['40-19=21', '31+21=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,29 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 29:[31, 6], Operations: ['40-19=21', '27-21=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[21, 4], Operations: ['40-19=21', '31-27=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,29 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: 29:[19, 31, 13], Operations: ['40-27=13']
Exploring Operation: 31-13=18, Resulting Numbers: [19, 18]
Generated Node #0,4,0: 29:[19, 18] Operation: 31-13=18
Exploring Operation: 31-19=12, Resulting Numbers: [13, 12]
Generated Node #0,4,1: 29:[13, 12] Operation: 31-19=12
Exploring Operation: 31+13=44, Resulting Numbers: [19, 44]
Generated Node #0,4,2: 29:[19, 44] Operation: 31+13=44
Exploring Operation: 19+13=32, Resulting Numbers: [31, 32]
Generated Node #0,4,3: 29:[31, 32] Operation: 19+13=32
Exploring Operation: 19-13=6, Resulting Numbers: [31, 6]
Generated Node #0,4,4: 29:[31, 6] Operation: 19-13=6
Moving to Node #0,1
Current State: 29:[31, 40, 46], Operations: ['19+27=46']
Exploring Operation: 31+40=71, Resulting Numbers: [46, 71]
Generated Node #0,1,0: 29:[46, 71] Operation: 31+40=71
Exploring Operation: 31+46=77, Resulting Numbers: [40, 77]
Generated Node #0,1,1: 29:[40, 77] Operation: 31+46=77
Exploring Operation: 46-31=15, Resulting Numbers: [40, 15]
Generated Node #0,1,2: 29:[40, 15] Operation: 46-31=15
Exploring Operation: 46-40=6, Resulting Numbers: [31, 6]
Generated Node #0,1,3: 29:[31, 6] Operation: 46-40=6
Exploring Operation: 40-31=9, Resulting Numbers: [46, 9]
Generated Node #0,1,4: 29:[46, 9] Operation: 40-31=9
Moving to Node #0,3
Current State: 29:[40, 27, 12], Operations: ['31-19=12']
Exploring Operation: 40+12=52, Resulting Numbers: [27, 52]
Generated Node #0,3,0: 29:[27, 52] Operation: 40+12=52
Exploring Operation: 40-27=13, Resulting Numbers: [12, 13]
Generated Node #0,3,1: 29:[12, 13] Operation: 40-27=13
Exploring Operation: 40-12=28, Resulting Numbers: [27, 28]
Generated Node #0,3,2: 29:[27, 28] Operation: 40-12=28
Exploring Operation: 27-12=15, Resulting Numbers: [40, 15]
Generated Node #0,3,3: 29:[40, 15] Operation: 27-12=15
Exploring Operation: 27+12=39, Resulting Numbers: [40, 39]
Generated Node #0,3,4: 29:[40, 39] Operation: 27+12=39
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[27, 28], Operations: ['31-19=12', '40-12=28']
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[40, 39], Operations: ['31-19=12', '27+12=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,29 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[27, 52], Operations: ['31-19=12', '40+12=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,29 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[40, 15], Operations: ['31-19=12', '27-12=15']
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[12, 13], Operations: ['31-19=12', '40-27=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,29 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 29:[19, 27, 9], Operations: ['40-31=9']
Exploring Operation: 19-9=10, Resulting Numbers: [27, 10]
Generated Node #0,2,0: 29:[27, 10] Operation: 19-9=10
Exploring Operation: 19+9=28, Resulting Numbers: [27, 28]
Generated Node #0,2,1: 29:[27, 28] Operation: 19+9=28
Exploring Operation: 27+9=36, Resulting Numbers: [19, 36]
Generated Node #0,2,2: 29:[19, 36] Operation: 27+9=36
Exploring Operation: 27/9=3, Resulting Numbers: [19, 3]
Generated Node #0,2,3: 29:[19, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [19, 18]
Generated Node #0,2,4: 29:[19, 18] Operation: 27-9=18
Moving to Node #0,2,1
Current State: 29:[27, 28], Operations: ['40-31=9', '19+9=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[31, 32], Operations: ['40-27=13', '19+13=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,29 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[19, 36], Operations: ['40-31=9', '27+9=36']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,29 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[19, 18], Operations: ['40-31=9', '27-9=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[27, 10], Operations: ['40-31=9', '19-9=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[19, 18], Operations: ['40-27=13', '31-13=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,29 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[31, 6], Operations: ['19+27=46', '46-40=6']
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,29 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[19, 44], Operations: ['40-27=13', '31+13=44']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,29 unequal: No Solution
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[40, 15], Operations: ['19+27=46', '46-31=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[31, 6], Operations: ['40-27=13', '19-13=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[13, 12], Operations: ['40-27=13', '31-19=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,29 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[19, 3], Operations: ['40-31=9', '27/9=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[46, 9], Operations: ['19+27=46', '40-31=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,29 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[46, 71], Operations: ['19+27=46', '31+40=71']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 46*71=3266, Resulting Numbers: [3266]
3266,29 unequal: No Solution
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[40, 77], Operations: ['19+27=46', '31+46=77']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,29 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,29 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
72,
57,
77
] | 73 | [
"72-19=53",
"77-57=20",
"53+20=73"
] | Current State: 73:[19, 72, 57, 77], Operations: []
Exploring Operation: 72-19=53, Resulting Numbers: [57, 77, 53]
Generated Node #2: [57, 77, 53] from Operation: 72-19=53
Current State: 73:[57, 77, 53], Operations: ['72-19=53']
Exploring Operation: 77-57=20, Resulting Numbers: [53, 20]
Generated Node #3: [53, 20] from Operation: 77-57=20
Current State: 73:[53, 20], Operations: ['72-19=53', '77-57=20']
Exploring Operation: 53+20=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[19, 72, 57, 77], Operations: []
Exploring Operation: 19+57=76, Resulting Numbers: [72, 77, 76]
Generated Node #0,0: 73:[72, 77, 76] Operation: 19+57=76
Exploring Operation: 19+72=91, Resulting Numbers: [57, 77, 91]
Generated Node #0,1: 73:[57, 77, 91] Operation: 19+72=91
Exploring Operation: 77-19=58, Resulting Numbers: [72, 57, 58]
Generated Node #0,2: 73:[72, 57, 58] Operation: 77-19=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[72, 77, 76], Operations: ['19+57=76']
Exploring Operation: 77-76=1, Resulting Numbers: [72, 1]
Generated Node #0,0,0: 73:[72, 1] Operation: 77-76=1
Exploring Operation: 76-72=4, Resulting Numbers: [77, 4]
Generated Node #0,0,1: 73:[77, 4] Operation: 76-72=4
Exploring Operation: 77-72=5, Resulting Numbers: [76, 5]
Generated Node #0,0,2: 73:[76, 5] Operation: 77-72=5
Moving to Node #0,0,2
Current State: 73:[76, 5], Operations: ['19+57=76', '77-72=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[72, 1], Operations: ['19+57=76', '77-76=1']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[19, 72, 57, 77], Operations: []
Exploring Operation: 19+57=76, Resulting Numbers: [72, 77, 76]
Generated Node #0,0: 73:[72, 77, 76] Operation: 19+57=76
Moving to Node #0,0
Current State: 73:[72, 77, 76], Operations: ['19+57=76']
Exploring Operation: 77-76=1, Resulting Numbers: [72, 1]
Generated Node #0,0,0: 73:[72, 1] Operation: 77-76=1
Moving to Node #0,0,0
Current State: 73:[72, 1], Operations: ['19+57=76', '77-76=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
42,
11,
4,
45
] | 51 | [
"11-4=7",
"42/7=6",
"45+6=51"
] | Current State: 51:[42, 11, 4, 45], Operations: []
Exploring Operation: 11-4=7, Resulting Numbers: [42, 45, 7]
Generated Node #2: [42, 45, 7] from Operation: 11-4=7
Current State: 51:[42, 45, 7], Operations: ['11-4=7']
Exploring Operation: 42/7=6, Resulting Numbers: [45, 6]
Generated Node #3: [45, 6] from Operation: 42/7=6
Current State: 51:[45, 6], Operations: ['11-4=7', '42/7=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[42, 11, 4, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [11, 4, 3]
Generated Node #0,0: 51:[11, 4, 3] Operation: 45-42=3
Moving to Node #0,0
Current State: 51:[11, 4, 3], Operations: ['45-42=3']
Exploring Operation: 11+4=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 51:[3, 15] Operation: 11+4=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[3, 15], Operations: ['45-42=3', '11+4=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
58,
24,
11
] | 86 | [
"58-48=10",
"11*10=110",
"110-24=86"
] | Current State: 86:[48, 58, 24, 11], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [24, 11, 10]
Generated Node #2: [24, 11, 10] from Operation: 58-48=10
Current State: 86:[24, 11, 10], Operations: ['58-48=10']
Exploring Operation: 11*10=110, Resulting Numbers: [24, 110]
Generated Node #3: [24, 110] from Operation: 11*10=110
Current State: 86:[24, 110], Operations: ['58-48=10', '11*10=110']
Exploring Operation: 110-24=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[48, 58, 24, 11], Operations: []
Exploring Operation: 58+24=82, Resulting Numbers: [48, 11, 82]
Generated Node #0,0: 86:[48, 11, 82] Operation: 58+24=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[48, 11, 82], Operations: ['58+24=82']
Exploring Operation: 48-11=37, Resulting Numbers: [82, 37]
Generated Node #0,0,0: 86:[82, 37] Operation: 48-11=37
Moving to Node #0,0,0
Current State: 86:[82, 37], Operations: ['58+24=82', '48-11=37']
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,86 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 |
[
29,
97,
95,
1
] | 87 | [
"97-95=2",
"1+2=3",
"29*3=87"
] | Current State: 87:[29, 97, 95, 1], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [29, 1, 2]
Generated Node #2: [29, 1, 2] from Operation: 97-95=2
Current State: 87:[29, 1, 2], Operations: ['97-95=2']
Exploring Operation: 1+2=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 1+2=3
Current State: 87:[29, 3], Operations: ['97-95=2', '1+2=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[29, 97, 95, 1], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [29, 1, 2]
Generated Node #0,0: 87:[29, 1, 2] Operation: 97-95=2
Exploring Operation: 97-1=96, Resulting Numbers: [29, 95, 96]
Generated Node #0,1: 87:[29, 95, 96] Operation: 97-1=96
Exploring Operation: 95-1=94, Resulting Numbers: [29, 97, 94]
Generated Node #0,2: 87:[29, 97, 94] Operation: 95-1=94
Moving to Node #0,0
Current State: 87:[29, 1, 2], Operations: ['97-95=2']
Exploring Operation: 29*1=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 87:[2, 29] Operation: 29*1=29
Exploring Operation: 1+2=3, Resulting Numbers: [29, 3]
Generated Node #0,0,1: 87:[29, 3] Operation: 1+2=3
Exploring Operation: 29/1=29, Resulting Numbers: [2, 29]
Generated Node #0,0,2: 87:[2, 29] Operation: 29/1=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[29, 3], Operations: ['97-95=2', '1+2=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[29, 97, 95, 1], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [29, 1, 2]
Generated Node #0,0: 87:[29, 1, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 87:[29, 1, 2], Operations: ['97-95=2']
Exploring Operation: 1+2=3, Resulting Numbers: [29, 3]
Generated Node #0,0,1: 87:[29, 3] Operation: 1+2=3
Moving to Node #0,0,1
Current State: 87:[29, 3], Operations: ['97-95=2', '1+2=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
32,
69,
76,
45
] | 48 | [
"69+45=114",
"32*114=3648",
"3648/76=48"
] | Current State: 48:[32, 69, 76, 45], Operations: []
Exploring Operation: 69+45=114, Resulting Numbers: [32, 76, 114]
Generated Node #2: [32, 76, 114] from Operation: 69+45=114
Current State: 48:[32, 76, 114], Operations: ['69+45=114']
Exploring Operation: 32*114=3648, Resulting Numbers: [76, 3648]
Generated Node #3: [76, 3648] from Operation: 32*114=3648
Current State: 48:[76, 3648], Operations: ['69+45=114', '32*114=3648']
Exploring Operation: 3648/76=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[32, 69, 76, 45], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [32, 45, 7]
Generated Node #0,0: 48:[32, 45, 7] Operation: 76-69=7
Exploring Operation: 69-45=24, Resulting Numbers: [32, 76, 24]
Generated Node #0,1: 48:[32, 76, 24] Operation: 69-45=24
Exploring Operation: 76-32=44, Resulting Numbers: [69, 45, 44]
Generated Node #0,2: 48:[69, 45, 44] Operation: 76-32=44
Exploring Operation: 76-45=31, Resulting Numbers: [32, 69, 31]
Generated Node #0,3: 48:[32, 69, 31] Operation: 76-45=31
Moving to Node #0,0
Current State: 48:[32, 45, 7], Operations: ['76-69=7']
Exploring Operation: 32-7=25, Resulting Numbers: [45, 25]
Generated Node #0,0,0: 48:[45, 25] Operation: 32-7=25
Exploring Operation: 45+7=52, Resulting Numbers: [32, 52]
Generated Node #0,0,1: 48:[32, 52] Operation: 45+7=52
Exploring Operation: 45-32=13, Resulting Numbers: [7, 13]
Generated Node #0,0,2: 48:[7, 13] Operation: 45-32=13
Exploring Operation: 32+7=39, Resulting Numbers: [45, 39]
Generated Node #0,0,3: 48:[45, 39] Operation: 32+7=39
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[7, 13], Operations: ['76-69=7', '45-32=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[45, 25], Operations: ['76-69=7', '32-7=25']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[32, 52], Operations: ['76-69=7', '45+7=52']
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[45, 39], Operations: ['76-69=7', '32+7=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,48 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: 48:[69, 45, 44], Operations: ['76-32=44']
Exploring Operation: 69-44=25, Resulting Numbers: [45, 25]
Generated Node #0,2,0: 48:[45, 25] Operation: 69-44=25
Exploring Operation: 69-45=24, Resulting Numbers: [44, 24]
Generated Node #0,2,1: 48:[44, 24] Operation: 69-45=24
Exploring Operation: 45-44=1, Resulting Numbers: [69, 1]
Generated Node #0,2,2: 48:[69, 1] Operation: 45-44=1
Exploring Operation: 45+44=89, Resulting Numbers: [69, 89]
Generated Node #0,2,3: 48:[69, 89] Operation: 45+44=89
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[45, 25], Operations: ['76-32=44', '69-44=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,48 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[44, 24], Operations: ['76-32=44', '69-45=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[69, 1], Operations: ['76-32=44', '45-44=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[69, 89], Operations: ['76-32=44', '45+44=89']
Exploring Operation: 69*89=6141, Resulting Numbers: [6141]
6141,48 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 69+89=158, Resulting Numbers: [158]
158,48 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: 48:[32, 69, 31], Operations: ['76-45=31']
Exploring Operation: 32+31=63, Resulting Numbers: [69, 63]
Generated Node #0,3,0: 48:[69, 63] Operation: 32+31=63
Exploring Operation: 32-31=1, Resulting Numbers: [69, 1]
Generated Node #0,3,1: 48:[69, 1] Operation: 32-31=1
Exploring Operation: 69-32=37, Resulting Numbers: [31, 37]
Generated Node #0,3,2: 48:[31, 37] Operation: 69-32=37
Exploring Operation: 69-31=38, Resulting Numbers: [32, 38]
Generated Node #0,3,3: 48:[32, 38] Operation: 69-31=38
Moving to Node #0,1
Current State: 48:[32, 76, 24], Operations: ['69-45=24']
Exploring Operation: 32+24=56, Resulting Numbers: [76, 56]
Generated Node #0,1,0: 48:[76, 56] Operation: 32+24=56
Exploring Operation: 32-24=8, Resulting Numbers: [76, 8]
Generated Node #0,1,1: 48:[76, 8] Operation: 32-24=8
Exploring Operation: 76-24=52, Resulting Numbers: [32, 52]
Generated Node #0,1,2: 48:[32, 52] Operation: 76-24=52
Exploring Operation: 76-32=44, Resulting Numbers: [24, 44]
Generated Node #0,1,3: 48:[24, 44] Operation: 76-32=44
Moving to Node #0,1,3
Current State: 48:[24, 44], Operations: ['69-45=24', '76-32=44']
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[32, 52], Operations: ['69-45=24', '76-24=52']
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,48 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[31, 37], Operations: ['76-45=31', '69-32=37']
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[32, 38], Operations: ['76-45=31', '69-31=38']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,48 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[69, 1], Operations: ['76-45=31', '32-31=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[76, 8], Operations: ['69-45=24', '32-24=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[69, 63], Operations: ['76-45=31', '32+31=63']
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,48 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[76, 56], Operations: ['69-45=24', '32+24=56']
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,48 unequal: No Solution
Exploring Operation: 76*56=4256, Resulting Numbers: [4256]
4256,48 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,48 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
70,
26,
72
] | 58 | [
"26-21=5",
"70/5=14",
"72-14=58"
] | Current State: 58:[21, 70, 26, 72], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [70, 72, 5]
Generated Node #2: [70, 72, 5] from Operation: 26-21=5
Current State: 58:[70, 72, 5], Operations: ['26-21=5']
Exploring Operation: 70/5=14, Resulting Numbers: [72, 14]
Generated Node #3: [72, 14] from Operation: 70/5=14
Current State: 58:[72, 14], Operations: ['26-21=5', '70/5=14']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[21, 70, 26, 72], Operations: []
Exploring Operation: 70-21=49, Resulting Numbers: [26, 72, 49]
Generated Node #0,0: 58:[26, 72, 49] Operation: 70-21=49
Exploring Operation: 72-70=2, Resulting Numbers: [21, 26, 2]
Generated Node #0,1: 58:[21, 26, 2] Operation: 72-70=2
Exploring Operation: 72-21=51, Resulting Numbers: [70, 26, 51]
Generated Node #0,2: 58:[70, 26, 51] Operation: 72-21=51
Moving to Node #0,1
Current State: 58:[21, 26, 2], Operations: ['72-70=2']
Exploring Operation: 26-21=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 58:[2, 5] Operation: 26-21=5
Exploring Operation: 26+2=28, Resulting Numbers: [21, 28]
Generated Node #0,1,1: 58:[21, 28] Operation: 26+2=28
Exploring Operation: 21+2=23, Resulting Numbers: [26, 23]
Generated Node #0,1,2: 58:[26, 23] Operation: 21+2=23
Moving to Node #0,2
Current State: 58:[70, 26, 51], Operations: ['72-21=51']
Exploring Operation: 70-51=19, Resulting Numbers: [26, 19]
Generated Node #0,2,0: 58:[26, 19] Operation: 70-51=19
Exploring Operation: 70-26=44, Resulting Numbers: [51, 44]
Generated Node #0,2,1: 58:[51, 44] Operation: 70-26=44
Exploring Operation: 51-26=25, Resulting Numbers: [70, 25]
Generated Node #0,2,2: 58:[70, 25] Operation: 51-26=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[26, 19], Operations: ['72-21=51', '70-51=19']
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,58 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,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:[70, 25], Operations: ['72-21=51', '51-26=25']
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,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:[51, 44], Operations: ['72-21=51', '70-26=44']
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,58 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,58 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: 58:[26, 72, 49], Operations: ['70-21=49']
Exploring Operation: 49-26=23, Resulting Numbers: [72, 23]
Generated Node #0,0,0: 58:[72, 23] Operation: 49-26=23
Exploring Operation: 72-49=23, Resulting Numbers: [26, 23]
Generated Node #0,0,1: 58:[26, 23] Operation: 72-49=23
Exploring Operation: 72-26=46, Resulting Numbers: [49, 46]
Generated Node #0,0,2: 58:[49, 46] Operation: 72-26=46
Moving to Node #0,1,0
Current State: 58:[2, 5], Operations: ['72-70=2', '26-21=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[26, 23], Operations: ['72-70=2', '21+2=23']
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,58 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[21, 28], Operations: ['72-70=2', '26+2=28']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[26, 23], Operations: ['70-21=49', '72-49=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,58 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[72, 23], Operations: ['70-21=49', '49-26=23']
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[49, 46], Operations: ['70-21=49', '72-26=46']
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,58 unequal: No Solution
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,58 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
93,
18,
40,
80
] | 73 | [
"93-18=75",
"80/40=2",
"75-2=73"
] | Current State: 73:[93, 18, 40, 80], Operations: []
Exploring Operation: 93-18=75, Resulting Numbers: [40, 80, 75]
Generated Node #2: [40, 80, 75] from Operation: 93-18=75
Current State: 73:[40, 80, 75], Operations: ['93-18=75']
Exploring Operation: 80/40=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 80/40=2
Current State: 73:[75, 2], Operations: ['93-18=75', '80/40=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[93, 18, 40, 80], Operations: []
Exploring Operation: 80-18=62, Resulting Numbers: [93, 40, 62]
Generated Node #0,0: 73:[93, 40, 62] Operation: 80-18=62
Exploring Operation: 18+40=58, Resulting Numbers: [93, 80, 58]
Generated Node #0,1: 73:[93, 80, 58] Operation: 18+40=58
Exploring Operation: 93-18=75, Resulting Numbers: [40, 80, 75]
Generated Node #0,2: 73:[40, 80, 75] Operation: 93-18=75
Moving to Node #0,1
Current State: 73:[93, 80, 58], Operations: ['18+40=58']
Exploring Operation: 93-58=35, Resulting Numbers: [80, 35]
Generated Node #0,1,0: 73:[80, 35] Operation: 93-58=35
Exploring Operation: 93-80=13, Resulting Numbers: [58, 13]
Generated Node #0,1,1: 73:[58, 13] Operation: 93-80=13
Exploring Operation: 80-58=22, Resulting Numbers: [93, 22]
Generated Node #0,1,2: 73:[93, 22] Operation: 80-58=22
Moving to Node #0,2
Current State: 73:[40, 80, 75], Operations: ['93-18=75']
Exploring Operation: 80-40=40, Resulting Numbers: [75, 40]
Generated Node #0,2,0: 73:[75, 40] Operation: 80-40=40
Exploring Operation: 40+80=120, Resulting Numbers: [75, 120]
Generated Node #0,2,1: 73:[75, 120] Operation: 40+80=120
Exploring Operation: 75-40=35, Resulting Numbers: [80, 35]
Generated Node #0,2,2: 73:[80, 35] Operation: 75-40=35
Moving to Node #0,0
Current State: 73:[93, 40, 62], Operations: ['80-18=62']
Exploring Operation: 93+40=133, Resulting Numbers: [62, 133]
Generated Node #0,0,0: 73:[62, 133] Operation: 93+40=133
Exploring Operation: 40+62=102, Resulting Numbers: [93, 102]
Generated Node #0,0,1: 73:[93, 102] Operation: 40+62=102
Exploring Operation: 93-40=53, Resulting Numbers: [62, 53]
Generated Node #0,0,2: 73:[62, 53] Operation: 93-40=53
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[62, 53], Operations: ['80-18=62', '93-40=53']
Exploring Operation: 62*53=3286, Resulting Numbers: [3286]
3286,73 unequal: No Solution
Exploring Operation: 62+53=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,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,0,1
Current State: 73:[93, 102], Operations: ['80-18=62', '40+62=102']
Exploring Operation: 93+102=195, Resulting Numbers: [195]
195,73 unequal: No Solution
Exploring Operation: 93*102=9486, Resulting Numbers: [9486]
9486,73 unequal: No Solution
Exploring Operation: 102-93=9, Resulting Numbers: [9]
9,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,0,0
Current State: 73:[62, 133], Operations: ['80-18=62', '93+40=133']
Exploring Operation: 133-62=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 62*133=8246, Resulting Numbers: [8246]
8246,73 unequal: No Solution
Exploring Operation: 62+133=195, Resulting Numbers: [195]
195,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 73:[75, 40], Operations: ['93-18=75', '80-40=40']
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,73 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[80, 35], Operations: ['18+40=58', '93-58=35']
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[80, 35], Operations: ['93-18=75', '75-40=35']
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,73 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[75, 120], Operations: ['93-18=75', '40+80=120']
Exploring Operation: 120-75=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 75+120=195, Resulting Numbers: [195]
195,73 unequal: No Solution
Exploring Operation: 75*120=9000, Resulting Numbers: [9000]
9000,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[93, 22], Operations: ['18+40=58', '80-58=22']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[58, 13], Operations: ['18+40=58', '93-80=13']
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,73 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,73 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
20,
27,
8
] | 97 | [
"42+20=62",
"27+8=35",
"62+35=97"
] | Current State: 97:[42, 20, 27, 8], Operations: []
Exploring Operation: 42+20=62, Resulting Numbers: [27, 8, 62]
Generated Node #2: [27, 8, 62] from Operation: 42+20=62
Current State: 97:[27, 8, 62], Operations: ['42+20=62']
Exploring Operation: 27+8=35, Resulting Numbers: [62, 35]
Generated Node #3: [62, 35] from Operation: 27+8=35
Current State: 97:[62, 35], Operations: ['42+20=62', '27+8=35']
Exploring Operation: 62+35=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[42, 20, 27, 8], Operations: []
Exploring Operation: 42+20=62, Resulting Numbers: [27, 8, 62]
Generated Node #0,0: 97:[27, 8, 62] Operation: 42+20=62
Exploring Operation: 42+27=69, Resulting Numbers: [20, 8, 69]
Generated Node #0,1: 97:[20, 8, 69] Operation: 42+27=69
Exploring Operation: 42+8=50, Resulting Numbers: [20, 27, 50]
Generated Node #0,2: 97:[20, 27, 50] Operation: 42+8=50
Exploring Operation: 20*8=160, Resulting Numbers: [42, 27, 160]
Generated Node #0,3: 97:[42, 27, 160] Operation: 20*8=160
Moving to Node #0,3
Current State: 97:[42, 27, 160], Operations: ['20*8=160']
Exploring Operation: 42+27=69, Resulting Numbers: [160, 69]
Generated Node #0,3,0: 97:[160, 69] Operation: 42+27=69
Exploring Operation: 160-42=118, Resulting Numbers: [27, 118]
Generated Node #0,3,1: 97:[27, 118] Operation: 160-42=118
Exploring Operation: 42-27=15, Resulting Numbers: [160, 15]
Generated Node #0,3,2: 97:[160, 15] Operation: 42-27=15
Exploring Operation: 160-27=133, Resulting Numbers: [42, 133]
Generated Node #0,3,3: 97:[42, 133] Operation: 160-27=133
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[160, 69], Operations: ['20*8=160', '42+27=69']
Exploring Operation: 160+69=229, Resulting Numbers: [229]
229,97 unequal: No Solution
Exploring Operation: 160-69=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 160*69=11040, Resulting Numbers: [11040]
11040,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[27, 118], Operations: ['20*8=160', '160-42=118']
Exploring Operation: 118-27=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 27*118=3186, Resulting Numbers: [3186]
3186,97 unequal: No Solution
Exploring Operation: 27+118=145, Resulting Numbers: [145]
145,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[42, 133], Operations: ['20*8=160', '160-27=133']
Exploring Operation: 42+133=175, Resulting Numbers: [175]
175,97 unequal: No Solution
Exploring Operation: 42*133=5586, Resulting Numbers: [5586]
5586,97 unequal: No Solution
Exploring Operation: 133-42=91, Resulting Numbers: [91]
91,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[160, 15], Operations: ['20*8=160', '42-27=15']
Exploring Operation: 160*15=2400, Resulting Numbers: [2400]
2400,97 unequal: No Solution
Exploring Operation: 160+15=175, Resulting Numbers: [175]
175,97 unequal: No Solution
Exploring Operation: 160-15=145, Resulting Numbers: [145]
145,97 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: 97:[20, 8, 69], Operations: ['42+27=69']
Exploring Operation: 20+8=28, Resulting Numbers: [69, 28]
Generated Node #0,1,0: 97:[69, 28] Operation: 20+8=28
Exploring Operation: 20*8=160, Resulting Numbers: [69, 160]
Generated Node #0,1,1: 97:[69, 160] Operation: 20*8=160
Exploring Operation: 8+69=77, Resulting Numbers: [20, 77]
Generated Node #0,1,2: 97:[20, 77] Operation: 8+69=77
Exploring Operation: 20+69=89, Resulting Numbers: [8, 89]
Generated Node #0,1,3: 97:[8, 89] Operation: 20+69=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[69, 160], Operations: ['42+27=69', '20*8=160']
Exploring Operation: 69+160=229, Resulting Numbers: [229]
229,97 unequal: No Solution
Exploring Operation: 69*160=11040, Resulting Numbers: [11040]
11040,97 unequal: No Solution
Exploring Operation: 160-69=91, Resulting Numbers: [91]
91,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[69, 28], Operations: ['42+27=69', '20+8=28']
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,97 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[42, 20, 27, 8], Operations: []
Exploring Operation: 42+27=69, Resulting Numbers: [20, 8, 69]
Generated Node #0,1: 97:[20, 8, 69] Operation: 42+27=69
Moving to Node #0,1
Current State: 97:[20, 8, 69], Operations: ['42+27=69']
Exploring Operation: 20+8=28, Resulting Numbers: [69, 28]
Generated Node #0,1,0: 97:[69, 28] Operation: 20+8=28
Moving to Node #0,1,0
Current State: 97:[69, 28], Operations: ['42+27=69', '20+8=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
90,
55,
24,
7
] | 66 | [
"90-55=35",
"24+7=31",
"35+31=66"
] | Current State: 66:[90, 55, 24, 7], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [24, 7, 35]
Generated Node #2: [24, 7, 35] from Operation: 90-55=35
Current State: 66:[24, 7, 35], Operations: ['90-55=35']
Exploring Operation: 24+7=31, Resulting Numbers: [35, 31]
Generated Node #3: [35, 31] from Operation: 24+7=31
Current State: 66:[35, 31], Operations: ['90-55=35', '24+7=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[90, 55, 24, 7], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [55, 7, 66]
Generated Node #0,0: 66:[55, 7, 66] Operation: 90-24=66
Exploring Operation: 90-7=83, Resulting Numbers: [55, 24, 83]
Generated Node #0,1: 66:[55, 24, 83] Operation: 90-7=83
Exploring Operation: 90-55=35, Resulting Numbers: [24, 7, 35]
Generated Node #0,2: 66:[24, 7, 35] Operation: 90-55=35
Exploring Operation: 55-24=31, Resulting Numbers: [90, 7, 31]
Generated Node #0,3: 66:[90, 7, 31] Operation: 55-24=31
Moving to Node #0,2
Current State: 66:[24, 7, 35], Operations: ['90-55=35']
Exploring Operation: 35-24=11, Resulting Numbers: [7, 11]
Generated Node #0,2,0: 66:[7, 11] Operation: 35-24=11
Exploring Operation: 24-7=17, Resulting Numbers: [35, 17]
Generated Node #0,2,1: 66:[35, 17] Operation: 24-7=17
Exploring Operation: 24+7=31, Resulting Numbers: [35, 31]
Generated Node #0,2,2: 66:[35, 31] Operation: 24+7=31
Exploring Operation: 35/7=5, Resulting Numbers: [24, 5]
Generated Node #0,2,3: 66:[24, 5] Operation: 35/7=5
Moving to Node #0,0
Current State: 66:[55, 7, 66], Operations: ['90-24=66']
Exploring Operation: 55+7=62, Resulting Numbers: [66, 62]
Generated Node #0,0,0: 66:[66, 62] Operation: 55+7=62
Exploring Operation: 55-7=48, Resulting Numbers: [66, 48]
Generated Node #0,0,1: 66:[66, 48] Operation: 55-7=48
Exploring Operation: 7+66=73, Resulting Numbers: [55, 73]
Generated Node #0,0,2: 66:[55, 73] Operation: 7+66=73
Exploring Operation: 66-55=11, Resulting Numbers: [7, 11]
Generated Node #0,0,3: 66:[7, 11] Operation: 66-55=11
Moving to Node #0,3
Current State: 66:[90, 7, 31], Operations: ['55-24=31']
Exploring Operation: 90-31=59, Resulting Numbers: [7, 59]
Generated Node #0,3,0: 66:[7, 59] Operation: 90-31=59
Exploring Operation: 7+31=38, Resulting Numbers: [90, 38]
Generated Node #0,3,1: 66:[90, 38] Operation: 7+31=38
Exploring Operation: 31-7=24, Resulting Numbers: [90, 24]
Generated Node #0,3,2: 66:[90, 24] Operation: 31-7=24
Exploring Operation: 90-7=83, Resulting Numbers: [31, 83]
Generated Node #0,3,3: 66:[31, 83] Operation: 90-7=83
Moving to Node #0,1
Current State: 66:[55, 24, 83], Operations: ['90-7=83']
Exploring Operation: 83-24=59, Resulting Numbers: [55, 59]
Generated Node #0,1,0: 66:[55, 59] Operation: 83-24=59
Exploring Operation: 83-55=28, Resulting Numbers: [24, 28]
Generated Node #0,1,1: 66:[24, 28] Operation: 83-55=28
Exploring Operation: 55-24=31, Resulting Numbers: [83, 31]
Generated Node #0,1,2: 66:[83, 31] Operation: 55-24=31
Exploring Operation: 55+24=79, Resulting Numbers: [83, 79]
Generated Node #0,1,3: 66:[83, 79] Operation: 55+24=79
Moving to Node #0,2,0
Current State: 66:[7, 11], Operations: ['90-55=35', '35-24=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[7, 11], Operations: ['90-24=66', '66-55=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[24, 5], Operations: ['90-55=35', '35/7=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[35, 31], Operations: ['90-55=35', '24+7=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,66 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[90, 55, 24, 7], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [24, 7, 35]
Generated Node #0,2: 66:[24, 7, 35] Operation: 90-55=35
Moving to Node #0,2
Current State: 66:[24, 7, 35], Operations: ['90-55=35']
Exploring Operation: 24+7=31, Resulting Numbers: [35, 31]
Generated Node #0,2,2: 66:[35, 31] Operation: 24+7=31
Moving to Node #0,2,2
Current State: 66:[35, 31], Operations: ['90-55=35', '24+7=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.969618 | hs_4 | sum_heuristic |
[
86,
67,
61,
72
] | 84 | [
"86-72=14",
"67-61=6",
"14*6=84"
] | Current State: 84:[86, 67, 61, 72], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [67, 61, 14]
Generated Node #2: [67, 61, 14] from Operation: 86-72=14
Current State: 84:[67, 61, 14], Operations: ['86-72=14']
Exploring Operation: 67-61=6, Resulting Numbers: [14, 6]
Generated Node #3: [14, 6] from Operation: 67-61=6
Current State: 84:[14, 6], Operations: ['86-72=14', '67-61=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[86, 67, 61, 72], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [86, 72, 6]
Generated Node #0,0: 84:[86, 72, 6] Operation: 67-61=6
Exploring Operation: 72-61=11, Resulting Numbers: [86, 67, 11]
Generated Node #0,1: 84:[86, 67, 11] Operation: 72-61=11
Moving to Node #0,0
Current State: 84:[86, 72, 6], Operations: ['67-61=6']
Exploring Operation: 72/6=12, Resulting Numbers: [86, 12]
Generated Node #0,0,0: 84:[86, 12] Operation: 72/6=12
Exploring Operation: 86-72=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 84:[6, 14] Operation: 86-72=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[6, 14], Operations: ['67-61=6', '86-72=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[86, 67, 61, 72], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [86, 72, 6]
Generated Node #0,0: 84:[86, 72, 6] Operation: 67-61=6
Moving to Node #0,0
Current State: 84:[86, 72, 6], Operations: ['67-61=6']
Exploring Operation: 86-72=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 84:[6, 14] Operation: 86-72=14
Moving to Node #0,0,1
Current State: 84:[6, 14], Operations: ['67-61=6', '86-72=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
20,
33,
67,
53
] | 48 | [
"33+67=100",
"100/20=5",
"53-5=48"
] | Current State: 48:[20, 33, 67, 53], Operations: []
Exploring Operation: 33+67=100, Resulting Numbers: [20, 53, 100]
Generated Node #2: [20, 53, 100] from Operation: 33+67=100
Current State: 48:[20, 53, 100], Operations: ['33+67=100']
Exploring Operation: 100/20=5, Resulting Numbers: [53, 5]
Generated Node #3: [53, 5] from Operation: 100/20=5
Current State: 48:[53, 5], Operations: ['33+67=100', '100/20=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[20, 33, 67, 53], Operations: []
Exploring Operation: 67-20=47, Resulting Numbers: [33, 53, 47]
Generated Node #0,0: 48:[33, 53, 47] Operation: 67-20=47
Moving to Node #0,0
Current State: 48:[33, 53, 47], Operations: ['67-20=47']
Exploring Operation: 53-33=20, Resulting Numbers: [47, 20]
Generated Node #0,0,0: 48:[47, 20] Operation: 53-33=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[47, 20], Operations: ['67-20=47', '53-33=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,48 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 |
[
63,
33,
17,
19
] | 48 | [
"63+33=96",
"19-17=2",
"96/2=48"
] | Current State: 48:[63, 33, 17, 19], Operations: []
Exploring Operation: 63+33=96, Resulting Numbers: [17, 19, 96]
Generated Node #2: [17, 19, 96] from Operation: 63+33=96
Current State: 48:[17, 19, 96], Operations: ['63+33=96']
Exploring Operation: 19-17=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 19-17=2
Current State: 48:[96, 2], Operations: ['63+33=96', '19-17=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[63, 33, 17, 19], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [17, 19, 30]
Generated Node #0,0: 48:[17, 19, 30] Operation: 63-33=30
Moving to Node #0,0
Current State: 48:[17, 19, 30], Operations: ['63-33=30']
Exploring Operation: 19+30=49, Resulting Numbers: [17, 49]
Generated Node #0,0,0: 48:[17, 49] Operation: 19+30=49
Moving to Node #0,0,0
Current State: 48:[17, 49], Operations: ['63-33=30', '19+30=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,48 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
29,
52,
39
] | 51 | [
"97-29=68",
"39*68=2652",
"2652/52=51"
] | Current State: 51:[97, 29, 52, 39], Operations: []
Exploring Operation: 97-29=68, Resulting Numbers: [52, 39, 68]
Generated Node #2: [52, 39, 68] from Operation: 97-29=68
Current State: 51:[52, 39, 68], Operations: ['97-29=68']
Exploring Operation: 39*68=2652, Resulting Numbers: [52, 2652]
Generated Node #3: [52, 2652] from Operation: 39*68=2652
Current State: 51:[52, 2652], Operations: ['97-29=68', '39*68=2652']
Exploring Operation: 2652/52=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[97, 29, 52, 39], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [97, 52, 10]
Generated Node #0,0: 51:[97, 52, 10] Operation: 39-29=10
Exploring Operation: 97-29=68, Resulting Numbers: [52, 39, 68]
Generated Node #0,1: 51:[52, 39, 68] Operation: 97-29=68
Exploring Operation: 97-52=45, Resulting Numbers: [29, 39, 45]
Generated Node #0,2: 51:[29, 39, 45] Operation: 97-52=45
Exploring Operation: 97-39=58, Resulting Numbers: [29, 52, 58]
Generated Node #0,3: 51:[29, 52, 58] Operation: 97-39=58
Moving to Node #0,3
Current State: 51:[29, 52, 58], Operations: ['97-39=58']
Exploring Operation: 58-52=6, Resulting Numbers: [29, 6]
Generated Node #0,3,0: 51:[29, 6] Operation: 58-52=6
Exploring Operation: 58/29=2, Resulting Numbers: [52, 2]
Generated Node #0,3,1: 51:[52, 2] Operation: 58/29=2
Exploring Operation: 52-29=23, Resulting Numbers: [58, 23]
Generated Node #0,3,2: 51:[58, 23] Operation: 52-29=23
Exploring Operation: 58-29=29, Resulting Numbers: [52, 29]
Generated Node #0,3,3: 51:[52, 29] Operation: 58-29=29
Moving to Node #0,2
Current State: 51:[29, 39, 45], Operations: ['97-52=45']
Exploring Operation: 45-29=16, Resulting Numbers: [39, 16]
Generated Node #0,2,0: 51:[39, 16] Operation: 45-29=16
Exploring Operation: 39-29=10, Resulting Numbers: [45, 10]
Generated Node #0,2,1: 51:[45, 10] Operation: 39-29=10
Exploring Operation: 45-39=6, Resulting Numbers: [29, 6]
Generated Node #0,2,2: 51:[29, 6] Operation: 45-39=6
Exploring Operation: 29+39=68, Resulting Numbers: [45, 68]
Generated Node #0,2,3: 51:[45, 68] Operation: 29+39=68
Moving to Node #0,1
Current State: 51:[52, 39, 68], Operations: ['97-29=68']
Exploring Operation: 52-39=13, Resulting Numbers: [68, 13]
Generated Node #0,1,0: 51:[68, 13] Operation: 52-39=13
Exploring Operation: 68-52=16, Resulting Numbers: [39, 16]
Generated Node #0,1,1: 51:[39, 16] Operation: 68-52=16
Exploring Operation: 68-39=29, Resulting Numbers: [52, 29]
Generated Node #0,1,2: 51:[52, 29] Operation: 68-39=29
Exploring Operation: 52+39=91, Resulting Numbers: [68, 91]
Generated Node #0,1,3: 51:[68, 91] Operation: 52+39=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[39, 16], Operations: ['97-29=68', '68-52=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,51 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[52, 29], Operations: ['97-29=68', '68-39=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[68, 13], Operations: ['97-29=68', '52-39=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[68, 91], Operations: ['97-29=68', '52+39=91']
Exploring Operation: 68+91=159, Resulting Numbers: [159]
159,51 unequal: No Solution
Exploring Operation: 68*91=6188, Resulting Numbers: [6188]
6188,51 unequal: No Solution
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 51:[97, 52, 10], Operations: ['39-29=10']
Exploring Operation: 97-52=45, Resulting Numbers: [10, 45]
Generated Node #0,0,0: 51:[10, 45] Operation: 97-52=45
Exploring Operation: 97+10=107, Resulting Numbers: [52, 107]
Generated Node #0,0,1: 51:[52, 107] Operation: 97+10=107
Exploring Operation: 97-10=87, Resulting Numbers: [52, 87]
Generated Node #0,0,2: 51:[52, 87] Operation: 97-10=87
Exploring Operation: 52-10=42, Resulting Numbers: [97, 42]
Generated Node #0,0,3: 51:[97, 42] Operation: 52-10=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[10, 45], Operations: ['39-29=10', '97-52=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,51 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[52, 87], Operations: ['39-29=10', '97-10=87']
Exploring Operation: 52+87=139, Resulting Numbers: [139]
139,51 unequal: No Solution
Exploring Operation: 52*87=4524, Resulting Numbers: [4524]
4524,51 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[97, 42], Operations: ['39-29=10', '52-10=42']
Exploring Operation: 97*42=4074, Resulting Numbers: [4074]
4074,51 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 97+42=139, Resulting Numbers: [139]
139,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[52, 107], Operations: ['39-29=10', '97+10=107']
Exploring Operation: 107-52=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 52*107=5564, Resulting Numbers: [5564]
5564,51 unequal: No Solution
Exploring Operation: 52+107=159, Resulting Numbers: [159]
159,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 51:[52, 2], Operations: ['97-39=58', '58/29=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[52, 29], Operations: ['97-39=58', '58-29=29']
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[45, 10], Operations: ['97-52=45', '39-29=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[58, 23], Operations: ['97-39=58', '52-29=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,51 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[39, 16], Operations: ['97-52=45', '45-29=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[29, 6], Operations: ['97-52=45', '45-39=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,51 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[29, 6], Operations: ['97-39=58', '58-52=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[45, 68], Operations: ['97-52=45', '29+39=68']
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Exploring Operation: 45*68=3060, Resulting Numbers: [3060]
3060,51 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
5,
87,
44
] | 44 | [
"5-5=0",
"87*0=0",
"44+0=44"
] | Current State: 44:[5, 5, 87, 44], Operations: []
Exploring Operation: 5-5=0, Resulting Numbers: [87, 44, 0]
Generated Node #2: [87, 44, 0] from Operation: 5-5=0
Current State: 44:[87, 44, 0], Operations: ['5-5=0']
Exploring Operation: 87*0=0, Resulting Numbers: [44, 0]
Generated Node #3: [44, 0] from Operation: 87*0=0
Current State: 44:[44, 0], Operations: ['5-5=0', '87*0=0']
Exploring Operation: 44+0=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[5, 5, 87, 44], Operations: []
Exploring Operation: 87-5=82, Resulting Numbers: [5, 44, 82]
Generated Node #0,0: 44:[5, 44, 82] Operation: 87-5=82
Exploring Operation: 87-44=43, Resulting Numbers: [5, 5, 43]
Generated Node #0,1: 44:[5, 5, 43] Operation: 87-44=43
Exploring Operation: 87-5=82, Resulting Numbers: [5, 44, 82]
Generated Node #0,2: 44:[5, 44, 82] Operation: 87-5=82
Exploring Operation: 5/5=1, Resulting Numbers: [87, 44, 1]
Generated Node #0,3: 44:[87, 44, 1] Operation: 5/5=1
Exploring Operation: 5+5=10, Resulting Numbers: [87, 44, 10]
Generated Node #0,4: 44:[87, 44, 10] Operation: 5+5=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[5, 5, 43], Operations: ['87-44=43']
Exploring Operation: 5*5=25, Resulting Numbers: [43, 25]
Generated Node #0,1,0: 44:[43, 25] Operation: 5*5=25
Exploring Operation: 5+5=10, Resulting Numbers: [43, 10]
Generated Node #0,1,1: 44:[43, 10] Operation: 5+5=10
Exploring Operation: 5+43=48, Resulting Numbers: [5, 48]
Generated Node #0,1,2: 44:[5, 48] Operation: 5+43=48
Exploring Operation: 5-5=0, Resulting Numbers: [43, 0]
Generated Node #0,1,3: 44:[43, 0] Operation: 5-5=0
Exploring Operation: 5/5=1, Resulting Numbers: [43, 1]
Generated Node #0,1,4: 44:[43, 1] Operation: 5/5=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[43, 10], Operations: ['87-44=43', '5+5=10']
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,44 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 44:[43, 1], Operations: ['87-44=43', '5/5=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[5, 5, 87, 44], Operations: []
Exploring Operation: 87-44=43, Resulting Numbers: [5, 5, 43]
Generated Node #0,1: 44:[5, 5, 43] Operation: 87-44=43
Moving to Node #0,1
Current State: 44:[5, 5, 43], Operations: ['87-44=43']
Exploring Operation: 5/5=1, Resulting Numbers: [43, 1]
Generated Node #0,1,4: 44:[43, 1] Operation: 5/5=1
Moving to Node #0,1,4
Current State: 44:[43, 1], Operations: ['87-44=43', '5/5=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
22,
45,
89,
67
] | 46 | [
"89-22=67",
"67/67=1",
"45+1=46"
] | Current State: 46:[22, 45, 89, 67], Operations: []
Exploring Operation: 89-22=67, Resulting Numbers: [45, 67, 67]
Generated Node #2: [45, 67, 67] from Operation: 89-22=67
Current State: 46:[45, 67, 67], Operations: ['89-22=67']
Exploring Operation: 67/67=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 67/67=1
Current State: 46:[45, 1], Operations: ['89-22=67', '67/67=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[22, 45, 89, 67], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [22, 45, 22]
Generated Node #0,0: 46:[22, 45, 22] Operation: 89-67=22
Moving to Node #0,0
Current State: 46:[22, 45, 22], Operations: ['89-67=22']
Exploring Operation: 45-22=23, Resulting Numbers: [22, 23]
Generated Node #0,0,0: 46:[22, 23] Operation: 45-22=23
Moving to Node #0,0,0
Current State: 46:[22, 23], Operations: ['89-67=22', '45-22=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,46 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
21,
17,
6
] | 63 | [
"34/17=2",
"21*6=126",
"126/2=63"
] | Current State: 63:[34, 21, 17, 6], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [21, 6, 2]
Generated Node #2: [21, 6, 2] from Operation: 34/17=2
Current State: 63:[21, 6, 2], Operations: ['34/17=2']
Exploring Operation: 21*6=126, Resulting Numbers: [2, 126]
Generated Node #3: [2, 126] from Operation: 21*6=126
Current State: 63:[2, 126], Operations: ['34/17=2', '21*6=126']
Exploring Operation: 126/2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[34, 21, 17, 6], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [21, 6, 2]
Generated Node #0,0: 63:[21, 6, 2] Operation: 34/17=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[21, 6, 2], Operations: ['34/17=2']
Exploring Operation: 6/2=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 63:[21, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 63:[21, 3], Operations: ['34/17=2', '6/2=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[34, 21, 17, 6], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [21, 6, 2]
Generated Node #0,0: 63:[21, 6, 2] Operation: 34/17=2
Moving to Node #0,0
Current State: 63:[21, 6, 2], Operations: ['34/17=2']
Exploring Operation: 6/2=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 63:[21, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 63:[21, 3], Operations: ['34/17=2', '6/2=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
58,
64,
33,
62
] | 66 | [
"62-33=29",
"58/29=2",
"64+2=66"
] | Current State: 66:[58, 64, 33, 62], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [58, 64, 29]
Generated Node #2: [58, 64, 29] from Operation: 62-33=29
Current State: 66:[58, 64, 29], Operations: ['62-33=29']
Exploring Operation: 58/29=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 58/29=2
Current State: 66:[64, 2], Operations: ['62-33=29', '58/29=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[58, 64, 33, 62], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [64, 33, 4]
Generated Node #0,0: 66:[64, 33, 4] Operation: 62-58=4
Exploring Operation: 58-33=25, Resulting Numbers: [64, 62, 25]
Generated Node #0,1: 66:[64, 62, 25] Operation: 58-33=25
Exploring Operation: 64-62=2, Resulting Numbers: [58, 33, 2]
Generated Node #0,2: 66:[58, 33, 2] Operation: 64-62=2
Exploring Operation: 64-33=31, Resulting Numbers: [58, 62, 31]
Generated Node #0,3: 66:[58, 62, 31] Operation: 64-33=31
Exploring Operation: 64-58=6, Resulting Numbers: [33, 62, 6]
Generated Node #0,4: 66:[33, 62, 6] Operation: 64-58=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[64, 33, 4], Operations: ['62-58=4']
Exploring Operation: 64-33=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 66:[4, 31] Operation: 64-33=31
Exploring Operation: 33+4=37, Resulting Numbers: [64, 37]
Generated Node #0,0,1: 66:[64, 37] Operation: 33+4=37
Exploring Operation: 64/4=16, Resulting Numbers: [33, 16]
Generated Node #0,0,2: 66:[33, 16] Operation: 64/4=16
Exploring Operation: 64+4=68, Resulting Numbers: [33, 68]
Generated Node #0,0,3: 66:[33, 68] Operation: 64+4=68
Exploring Operation: 64-4=60, Resulting Numbers: [33, 60]
Generated Node #0,0,4: 66:[33, 60] Operation: 64-4=60
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[33, 68], Operations: ['62-58=4', '64+4=68']
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 33+68=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 33*68=2244, Resulting Numbers: [2244]
2244,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[4, 31], Operations: ['62-58=4', '64-33=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[33, 16], Operations: ['62-58=4', '64/4=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[64, 37], Operations: ['62-58=4', '33+4=37']
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,66 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 66:[33, 60], Operations: ['62-58=4', '64-4=60']
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 33*60=1980, Resulting Numbers: [1980]
1980,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[33, 62, 6], Operations: ['64-58=6']
Exploring Operation: 62+6=68, Resulting Numbers: [33, 68]
Generated Node #0,4,0: 66:[33, 68] Operation: 62+6=68
Exploring Operation: 33-6=27, Resulting Numbers: [62, 27]
Generated Node #0,4,1: 66:[62, 27] Operation: 33-6=27
Exploring Operation: 62-6=56, Resulting Numbers: [33, 56]
Generated Node #0,4,2: 66:[33, 56] Operation: 62-6=56
Exploring Operation: 62-33=29, Resulting Numbers: [6, 29]
Generated Node #0,4,3: 66:[6, 29] Operation: 62-33=29
Exploring Operation: 33+6=39, Resulting Numbers: [62, 39]
Generated Node #0,4,4: 66:[62, 39] Operation: 33+6=39
Moving to Node #0,4,0
Current State: 66:[33, 68], Operations: ['64-58=6', '62+6=68']
Exploring Operation: 33*68=2244, Resulting Numbers: [2244]
2244,66 unequal: No Solution
Exploring Operation: 33+68=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[6, 29], Operations: ['64-58=6', '62-33=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,66 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[62, 27], Operations: ['64-58=6', '33-6=27']
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,66 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Moving to Node #0,4,2
Current State: 66:[33, 56], Operations: ['64-58=6', '62-6=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,66 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Moving to Node #0,4,4
Current State: 66:[62, 39], Operations: ['64-58=6', '33+6=39']
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,66 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[58, 33, 2], Operations: ['64-62=2']
Exploring Operation: 58+2=60, Resulting Numbers: [33, 60]
Generated Node #0,2,0: 66:[33, 60] Operation: 58+2=60
Exploring Operation: 58-2=56, Resulting Numbers: [33, 56]
Generated Node #0,2,1: 66:[33, 56] Operation: 58-2=56
Exploring Operation: 58-33=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 66:[2, 25] Operation: 58-33=25
Exploring Operation: 58/2=29, Resulting Numbers: [33, 29]
Generated Node #0,2,3: 66:[33, 29] Operation: 58/2=29
Exploring Operation: 33*2=66, Resulting Numbers: [58, 66]
Generated Node #0,2,4: 66:[58, 66] Operation: 33*2=66
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[2, 25], Operations: ['64-62=2', '58-33=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 66:[33, 29], Operations: ['64-62=2', '58/2=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[33, 60], Operations: ['64-62=2', '58+2=60']
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 33*60=1980, Resulting Numbers: [1980]
1980,66 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 66:[58, 66], Operations: ['64-62=2', '33*2=66']
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,66 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[33, 56], Operations: ['64-62=2', '58-2=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,66 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[64, 62, 25], Operations: ['58-33=25']
Exploring Operation: 64+25=89, Resulting Numbers: [62, 89]
Generated Node #0,1,0: 66:[62, 89] Operation: 64+25=89
Exploring Operation: 64-25=39, Resulting Numbers: [62, 39]
Generated Node #0,1,1: 66:[62, 39] Operation: 64-25=39
Exploring Operation: 64-62=2, Resulting Numbers: [25, 2]
Generated Node #0,1,2: 66:[25, 2] Operation: 64-62=2
Exploring Operation: 62-25=37, Resulting Numbers: [64, 37]
Generated Node #0,1,3: 66:[64, 37] Operation: 62-25=37
Exploring Operation: 62+25=87, Resulting Numbers: [64, 87]
Generated Node #0,1,4: 66:[64, 87] Operation: 62+25=87
Moving to Node #0,1,2
Current State: 66:[25, 2], Operations: ['58-33=25', '64-62=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[64, 37], Operations: ['58-33=25', '62-25=37']
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[62, 39], Operations: ['58-33=25', '64-25=39']
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,66 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[64, 87], Operations: ['58-33=25', '62+25=87']
Exploring Operation: 64*87=5568, Resulting Numbers: [5568]
5568,66 unequal: No Solution
Exploring Operation: 64+87=151, Resulting Numbers: [151]
151,66 unequal: No Solution
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[62, 89], Operations: ['58-33=25', '64+25=89']
Exploring Operation: 62*89=5518, Resulting Numbers: [5518]
5518,66 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 62+89=151, Resulting Numbers: [151]
151,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[58, 62, 31], Operations: ['64-33=31']
Exploring Operation: 62-31=31, Resulting Numbers: [58, 31]
Generated Node #0,3,0: 66:[58, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [58, 2]
Generated Node #0,3,1: 66:[58, 2] Operation: 62/31=2
Exploring Operation: 62-58=4, Resulting Numbers: [31, 4]
Generated Node #0,3,2: 66:[31, 4] Operation: 62-58=4
Exploring Operation: 58+31=89, Resulting Numbers: [62, 89]
Generated Node #0,3,3: 66:[62, 89] Operation: 58+31=89
Exploring Operation: 58-31=27, Resulting Numbers: [62, 27]
Generated Node #0,3,4: 66:[62, 27] Operation: 58-31=27
Moving to Node #0,3,2
Current State: 66:[31, 4], Operations: ['64-33=31', '62-58=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[58, 2], Operations: ['64-33=31', '62/31=2']
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,66 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[62, 27], Operations: ['64-33=31', '58-31=27']
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,66 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[58, 31], Operations: ['64-33=31', '62-31=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,66 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[62, 89], Operations: ['64-33=31', '58+31=89']
Exploring Operation: 62*89=5518, Resulting Numbers: [5518]
5518,66 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 62+89=151, Resulting Numbers: [151]
151,66 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 |
[
81,
32,
4,
5
] | 48 | [
"81-32=49",
"5-4=1",
"49-1=48"
] | Current State: 48:[81, 32, 4, 5], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [4, 5, 49]
Generated Node #2: [4, 5, 49] from Operation: 81-32=49
Current State: 48:[4, 5, 49], Operations: ['81-32=49']
Exploring Operation: 5-4=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 5-4=1
Current State: 48:[49, 1], Operations: ['81-32=49', '5-4=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[81, 32, 4, 5], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [4, 5, 49]
Generated Node #0,0: 48:[4, 5, 49] Operation: 81-32=49
Moving to Node #0,0
Current State: 48:[4, 5, 49], Operations: ['81-32=49']
Exploring Operation: 4+5=9, Resulting Numbers: [49, 9]
Generated Node #0,0,0: 48:[49, 9] Operation: 4+5=9
Moving to Node #0,0,0
Current State: 48:[49, 9], Operations: ['81-32=49', '4+5=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,48 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
10,
39,
70
] | 72 | [
"51-10=41",
"70-39=31",
"41+31=72"
] | Current State: 72:[51, 10, 39, 70], Operations: []
Exploring Operation: 51-10=41, Resulting Numbers: [39, 70, 41]
Generated Node #2: [39, 70, 41] from Operation: 51-10=41
Current State: 72:[39, 70, 41], Operations: ['51-10=41']
Exploring Operation: 70-39=31, Resulting Numbers: [41, 31]
Generated Node #3: [41, 31] from Operation: 70-39=31
Current State: 72:[41, 31], Operations: ['51-10=41', '70-39=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[51, 10, 39, 70], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [10, 70, 12]
Generated Node #0,0: 72:[10, 70, 12] Operation: 51-39=12
Exploring Operation: 70-51=19, Resulting Numbers: [10, 39, 19]
Generated Node #0,1: 72:[10, 39, 19] Operation: 70-51=19
Exploring Operation: 51-10=41, Resulting Numbers: [39, 70, 41]
Generated Node #0,2: 72:[39, 70, 41] Operation: 51-10=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[10, 70, 12], Operations: ['51-39=12']
Exploring Operation: 70/10=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 72:[12, 7] Operation: 70/10=7
Exploring Operation: 12-10=2, Resulting Numbers: [70, 2]
Generated Node #0,0,1: 72:[70, 2] Operation: 12-10=2
Exploring Operation: 10+12=22, Resulting Numbers: [70, 22]
Generated Node #0,0,2: 72:[70, 22] Operation: 10+12=22
Moving to Node #0,0,0
Current State: 72:[12, 7], Operations: ['51-39=12', '70/10=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[70, 2], Operations: ['51-39=12', '12-10=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[51, 10, 39, 70], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [10, 70, 12]
Generated Node #0,0: 72:[10, 70, 12] Operation: 51-39=12
Moving to Node #0,0
Current State: 72:[10, 70, 12], Operations: ['51-39=12']
Exploring Operation: 12-10=2, Resulting Numbers: [70, 2]
Generated Node #0,0,1: 72:[70, 2] Operation: 12-10=2
Moving to Node #0,0,1
Current State: 72:[70, 2], Operations: ['51-39=12', '12-10=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
65,
31,
2,
90
] | 51 | [
"65+31=96",
"90/2=45",
"96-45=51"
] | Current State: 51:[65, 31, 2, 90], Operations: []
Exploring Operation: 65+31=96, Resulting Numbers: [2, 90, 96]
Generated Node #2: [2, 90, 96] from Operation: 65+31=96
Current State: 51:[2, 90, 96], Operations: ['65+31=96']
Exploring Operation: 90/2=45, Resulting Numbers: [96, 45]
Generated Node #3: [96, 45] from Operation: 90/2=45
Current State: 51:[96, 45], Operations: ['65+31=96', '90/2=45']
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[65, 31, 2, 90], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [65, 31, 45]
Generated Node #0,0: 51:[65, 31, 45] Operation: 90/2=45
Exploring Operation: 90-31=59, Resulting Numbers: [65, 2, 59]
Generated Node #0,1: 51:[65, 2, 59] Operation: 90-31=59
Exploring Operation: 90-65=25, Resulting Numbers: [31, 2, 25]
Generated Node #0,2: 51:[31, 2, 25] Operation: 90-65=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[65, 2, 59], Operations: ['90-31=59']
Exploring Operation: 65-59=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 51:[2, 6] Operation: 65-59=6
Exploring Operation: 59-2=57, Resulting Numbers: [65, 57]
Generated Node #0,1,1: 51:[65, 57] Operation: 59-2=57
Exploring Operation: 65-2=63, Resulting Numbers: [59, 63]
Generated Node #0,1,2: 51:[59, 63] Operation: 65-2=63
Moving to Node #0,1,0
Current State: 51:[2, 6], Operations: ['90-31=59', '65-59=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[65, 57], Operations: ['90-31=59', '59-2=57']
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,51 unequal: No Solution
Exploring Operation: 65*57=3705, Resulting Numbers: [3705]
3705,51 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[59, 63], Operations: ['90-31=59', '65-2=63']
Exploring Operation: 59*63=3717, Resulting Numbers: [3717]
3717,51 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 59+63=122, Resulting Numbers: [122]
122,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:[31, 2, 25], Operations: ['90-65=25']
Exploring Operation: 31-25=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 51:[2, 6] Operation: 31-25=6
Exploring Operation: 2*25=50, Resulting Numbers: [31, 50]
Generated Node #0,2,1: 51:[31, 50] Operation: 2*25=50
Exploring Operation: 31+25=56, Resulting Numbers: [2, 56]
Generated Node #0,2,2: 51:[2, 56] Operation: 31+25=56
Moving to Node #0,2,0
Current State: 51:[2, 6], Operations: ['90-65=25', '31-25=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[2, 56], Operations: ['90-65=25', '31+25=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[31, 50], Operations: ['90-65=25', '2*25=50']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[65, 31, 45], Operations: ['90/2=45']
Exploring Operation: 65-31=34, Resulting Numbers: [45, 34]
Generated Node #0,0,0: 51:[45, 34] Operation: 65-31=34
Exploring Operation: 45-31=14, Resulting Numbers: [65, 14]
Generated Node #0,0,1: 51:[65, 14] Operation: 45-31=14
Exploring Operation: 65-45=20, Resulting Numbers: [31, 20]
Generated Node #0,0,2: 51:[31, 20] Operation: 65-45=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[65, 14], Operations: ['90/2=45', '45-31=14']
Exploring Operation: 65*14=910, Resulting Numbers: [910]
910,51 unequal: No Solution
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[65, 31, 2, 90], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [65, 31, 45]
Generated Node #0,0: 51:[65, 31, 45] Operation: 90/2=45
Moving to Node #0,0
Current State: 51:[65, 31, 45], Operations: ['90/2=45']
Exploring Operation: 45-31=14, Resulting Numbers: [65, 14]
Generated Node #0,0,1: 51:[65, 14] Operation: 45-31=14
Moving to Node #0,0,1
Current State: 51:[65, 14], Operations: ['90/2=45', '45-31=14']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
74,
60,
48,
49
] | 83 | [
"74-60=14",
"48+49=97",
"97-14=83"
] | Current State: 83:[74, 60, 48, 49], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [48, 49, 14]
Generated Node #2: [48, 49, 14] from Operation: 74-60=14
Current State: 83:[48, 49, 14], Operations: ['74-60=14']
Exploring Operation: 48+49=97, Resulting Numbers: [14, 97]
Generated Node #3: [14, 97] from Operation: 48+49=97
Current State: 83:[14, 97], Operations: ['74-60=14', '48+49=97']
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[74, 60, 48, 49], Operations: []
Exploring Operation: 48+49=97, Resulting Numbers: [74, 60, 97]
Generated Node #0,0: 83:[74, 60, 97] Operation: 48+49=97
Moving to Node #0,0
Current State: 83:[74, 60, 97], Operations: ['48+49=97']
Exploring Operation: 97-60=37, Resulting Numbers: [74, 37]
Generated Node #0,0,0: 83:[74, 37] Operation: 97-60=37
Moving to Node #0,0,0
Current State: 83:[74, 37], Operations: ['48+49=97', '97-60=37']
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
18,
73,
70,
12
] | 42 | [
"73-70=3",
"18*3=54",
"54-12=42"
] | Current State: 42:[18, 73, 70, 12], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [18, 12, 3]
Generated Node #2: [18, 12, 3] from Operation: 73-70=3
Current State: 42:[18, 12, 3], Operations: ['73-70=3']
Exploring Operation: 18*3=54, Resulting Numbers: [12, 54]
Generated Node #3: [12, 54] from Operation: 18*3=54
Current State: 42:[12, 54], Operations: ['73-70=3', '18*3=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[18, 73, 70, 12], Operations: []
Exploring Operation: 73-18=55, Resulting Numbers: [70, 12, 55]
Generated Node #0,0: 42:[70, 12, 55] Operation: 73-18=55
Exploring Operation: 73-12=61, Resulting Numbers: [18, 70, 61]
Generated Node #0,1: 42:[18, 70, 61] Operation: 73-12=61
Exploring Operation: 70-12=58, Resulting Numbers: [18, 73, 58]
Generated Node #0,2: 42:[18, 73, 58] Operation: 70-12=58
Exploring Operation: 70-18=52, Resulting Numbers: [73, 12, 52]
Generated Node #0,3: 42:[73, 12, 52] Operation: 70-18=52
Exploring Operation: 73-70=3, Resulting Numbers: [18, 12, 3]
Generated Node #0,4: 42:[18, 12, 3] Operation: 73-70=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[18, 12, 3], Operations: ['73-70=3']
Exploring Operation: 18+3=21, Resulting Numbers: [12, 21]
Generated Node #0,4,0: 42:[12, 21] Operation: 18+3=21
Exploring Operation: 18/3=6, Resulting Numbers: [12, 6]
Generated Node #0,4,1: 42:[12, 6] Operation: 18/3=6
Exploring Operation: 18-3=15, Resulting Numbers: [12, 15]
Generated Node #0,4,2: 42:[12, 15] Operation: 18-3=15
Exploring Operation: 12+3=15, Resulting Numbers: [18, 15]
Generated Node #0,4,3: 42:[18, 15] Operation: 12+3=15
Exploring Operation: 18-12=6, Resulting Numbers: [3, 6]
Generated Node #0,4,4: 42:[3, 6] Operation: 18-12=6
Moving to Node #0,4,4
Current State: 42:[3, 6], Operations: ['73-70=3', '18-12=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[12, 6], Operations: ['73-70=3', '18/3=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[12, 21], Operations: ['73-70=3', '18+3=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,42 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[12, 15], Operations: ['73-70=3', '18-3=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[18, 15], Operations: ['73-70=3', '12+3=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,42 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[70, 12, 55], Operations: ['73-18=55']
Exploring Operation: 70-12=58, Resulting Numbers: [55, 58]
Generated Node #0,0,0: 42:[55, 58] Operation: 70-12=58
Exploring Operation: 70+12=82, Resulting Numbers: [55, 82]
Generated Node #0,0,1: 42:[55, 82] Operation: 70+12=82
Exploring Operation: 55-12=43, Resulting Numbers: [70, 43]
Generated Node #0,0,2: 42:[70, 43] Operation: 55-12=43
Exploring Operation: 12+55=67, Resulting Numbers: [70, 67]
Generated Node #0,0,3: 42:[70, 67] Operation: 12+55=67
Exploring Operation: 70-55=15, Resulting Numbers: [12, 15]
Generated Node #0,0,4: 42:[12, 15] Operation: 70-55=15
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 42:[12, 15], Operations: ['73-18=55', '70-55=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,42 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[55, 58], Operations: ['73-18=55', '70-12=58']
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,42 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[70, 43], Operations: ['73-18=55', '55-12=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,42 unequal: No Solution
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,42 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[55, 82], Operations: ['73-18=55', '70+12=82']
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,42 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[70, 67], Operations: ['73-18=55', '12+55=67']
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,42 unequal: No Solution
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,42 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[73, 12, 52], Operations: ['70-18=52']
Exploring Operation: 52-12=40, Resulting Numbers: [73, 40]
Generated Node #0,3,0: 42:[73, 40] Operation: 52-12=40
Exploring Operation: 73-52=21, Resulting Numbers: [12, 21]
Generated Node #0,3,1: 42:[12, 21] Operation: 73-52=21
Exploring Operation: 12+52=64, Resulting Numbers: [73, 64]
Generated Node #0,3,2: 42:[73, 64] Operation: 12+52=64
Exploring Operation: 73-12=61, Resulting Numbers: [52, 61]
Generated Node #0,3,3: 42:[52, 61] Operation: 73-12=61
Exploring Operation: 73+12=85, Resulting Numbers: [52, 85]
Generated Node #0,3,4: 42:[52, 85] Operation: 73+12=85
Moving to Node #0,3,1
Current State: 42:[12, 21], Operations: ['70-18=52', '73-52=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,42 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[52, 61], Operations: ['70-18=52', '73-12=61']
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,42 unequal: No Solution
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[73, 40], Operations: ['70-18=52', '52-12=40']
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,42 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[73, 64], Operations: ['70-18=52', '12+52=64']
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,42 unequal: No Solution
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,42 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[52, 85], Operations: ['70-18=52', '73+12=85']
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,42 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,42 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[18, 70, 61], Operations: ['73-12=61']
Exploring Operation: 70-18=52, Resulting Numbers: [61, 52]
Generated Node #0,1,0: 42:[61, 52] Operation: 70-18=52
Exploring Operation: 18+70=88, Resulting Numbers: [61, 88]
Generated Node #0,1,1: 42:[61, 88] Operation: 18+70=88
Exploring Operation: 61-18=43, Resulting Numbers: [70, 43]
Generated Node #0,1,2: 42:[70, 43] Operation: 61-18=43
Exploring Operation: 70-61=9, Resulting Numbers: [18, 9]
Generated Node #0,1,3: 42:[18, 9] Operation: 70-61=9
Exploring Operation: 18+61=79, Resulting Numbers: [70, 79]
Generated Node #0,1,4: 42:[70, 79] Operation: 18+61=79
Moving to Node #0,1,3
Current State: 42:[18, 9], Operations: ['73-12=61', '70-61=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[70, 43], Operations: ['73-12=61', '61-18=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,42 unequal: No Solution
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,42 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[61, 52], Operations: ['73-12=61', '70-18=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,42 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,42 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[61, 88], Operations: ['73-12=61', '18+70=88']
Exploring Operation: 61*88=5368, Resulting Numbers: [5368]
5368,42 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[70, 79], Operations: ['73-12=61', '18+61=79']
Exploring Operation: 70+79=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 70*79=5530, Resulting Numbers: [5530]
5530,42 unequal: No Solution
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[18, 73, 58], Operations: ['70-12=58']
Exploring Operation: 18+73=91, Resulting Numbers: [58, 91]
Generated Node #0,2,0: 42:[58, 91] Operation: 18+73=91
Exploring Operation: 73-58=15, Resulting Numbers: [18, 15]
Generated Node #0,2,1: 42:[18, 15] Operation: 73-58=15
Exploring Operation: 18+58=76, Resulting Numbers: [73, 76]
Generated Node #0,2,2: 42:[73, 76] Operation: 18+58=76
Exploring Operation: 58-18=40, Resulting Numbers: [73, 40]
Generated Node #0,2,3: 42:[73, 40] Operation: 58-18=40
Exploring Operation: 73-18=55, Resulting Numbers: [58, 55]
Generated Node #0,2,4: 42:[58, 55] Operation: 73-18=55
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[18, 15], Operations: ['70-12=58', '73-58=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,42 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 42:[58, 55], Operations: ['70-12=58', '73-18=55']
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,42 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 42:[73, 40], Operations: ['70-12=58', '58-18=40']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,42 unequal: No Solution
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[58, 91], Operations: ['70-12=58', '18+73=91']
Exploring Operation: 58+91=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 58*91=5278, Resulting Numbers: [5278]
5278,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[73, 76], Operations: ['70-12=58', '18+58=76']
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 73*76=5548, Resulting Numbers: [5548]
5548,42 unequal: No Solution
Exploring Operation: 73+76=149, Resulting Numbers: [149]
149,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
21,
77,
80,
80
] | 77 | [
"80-80=0",
"21*0=0",
"77+0=77"
] | Current State: 77:[21, 77, 80, 80], Operations: []
Exploring Operation: 80-80=0, Resulting Numbers: [21, 77, 0]
Generated Node #2: [21, 77, 0] from Operation: 80-80=0
Current State: 77:[21, 77, 0], Operations: ['80-80=0']
Exploring Operation: 21*0=0, Resulting Numbers: [77, 0]
Generated Node #3: [77, 0] from Operation: 21*0=0
Current State: 77:[77, 0], Operations: ['80-80=0', '21*0=0']
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[21, 77, 80, 80], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [21, 80, 3]
Generated Node #0,0: 77:[21, 80, 3] Operation: 80-77=3
Exploring Operation: 80/80=1, Resulting Numbers: [21, 77, 1]
Generated Node #0,1: 77:[21, 77, 1] Operation: 80/80=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[21, 77, 1], Operations: ['80/80=1']
Exploring Operation: 21-1=20, Resulting Numbers: [77, 20]
Generated Node #0,1,0: 77:[77, 20] Operation: 21-1=20
Exploring Operation: 21*1=21, Resulting Numbers: [77, 21]
Generated Node #0,1,1: 77:[77, 21] Operation: 21*1=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[77, 20], Operations: ['80/80=1', '21-1=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[77, 21], Operations: ['80/80=1', '21*1=21']
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[21, 80, 3], Operations: ['80-77=3']
Exploring Operation: 21/3=7, Resulting Numbers: [80, 7]
Generated Node #0,0,0: 77:[80, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [80, 18]
Generated Node #0,0,1: 77:[80, 18] Operation: 21-3=18
Moving to Node #0,0,0
Current State: 77:[80, 7], Operations: ['80-77=3', '21/3=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[80, 18], Operations: ['80-77=3', '21-3=18']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
58,
24,
91
] | 47 | [
"78-58=20",
"91-24=67",
"67-20=47"
] | Current State: 47:[78, 58, 24, 91], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [24, 91, 20]
Generated Node #2: [24, 91, 20] from Operation: 78-58=20
Current State: 47:[24, 91, 20], Operations: ['78-58=20']
Exploring Operation: 91-24=67, Resulting Numbers: [20, 67]
Generated Node #3: [20, 67] from Operation: 91-24=67
Current State: 47:[20, 67], Operations: ['78-58=20', '91-24=67']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[78, 58, 24, 91], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [78, 58, 67]
Generated Node #0,0: 47:[78, 58, 67] Operation: 91-24=67
Exploring Operation: 78-24=54, Resulting Numbers: [58, 91, 54]
Generated Node #0,1: 47:[58, 91, 54] Operation: 78-24=54
Moving to Node #0,0
Current State: 47:[78, 58, 67], Operations: ['91-24=67']
Exploring Operation: 78-67=11, Resulting Numbers: [58, 11]
Generated Node #0,0,0: 47:[58, 11] Operation: 78-67=11
Exploring Operation: 78-58=20, Resulting Numbers: [67, 20]
Generated Node #0,0,1: 47:[67, 20] Operation: 78-58=20
Moving to Node #0,1
Current State: 47:[58, 91, 54], Operations: ['78-24=54']
Exploring Operation: 91-58=33, Resulting Numbers: [54, 33]
Generated Node #0,1,0: 47:[54, 33] Operation: 91-58=33
Exploring Operation: 91-54=37, Resulting Numbers: [58, 37]
Generated Node #0,1,1: 47:[58, 37] Operation: 91-54=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[54, 33], Operations: ['78-24=54', '91-58=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[58, 37], Operations: ['78-24=54', '91-54=37']
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 47:[58, 11], Operations: ['91-24=67', '78-67=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[78, 58, 24, 91], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [78, 58, 67]
Generated Node #0,0: 47:[78, 58, 67] Operation: 91-24=67
Moving to Node #0,0
Current State: 47:[78, 58, 67], Operations: ['91-24=67']
Exploring Operation: 78-67=11, Resulting Numbers: [58, 11]
Generated Node #0,0,0: 47:[58, 11] Operation: 78-67=11
Moving to Node #0,0,0
Current State: 47:[58, 11], Operations: ['91-24=67', '78-67=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
31,
93,
88,
81
] | 61 | [
"93/31=3",
"81/3=27",
"88-27=61"
] | Current State: 61:[31, 93, 88, 81], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [88, 81, 3]
Generated Node #2: [88, 81, 3] from Operation: 93/31=3
Current State: 61:[88, 81, 3], Operations: ['93/31=3']
Exploring Operation: 81/3=27, Resulting Numbers: [88, 27]
Generated Node #3: [88, 27] from Operation: 81/3=27
Current State: 61:[88, 27], Operations: ['93/31=3', '81/3=27']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[31, 93, 88, 81], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [88, 81, 62]
Generated Node #0,0: 61:[88, 81, 62] Operation: 93-31=62
Exploring Operation: 93/31=3, Resulting Numbers: [88, 81, 3]
Generated Node #0,1: 61:[88, 81, 3] Operation: 93/31=3
Exploring Operation: 93-88=5, Resulting Numbers: [31, 81, 5]
Generated Node #0,2: 61:[31, 81, 5] Operation: 93-88=5
Exploring Operation: 81-31=50, Resulting Numbers: [93, 88, 50]
Generated Node #0,3: 61:[93, 88, 50] Operation: 81-31=50
Exploring Operation: 88-31=57, Resulting Numbers: [93, 81, 57]
Generated Node #0,4: 61:[93, 81, 57] Operation: 88-31=57
Moving to Node #0,0
Current State: 61:[88, 81, 62], Operations: ['93-31=62']
Exploring Operation: 88-62=26, Resulting Numbers: [81, 26]
Generated Node #0,0,0: 61:[81, 26] Operation: 88-62=26
Exploring Operation: 81-62=19, Resulting Numbers: [88, 19]
Generated Node #0,0,1: 61:[88, 19] Operation: 81-62=19
Exploring Operation: 88+62=150, Resulting Numbers: [81, 150]
Generated Node #0,0,2: 61:[81, 150] Operation: 88+62=150
Exploring Operation: 88+81=169, Resulting Numbers: [62, 169]
Generated Node #0,0,3: 61:[62, 169] Operation: 88+81=169
Exploring Operation: 88-81=7, Resulting Numbers: [62, 7]
Generated Node #0,0,4: 61:[62, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[81, 26], Operations: ['93-31=62', '88-62=26']
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,61 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,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,4
Current State: 61:[62, 7], Operations: ['93-31=62', '88-81=7']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,61 unequal: No Solution
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,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:[88, 19], Operations: ['93-31=62', '81-62=19']
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,61 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,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,2
Current State: 61:[81, 150], Operations: ['93-31=62', '88+62=150']
Exploring Operation: 81*150=12150, Resulting Numbers: [12150]
12150,61 unequal: No Solution
Exploring Operation: 81+150=231, Resulting Numbers: [231]
231,61 unequal: No Solution
Exploring Operation: 150-81=69, Resulting Numbers: [69]
69,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,3
Current State: 61:[62, 169], Operations: ['93-31=62', '88+81=169']
Exploring Operation: 62*169=10478, Resulting Numbers: [10478]
10478,61 unequal: No Solution
Exploring Operation: 62+169=231, Resulting Numbers: [231]
231,61 unequal: No Solution
Exploring Operation: 169-62=107, Resulting Numbers: [107]
107,61 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: 61:[93, 81, 57], Operations: ['88-31=57']
Exploring Operation: 81+57=138, Resulting Numbers: [93, 138]
Generated Node #0,4,0: 61:[93, 138] Operation: 81+57=138
Exploring Operation: 93-57=36, Resulting Numbers: [81, 36]
Generated Node #0,4,1: 61:[81, 36] Operation: 93-57=36
Exploring Operation: 93+57=150, Resulting Numbers: [81, 150]
Generated Node #0,4,2: 61:[81, 150] Operation: 93+57=150
Exploring Operation: 81-57=24, Resulting Numbers: [93, 24]
Generated Node #0,4,3: 61:[93, 24] Operation: 81-57=24
Exploring Operation: 93-81=12, Resulting Numbers: [57, 12]
Generated Node #0,4,4: 61:[57, 12] Operation: 93-81=12
Moving to Node #0,3
Current State: 61:[93, 88, 50], Operations: ['81-31=50']
Exploring Operation: 88-50=38, Resulting Numbers: [93, 38]
Generated Node #0,3,0: 61:[93, 38] Operation: 88-50=38
Exploring Operation: 93-50=43, Resulting Numbers: [88, 43]
Generated Node #0,3,1: 61:[88, 43] Operation: 93-50=43
Exploring Operation: 93-88=5, Resulting Numbers: [50, 5]
Generated Node #0,3,2: 61:[50, 5] Operation: 93-88=5
Exploring Operation: 93+50=143, Resulting Numbers: [88, 143]
Generated Node #0,3,3: 61:[88, 143] Operation: 93+50=143
Exploring Operation: 88+50=138, Resulting Numbers: [93, 138]
Generated Node #0,3,4: 61:[93, 138] Operation: 88+50=138
Moving to Node #0,1
Current State: 61:[88, 81, 3], Operations: ['93/31=3']
Exploring Operation: 81/3=27, Resulting Numbers: [88, 27]
Generated Node #0,1,0: 61:[88, 27] Operation: 81/3=27
Exploring Operation: 81-3=78, Resulting Numbers: [88, 78]
Generated Node #0,1,1: 61:[88, 78] Operation: 81-3=78
Exploring Operation: 81+3=84, Resulting Numbers: [88, 84]
Generated Node #0,1,2: 61:[88, 84] Operation: 81+3=84
Exploring Operation: 88+3=91, Resulting Numbers: [81, 91]
Generated Node #0,1,3: 61:[81, 91] Operation: 88+3=91
Exploring Operation: 88-3=85, Resulting Numbers: [81, 85]
Generated Node #0,1,4: 61:[81, 85] Operation: 88-3=85
Moving to Node #0,2
Current State: 61:[31, 81, 5], Operations: ['93-88=5']
Exploring Operation: 31+5=36, Resulting Numbers: [81, 36]
Generated Node #0,2,0: 61:[81, 36] Operation: 31+5=36
Exploring Operation: 81-31=50, Resulting Numbers: [5, 50]
Generated Node #0,2,1: 61:[5, 50] Operation: 81-31=50
Exploring Operation: 81-5=76, Resulting Numbers: [31, 76]
Generated Node #0,2,2: 61:[31, 76] Operation: 81-5=76
Exploring Operation: 81+5=86, Resulting Numbers: [31, 86]
Generated Node #0,2,3: 61:[31, 86] Operation: 81+5=86
Exploring Operation: 31-5=26, Resulting Numbers: [81, 26]
Generated Node #0,2,4: 61:[81, 26] Operation: 31-5=26
Moving to Node #0,1,1
Current State: 61:[88, 78], Operations: ['93/31=3', '81-3=78']
Exploring Operation: 88*78=6864, Resulting Numbers: [6864]
6864,61 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 88+78=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[81, 85], Operations: ['93/31=3', '88-3=85']
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 81*85=6885, Resulting Numbers: [6885]
6885,61 unequal: No Solution
Exploring Operation: 81+85=166, Resulting Numbers: [166]
166,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[88, 43], Operations: ['81-31=50', '93-50=43']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,61 unequal: No Solution
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[81, 36], Operations: ['88-31=57', '93-57=36']
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,61 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[81, 36], Operations: ['93-88=5', '31+5=36']
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,61 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[31, 76], Operations: ['93-88=5', '81-5=76']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,61 unequal: No Solution
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[81, 91], Operations: ['93/31=3', '88+3=91']
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,61 unequal: No Solution
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[88, 84], Operations: ['93/31=3', '81+3=84']
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 88*84=7392, Resulting Numbers: [7392]
7392,61 unequal: No Solution
Exploring Operation: 88+84=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[57, 12], Operations: ['88-31=57', '93-81=12']
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 57*12=684, Resulting Numbers: [684]
684,61 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[93, 38], Operations: ['81-31=50', '88-50=38']
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 93+38=131, Resulting Numbers: [131]
131,61 unequal: No Solution
Exploring Operation: 93*38=3534, Resulting Numbers: [3534]
3534,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[81, 26], Operations: ['93-88=5', '31-5=26']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,61 unequal: No Solution
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[31, 86], Operations: ['93-88=5', '81+5=86']
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[88, 27], Operations: ['93/31=3', '81/3=27']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[31, 93, 88, 81], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [88, 81, 3]
Generated Node #0,1: 61:[88, 81, 3] Operation: 93/31=3
Moving to Node #0,1
Current State: 61:[88, 81, 3], Operations: ['93/31=3']
Exploring Operation: 81/3=27, Resulting Numbers: [88, 27]
Generated Node #0,1,0: 61:[88, 27] Operation: 81/3=27
Moving to Node #0,1,0
Current State: 61:[88, 27], Operations: ['93/31=3', '81/3=27']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.925347 | hs_5 | mult_heuristic |
[
22,
73,
21,
29
] | 76 | [
"29-22=7",
"21/7=3",
"73+3=76"
] | Current State: 76:[22, 73, 21, 29], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [73, 21, 7]
Generated Node #2: [73, 21, 7] from Operation: 29-22=7
Current State: 76:[73, 21, 7], Operations: ['29-22=7']
Exploring Operation: 21/7=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 21/7=3
Current State: 76:[73, 3], Operations: ['29-22=7', '21/7=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[22, 73, 21, 29], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [73, 21, 7]
Generated Node #0,0: 76:[73, 21, 7] Operation: 29-22=7
Exploring Operation: 29-21=8, Resulting Numbers: [22, 73, 8]
Generated Node #0,1: 76:[22, 73, 8] Operation: 29-21=8
Moving to Node #0,0
Current State: 76:[73, 21, 7], Operations: ['29-22=7']
Exploring Operation: 21/7=3, Resulting Numbers: [73, 3]
Generated Node #0,0,0: 76:[73, 3] Operation: 21/7=3
Exploring Operation: 73+7=80, Resulting Numbers: [21, 80]
Generated Node #0,0,1: 76:[21, 80] Operation: 73+7=80
Moving to Node #0,1
Current State: 76:[22, 73, 8], Operations: ['29-21=8']
Exploring Operation: 22-8=14, Resulting Numbers: [73, 14]
Generated Node #0,1,0: 76:[73, 14] Operation: 22-8=14
Exploring Operation: 73+8=81, Resulting Numbers: [22, 81]
Generated Node #0,1,1: 76:[22, 81] Operation: 73+8=81
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[73, 14], Operations: ['29-21=8', '22-8=14']
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,76 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[22, 81], Operations: ['29-21=8', '73+8=81']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,76 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: 76:[73, 3], Operations: ['29-22=7', '21/7=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[22, 73, 21, 29], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [73, 21, 7]
Generated Node #0,0: 76:[73, 21, 7] Operation: 29-22=7
Moving to Node #0,0
Current State: 76:[73, 21, 7], Operations: ['29-22=7']
Exploring Operation: 21/7=3, Resulting Numbers: [73, 3]
Generated Node #0,0,0: 76:[73, 3] Operation: 21/7=3
Moving to Node #0,0,0
Current State: 76:[73, 3], Operations: ['29-22=7', '21/7=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
51,
75,
45,
9
] | 60 | [
"75-51=24",
"45-9=36",
"24+36=60"
] | Current State: 60:[51, 75, 45, 9], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [45, 9, 24]
Generated Node #2: [45, 9, 24] from Operation: 75-51=24
Current State: 60:[45, 9, 24], Operations: ['75-51=24']
Exploring Operation: 45-9=36, Resulting Numbers: [24, 36]
Generated Node #3: [24, 36] from Operation: 45-9=36
Current State: 60:[24, 36], Operations: ['75-51=24', '45-9=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[51, 75, 45, 9], Operations: []
Exploring Operation: 75-45=30, Resulting Numbers: [51, 9, 30]
Generated Node #0,0: 60:[51, 9, 30] Operation: 75-45=30
Moving to Node #0,0
Current State: 60:[51, 9, 30], Operations: ['75-45=30']
Exploring Operation: 51+9=60, Resulting Numbers: [30, 60]
Generated Node #0,0,0: 60:[30, 60] Operation: 51+9=60
Moving to Node #0,0,0
Current State: 60:[30, 60], Operations: ['75-45=30', '51+9=60']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
10,
6,
28
] | 70 | [
"29+6=35",
"35-28=7",
"10*7=70"
] | Current State: 70:[29, 10, 6, 28], Operations: []
Exploring Operation: 29+6=35, Resulting Numbers: [10, 28, 35]
Generated Node #2: [10, 28, 35] from Operation: 29+6=35
Current State: 70:[10, 28, 35], Operations: ['29+6=35']
Exploring Operation: 35-28=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 35-28=7
Current State: 70:[10, 7], Operations: ['29+6=35', '35-28=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[29, 10, 6, 28], Operations: []
Exploring Operation: 29+6=35, Resulting Numbers: [10, 28, 35]
Generated Node #0,0: 70:[10, 28, 35] Operation: 29+6=35
Exploring Operation: 29-28=1, Resulting Numbers: [10, 6, 1]
Generated Node #0,1: 70:[10, 6, 1] Operation: 29-28=1
Moving to Node #0,1
Current State: 70:[10, 6, 1], Operations: ['29-28=1']
Exploring Operation: 6-1=5, Resulting Numbers: [10, 5]
Generated Node #0,1,0: 70:[10, 5] Operation: 6-1=5
Exploring Operation: 6+1=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 70:[10, 7] Operation: 6+1=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[10, 5], Operations: ['29-28=1', '6-1=5']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[10, 7], Operations: ['29-28=1', '6+1=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[29, 10, 6, 28], Operations: []
Exploring Operation: 29-28=1, Resulting Numbers: [10, 6, 1]
Generated Node #0,1: 70:[10, 6, 1] Operation: 29-28=1
Moving to Node #0,1
Current State: 70:[10, 6, 1], Operations: ['29-28=1']
Exploring Operation: 6+1=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 70:[10, 7] Operation: 6+1=7
Moving to Node #0,1,1
Current State: 70:[10, 7], Operations: ['29-28=1', '6+1=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
5,
87,
67,
27
] | 31 | [
"87-67=20",
"20/5=4",
"27+4=31"
] | Current State: 31:[5, 87, 67, 27], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [5, 27, 20]
Generated Node #2: [5, 27, 20] from Operation: 87-67=20
Current State: 31:[5, 27, 20], Operations: ['87-67=20']
Exploring Operation: 20/5=4, Resulting Numbers: [27, 4]
Generated Node #3: [27, 4] from Operation: 20/5=4
Current State: 31:[27, 4], Operations: ['87-67=20', '20/5=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[5, 87, 67, 27], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [5, 27, 20]
Generated Node #0,0: 31:[5, 27, 20] Operation: 87-67=20
Exploring Operation: 67-5=62, Resulting Numbers: [87, 27, 62]
Generated Node #0,1: 31:[87, 27, 62] Operation: 67-5=62
Exploring Operation: 67-27=40, Resulting Numbers: [5, 87, 40]
Generated Node #0,2: 31:[5, 87, 40] Operation: 67-27=40
Exploring Operation: 87-5=82, Resulting Numbers: [67, 27, 82]
Generated Node #0,3: 31:[67, 27, 82] Operation: 87-5=82
Exploring Operation: 87-27=60, Resulting Numbers: [5, 67, 60]
Generated Node #0,4: 31:[5, 67, 60] Operation: 87-27=60
Moving to Node #0,0
Current State: 31:[5, 27, 20], Operations: ['87-67=20']
Exploring Operation: 20/5=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 31:[27, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [27, 15]
Generated Node #0,0,1: 31:[27, 15] Operation: 20-5=15
Exploring Operation: 27-5=22, Resulting Numbers: [20, 22]
Generated Node #0,0,2: 31:[20, 22] Operation: 27-5=22
Exploring Operation: 5+20=25, Resulting Numbers: [27, 25]
Generated Node #0,0,3: 31:[27, 25] Operation: 5+20=25
Exploring Operation: 5+27=32, Resulting Numbers: [20, 32]
Generated Node #0,0,4: 31:[20, 32] Operation: 5+27=32
Moving to Node #0,2
Current State: 31:[5, 87, 40], Operations: ['67-27=40']
Exploring Operation: 5+40=45, Resulting Numbers: [87, 45]
Generated Node #0,2,0: 31:[87, 45] Operation: 5+40=45
Exploring Operation: 40-5=35, Resulting Numbers: [87, 35]
Generated Node #0,2,1: 31:[87, 35] Operation: 40-5=35
Exploring Operation: 87-40=47, Resulting Numbers: [5, 47]
Generated Node #0,2,2: 31:[5, 47] Operation: 87-40=47
Exploring Operation: 5+87=92, Resulting Numbers: [40, 92]
Generated Node #0,2,3: 31:[40, 92] Operation: 5+87=92
Exploring Operation: 87-5=82, Resulting Numbers: [40, 82]
Generated Node #0,2,4: 31:[40, 82] Operation: 87-5=82
Moving to Node #0,4
Current State: 31:[5, 67, 60], Operations: ['87-27=60']
Exploring Operation: 67-60=7, Resulting Numbers: [5, 7]
Generated Node #0,4,0: 31:[5, 7] Operation: 67-60=7
Exploring Operation: 67-5=62, Resulting Numbers: [60, 62]
Generated Node #0,4,1: 31:[60, 62] Operation: 67-5=62
Exploring Operation: 60/5=12, Resulting Numbers: [67, 12]
Generated Node #0,4,2: 31:[67, 12] Operation: 60/5=12
Exploring Operation: 5+67=72, Resulting Numbers: [60, 72]
Generated Node #0,4,3: 31:[60, 72] Operation: 5+67=72
Exploring Operation: 60-5=55, Resulting Numbers: [67, 55]
Generated Node #0,4,4: 31:[67, 55] Operation: 60-5=55
Moving to Node #0,1
Current State: 31:[87, 27, 62], Operations: ['67-5=62']
Exploring Operation: 62-27=35, Resulting Numbers: [87, 35]
Generated Node #0,1,0: 31:[87, 35] Operation: 62-27=35
Exploring Operation: 27+62=89, Resulting Numbers: [87, 89]
Generated Node #0,1,1: 31:[87, 89] Operation: 27+62=89
Exploring Operation: 87+27=114, Resulting Numbers: [62, 114]
Generated Node #0,1,2: 31:[62, 114] Operation: 87+27=114
Exploring Operation: 87-62=25, Resulting Numbers: [27, 25]
Generated Node #0,1,3: 31:[27, 25] Operation: 87-62=25
Exploring Operation: 87-27=60, Resulting Numbers: [62, 60]
Generated Node #0,1,4: 31:[62, 60] Operation: 87-27=60
Moving to Node #0,3
Current State: 31:[67, 27, 82], Operations: ['87-5=82']
Exploring Operation: 27+82=109, Resulting Numbers: [67, 109]
Generated Node #0,3,0: 31:[67, 109] Operation: 27+82=109
Exploring Operation: 82-27=55, Resulting Numbers: [67, 55]
Generated Node #0,3,1: 31:[67, 55] Operation: 82-27=55
Exploring Operation: 67+27=94, Resulting Numbers: [82, 94]
Generated Node #0,3,2: 31:[82, 94] Operation: 67+27=94
Exploring Operation: 82-67=15, Resulting Numbers: [27, 15]
Generated Node #0,3,3: 31:[27, 15] Operation: 82-67=15
Exploring Operation: 67-27=40, Resulting Numbers: [82, 40]
Generated Node #0,3,4: 31:[82, 40] Operation: 67-27=40
Moving to Node #0,0,3
Current State: 31:[27, 25], Operations: ['87-67=20', '5+20=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,31 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[27, 25], Operations: ['67-5=62', '87-62=25']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,31 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[20, 32], Operations: ['87-67=20', '5+27=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[27, 15], Operations: ['87-67=20', '20-5=15']
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,31 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[27, 15], Operations: ['87-5=82', '82-67=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[20, 22], Operations: ['87-67=20', '27-5=22']
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,31 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[27, 4], Operations: ['87-67=20', '20/5=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[5, 87, 67, 27], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [5, 27, 20]
Generated Node #0,0: 31:[5, 27, 20] Operation: 87-67=20
Moving to Node #0,0
Current State: 31:[5, 27, 20], Operations: ['87-67=20']
Exploring Operation: 20/5=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 31:[27, 4] Operation: 20/5=4
Moving to Node #0,0,0
Current State: 31:[27, 4], Operations: ['87-67=20', '20/5=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
55,
75,
12,
39
] | 31 | [
"75-55=20",
"12+39=51",
"51-20=31"
] | Current State: 31:[55, 75, 12, 39], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [12, 39, 20]
Generated Node #2: [12, 39, 20] from Operation: 75-55=20
Current State: 31:[12, 39, 20], Operations: ['75-55=20']
Exploring Operation: 12+39=51, Resulting Numbers: [20, 51]
Generated Node #3: [20, 51] from Operation: 12+39=51
Current State: 31:[20, 51], Operations: ['75-55=20', '12+39=51']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[55, 75, 12, 39], Operations: []
Exploring Operation: 75-12=63, Resulting Numbers: [55, 39, 63]
Generated Node #0,0: 31:[55, 39, 63] Operation: 75-12=63
Exploring Operation: 75-39=36, Resulting Numbers: [55, 12, 36]
Generated Node #0,1: 31:[55, 12, 36] Operation: 75-39=36
Exploring Operation: 75-55=20, Resulting Numbers: [12, 39, 20]
Generated Node #0,2: 31:[12, 39, 20] Operation: 75-55=20
Exploring Operation: 55-12=43, Resulting Numbers: [75, 39, 43]
Generated Node #0,3: 31:[75, 39, 43] Operation: 55-12=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[12, 39, 20], Operations: ['75-55=20']
Exploring Operation: 12+20=32, Resulting Numbers: [39, 32]
Generated Node #0,2,0: 31:[39, 32] Operation: 12+20=32
Exploring Operation: 20-12=8, Resulting Numbers: [39, 8]
Generated Node #0,2,1: 31:[39, 8] Operation: 20-12=8
Exploring Operation: 12+39=51, Resulting Numbers: [20, 51]
Generated Node #0,2,2: 31:[20, 51] Operation: 12+39=51
Exploring Operation: 39-12=27, Resulting Numbers: [20, 27]
Generated Node #0,2,3: 31:[20, 27] Operation: 39-12=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[39, 32], Operations: ['75-55=20', '12+20=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,31 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 31:[20, 27], Operations: ['75-55=20', '39-12=27']
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,31 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[39, 8], Operations: ['75-55=20', '20-12=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,31 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[55, 75, 12, 39], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [12, 39, 20]
Generated Node #0,2: 31:[12, 39, 20] Operation: 75-55=20
Moving to Node #0,2
Current State: 31:[12, 39, 20], Operations: ['75-55=20']
Exploring Operation: 20-12=8, Resulting Numbers: [39, 8]
Generated Node #0,2,1: 31:[39, 8] Operation: 20-12=8
Moving to Node #0,2,1
Current State: 31:[39, 8], Operations: ['75-55=20', '20-12=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
92,
64,
49,
12
] | 89 | [
"92-64=28",
"49+12=61",
"28+61=89"
] | Current State: 89:[92, 64, 49, 12], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [49, 12, 28]
Generated Node #2: [49, 12, 28] from Operation: 92-64=28
Current State: 89:[49, 12, 28], Operations: ['92-64=28']
Exploring Operation: 49+12=61, Resulting Numbers: [28, 61]
Generated Node #3: [28, 61] from Operation: 49+12=61
Current State: 89:[28, 61], Operations: ['92-64=28', '49+12=61']
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[92, 64, 49, 12], Operations: []
Exploring Operation: 64+12=76, Resulting Numbers: [92, 49, 76]
Generated Node #0,0: 89:[92, 49, 76] Operation: 64+12=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[92, 49, 76], Operations: ['64+12=76']
Exploring Operation: 49+76=125, Resulting Numbers: [92, 125]
Generated Node #0,0,0: 89:[92, 125] Operation: 49+76=125
Moving to Node #0,0,0
Current State: 89:[92, 125], Operations: ['64+12=76', '49+76=125']
Exploring Operation: 125-92=33, Resulting Numbers: [33]
33,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
30,
51,
29
] | 86 | [
"30-24=6",
"51+29=80",
"6+80=86"
] | Current State: 86:[24, 30, 51, 29], Operations: []
Exploring Operation: 30-24=6, Resulting Numbers: [51, 29, 6]
Generated Node #2: [51, 29, 6] from Operation: 30-24=6
Current State: 86:[51, 29, 6], Operations: ['30-24=6']
Exploring Operation: 51+29=80, Resulting Numbers: [6, 80]
Generated Node #3: [6, 80] from Operation: 51+29=80
Current State: 86:[6, 80], Operations: ['30-24=6', '51+29=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[24, 30, 51, 29], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [30, 51, 5]
Generated Node #0,0: 86:[30, 51, 5] Operation: 29-24=5
Exploring Operation: 30-24=6, Resulting Numbers: [51, 29, 6]
Generated Node #0,1: 86:[51, 29, 6] Operation: 30-24=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[30, 51, 5], Operations: ['29-24=5']
Exploring Operation: 30+51=81, Resulting Numbers: [5, 81]
Generated Node #0,0,0: 86:[5, 81] Operation: 30+51=81
Exploring Operation: 30/5=6, Resulting Numbers: [51, 6]
Generated Node #0,0,1: 86:[51, 6] Operation: 30/5=6
Moving to Node #0,0,0
Current State: 86:[5, 81], Operations: ['29-24=5', '30+51=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[24, 30, 51, 29], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [30, 51, 5]
Generated Node #0,0: 86:[30, 51, 5] Operation: 29-24=5
Moving to Node #0,0
Current State: 86:[30, 51, 5], Operations: ['29-24=5']
Exploring Operation: 30+51=81, Resulting Numbers: [5, 81]
Generated Node #0,0,0: 86:[5, 81] Operation: 30+51=81
Moving to Node #0,0,0
Current State: 86:[5, 81], Operations: ['29-24=5', '30+51=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
79,
14,
36,
2
] | 99 | [
"79-14=65",
"36-2=34",
"65+34=99"
] | Current State: 99:[79, 14, 36, 2], Operations: []
Exploring Operation: 79-14=65, Resulting Numbers: [36, 2, 65]
Generated Node #2: [36, 2, 65] from Operation: 79-14=65
Current State: 99:[36, 2, 65], Operations: ['79-14=65']
Exploring Operation: 36-2=34, Resulting Numbers: [65, 34]
Generated Node #3: [65, 34] from Operation: 36-2=34
Current State: 99:[65, 34], Operations: ['79-14=65', '36-2=34']
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[79, 14, 36, 2], Operations: []
Exploring Operation: 79+14=93, Resulting Numbers: [36, 2, 93]
Generated Node #0,0: 99:[36, 2, 93] Operation: 79+14=93
Exploring Operation: 79-36=43, Resulting Numbers: [14, 2, 43]
Generated Node #0,1: 99:[14, 2, 43] Operation: 79-36=43
Moving to Node #0,0
Current State: 99:[36, 2, 93], Operations: ['79+14=93']
Exploring Operation: 2+93=95, Resulting Numbers: [36, 95]
Generated Node #0,0,0: 99:[36, 95] Operation: 2+93=95
Exploring Operation: 36-2=34, Resulting Numbers: [93, 34]
Generated Node #0,0,1: 99:[93, 34] Operation: 36-2=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[36, 95], Operations: ['79+14=93', '2+93=95']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,99 unequal: No Solution
No 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: 99:[93, 34], Operations: ['79+14=93', '36-2=34']
Exploring Operation: 93+34=127, Resulting Numbers: [127]
127,99 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,99 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: 99:[14, 2, 43], Operations: ['79-36=43']
Exploring Operation: 14-2=12, Resulting Numbers: [43, 12]
Generated Node #0,1,0: 99:[43, 12] Operation: 14-2=12
Exploring Operation: 43-14=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 99:[2, 29] Operation: 43-14=29
Moving to Node #0,1,1
Current State: 99:[2, 29], Operations: ['79-36=43', '43-14=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[43, 12], Operations: ['79-36=43', '14-2=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
82,
12,
72,
84
] | 95 | [
"72+84=156",
"156/12=13",
"82+13=95"
] | Current State: 95:[82, 12, 72, 84], Operations: []
Exploring Operation: 72+84=156, Resulting Numbers: [82, 12, 156]
Generated Node #2: [82, 12, 156] from Operation: 72+84=156
Current State: 95:[82, 12, 156], Operations: ['72+84=156']
Exploring Operation: 156/12=13, Resulting Numbers: [82, 13]
Generated Node #3: [82, 13] from Operation: 156/12=13
Current State: 95:[82, 13], Operations: ['72+84=156', '156/12=13']
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[82, 12, 72, 84], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [82, 84, 6]
Generated Node #0,0: 95:[82, 84, 6] Operation: 72/12=6
Exploring Operation: 82-72=10, Resulting Numbers: [12, 84, 10]
Generated Node #0,1: 95:[12, 84, 10] Operation: 82-72=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[12, 84, 10], Operations: ['82-72=10']
Exploring Operation: 12+84=96, Resulting Numbers: [10, 96]
Generated Node #0,1,0: 95:[10, 96] Operation: 12+84=96
Exploring Operation: 84/12=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 95:[10, 7] Operation: 84/12=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[10, 96], Operations: ['82-72=10', '12+84=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 10+96=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,1
Current State: 95:[10, 7], Operations: ['82-72=10', '84/12=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,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:[82, 84, 6], Operations: ['72/12=6']
Exploring Operation: 82+6=88, Resulting Numbers: [84, 88]
Generated Node #0,0,0: 95:[84, 88] Operation: 82+6=88
Exploring Operation: 84-82=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 95:[6, 2] Operation: 84-82=2
Moving to Node #0,0,1
Current State: 95:[6, 2], Operations: ['72/12=6', '84-82=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[84, 88], Operations: ['72/12=6', '82+6=88']
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,95 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,95 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 |
[
60,
13,
80,
52
] | 80 | [
"80-60=20",
"52/13=4",
"20*4=80"
] | Current State: 80:[60, 13, 80, 52], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [13, 52, 20]
Generated Node #2: [13, 52, 20] from Operation: 80-60=20
Current State: 80:[13, 52, 20], Operations: ['80-60=20']
Exploring Operation: 52/13=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 52/13=4
Current State: 80:[20, 4], Operations: ['80-60=20', '52/13=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[60, 13, 80, 52], Operations: []
Exploring Operation: 60-13=47, Resulting Numbers: [80, 52, 47]
Generated Node #0,0: 80:[80, 52, 47] Operation: 60-13=47
Exploring Operation: 80-60=20, Resulting Numbers: [13, 52, 20]
Generated Node #0,1: 80:[13, 52, 20] Operation: 80-60=20
Exploring Operation: 60+13=73, Resulting Numbers: [80, 52, 73]
Generated Node #0,2: 80:[80, 52, 73] Operation: 60+13=73
Exploring Operation: 60-52=8, Resulting Numbers: [13, 80, 8]
Generated Node #0,3: 80:[13, 80, 8] Operation: 60-52=8
Moving to Node #0,3
Current State: 80:[13, 80, 8], Operations: ['60-52=8']
Exploring Operation: 80+8=88, Resulting Numbers: [13, 88]
Generated Node #0,3,0: 80:[13, 88] Operation: 80+8=88
Exploring Operation: 13-8=5, Resulting Numbers: [80, 5]
Generated Node #0,3,1: 80:[80, 5] Operation: 13-8=5
Exploring Operation: 80/8=10, Resulting Numbers: [13, 10]
Generated Node #0,3,2: 80:[13, 10] Operation: 80/8=10
Exploring Operation: 13+8=21, Resulting Numbers: [80, 21]
Generated Node #0,3,3: 80:[80, 21] Operation: 13+8=21
Moving to Node #0,1
Current State: 80:[13, 52, 20], Operations: ['80-60=20']
Exploring Operation: 52+20=72, Resulting Numbers: [13, 72]
Generated Node #0,1,0: 80:[13, 72] Operation: 52+20=72
Exploring Operation: 52-13=39, Resulting Numbers: [20, 39]
Generated Node #0,1,1: 80:[20, 39] Operation: 52-13=39
Exploring Operation: 52-20=32, Resulting Numbers: [13, 32]
Generated Node #0,1,2: 80:[13, 32] Operation: 52-20=32
Exploring Operation: 52/13=4, Resulting Numbers: [20, 4]
Generated Node #0,1,3: 80:[20, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[20, 4], Operations: ['80-60=20', '52/13=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[60, 13, 80, 52], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [13, 52, 20]
Generated Node #0,1: 80:[13, 52, 20] Operation: 80-60=20
Moving to Node #0,1
Current State: 80:[13, 52, 20], Operations: ['80-60=20']
Exploring Operation: 52/13=4, Resulting Numbers: [20, 4]
Generated Node #0,1,3: 80:[20, 4] Operation: 52/13=4
Moving to Node #0,1,3
Current State: 80:[20, 4], Operations: ['80-60=20', '52/13=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
15,
10,
36,
20
] | 57 | [
"20/10=2",
"36*2=72",
"72-15=57"
] | Current State: 57:[15, 10, 36, 20], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [15, 36, 2]
Generated Node #2: [15, 36, 2] from Operation: 20/10=2
Current State: 57:[15, 36, 2], Operations: ['20/10=2']
Exploring Operation: 36*2=72, Resulting Numbers: [15, 72]
Generated Node #3: [15, 72] from Operation: 36*2=72
Current State: 57:[15, 72], Operations: ['20/10=2', '36*2=72']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[15, 10, 36, 20], Operations: []
Exploring Operation: 15+36=51, Resulting Numbers: [10, 20, 51]
Generated Node #0,0: 57:[10, 20, 51] Operation: 15+36=51
Exploring Operation: 36+20=56, Resulting Numbers: [15, 10, 56]
Generated Node #0,1: 57:[15, 10, 56] Operation: 36+20=56
Exploring Operation: 36-20=16, Resulting Numbers: [15, 10, 16]
Generated Node #0,2: 57:[15, 10, 16] Operation: 36-20=16
Exploring Operation: 36-10=26, Resulting Numbers: [15, 20, 26]
Generated Node #0,3: 57:[15, 20, 26] Operation: 36-10=26
Exploring Operation: 36-15=21, Resulting Numbers: [10, 20, 21]
Generated Node #0,4: 57:[10, 20, 21] Operation: 36-15=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[10, 20, 21], Operations: ['36-15=21']
Exploring Operation: 10+20=30, Resulting Numbers: [21, 30]
Generated Node #0,4,0: 57:[21, 30] Operation: 10+20=30
Exploring Operation: 21-10=11, Resulting Numbers: [20, 11]
Generated Node #0,4,1: 57:[20, 11] Operation: 21-10=11
Exploring Operation: 21-20=1, Resulting Numbers: [10, 1]
Generated Node #0,4,2: 57:[10, 1] Operation: 21-20=1
Exploring Operation: 20-10=10, Resulting Numbers: [21, 10]
Generated Node #0,4,3: 57:[21, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [21, 2]
Generated Node #0,4,4: 57:[21, 2] Operation: 20/10=2
Moving to Node #0,4,4
Current State: 57:[21, 2], Operations: ['36-15=21', '20/10=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[10, 1], Operations: ['36-15=21', '21-20=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[20, 11], Operations: ['36-15=21', '21-10=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,57 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[21, 10], Operations: ['36-15=21', '20-10=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,57 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[21, 30], Operations: ['36-15=21', '10+20=30']
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,57 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,57 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,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,1
Current State: 57:[15, 10, 56], Operations: ['36+20=56']
Exploring Operation: 10+56=66, Resulting Numbers: [15, 66]
Generated Node #0,1,0: 57:[15, 66] Operation: 10+56=66
Exploring Operation: 15-10=5, Resulting Numbers: [56, 5]
Generated Node #0,1,1: 57:[56, 5] Operation: 15-10=5
Exploring Operation: 56-10=46, Resulting Numbers: [15, 46]
Generated Node #0,1,2: 57:[15, 46] Operation: 56-10=46
Exploring Operation: 15+10=25, Resulting Numbers: [56, 25]
Generated Node #0,1,3: 57:[56, 25] Operation: 15+10=25
Exploring Operation: 15+56=71, Resulting Numbers: [10, 71]
Generated Node #0,1,4: 57:[10, 71] Operation: 15+56=71
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[56, 5], Operations: ['36+20=56', '15-10=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,57 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,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,1,3
Current State: 57:[56, 25], Operations: ['36+20=56', '15+10=25']
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,57 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,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,1,0
Current State: 57:[15, 66], Operations: ['36+20=56', '10+56=66']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,57 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,57 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,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,1,2
Current State: 57:[15, 46], Operations: ['36+20=56', '56-10=46']
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,57 unequal: No Solution
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,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,1,4
Current State: 57:[10, 71], Operations: ['36+20=56', '15+56=71']
Exploring Operation: 10*71=710, Resulting Numbers: [710]
710,57 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,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,3
Current State: 57:[15, 20, 26], Operations: ['36-10=26']
Exploring Operation: 20+26=46, Resulting Numbers: [15, 46]
Generated Node #0,3,0: 57:[15, 46] Operation: 20+26=46
Exploring Operation: 20-15=5, Resulting Numbers: [26, 5]
Generated Node #0,3,1: 57:[26, 5] Operation: 20-15=5
Exploring Operation: 26-20=6, Resulting Numbers: [15, 6]
Generated Node #0,3,2: 57:[15, 6] Operation: 26-20=6
Exploring Operation: 26-15=11, Resulting Numbers: [20, 11]
Generated Node #0,3,3: 57:[20, 11] Operation: 26-15=11
Exploring Operation: 15+26=41, Resulting Numbers: [20, 41]
Generated Node #0,3,4: 57:[20, 41] Operation: 15+26=41
Moving to Node #0,3,2
Current State: 57:[15, 6], Operations: ['36-10=26', '26-20=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[20, 11], Operations: ['36-10=26', '26-15=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,57 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[26, 5], Operations: ['36-10=26', '20-15=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,57 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[15, 46], Operations: ['36-10=26', '20+26=46']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,57 unequal: No Solution
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[20, 41], Operations: ['36-10=26', '15+26=41']
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,57 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,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,0
Current State: 57:[10, 20, 51], Operations: ['15+36=51']
Exploring Operation: 51-10=41, Resulting Numbers: [20, 41]
Generated Node #0,0,0: 57:[20, 41] Operation: 51-10=41
Exploring Operation: 10+20=30, Resulting Numbers: [51, 30]
Generated Node #0,0,1: 57:[51, 30] Operation: 10+20=30
Exploring Operation: 10+51=61, Resulting Numbers: [20, 61]
Generated Node #0,0,2: 57:[20, 61] Operation: 10+51=61
Exploring Operation: 20-10=10, Resulting Numbers: [51, 10]
Generated Node #0,0,3: 57:[51, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [51, 2]
Generated Node #0,0,4: 57:[51, 2] Operation: 20/10=2
Moving to Node #0,0,2
Current State: 57:[20, 61], Operations: ['15+36=51', '10+51=61']
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,57 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[51, 2], Operations: ['15+36=51', '20/10=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[51, 10], Operations: ['15+36=51', '20-10=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,57 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[20, 41], Operations: ['15+36=51', '51-10=41']
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,57 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[51, 30], Operations: ['15+36=51', '10+20=30']
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,57 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,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,2
Current State: 57:[15, 10, 16], Operations: ['36-20=16']
Exploring Operation: 16-10=6, Resulting Numbers: [15, 6]
Generated Node #0,2,0: 57:[15, 6] Operation: 16-10=6
Exploring Operation: 15-10=5, Resulting Numbers: [16, 5]
Generated Node #0,2,1: 57:[16, 5] Operation: 15-10=5
Exploring Operation: 15+10=25, Resulting Numbers: [16, 25]
Generated Node #0,2,2: 57:[16, 25] Operation: 15+10=25
Exploring Operation: 10+16=26, Resulting Numbers: [15, 26]
Generated Node #0,2,3: 57:[15, 26] Operation: 10+16=26
Exploring Operation: 16-15=1, Resulting Numbers: [10, 1]
Generated Node #0,2,4: 57:[10, 1] Operation: 16-15=1
Moving to Node #0,2,1
Current State: 57:[16, 5], Operations: ['36-20=16', '15-10=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[15, 6], Operations: ['36-20=16', '16-10=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[16, 25], Operations: ['36-20=16', '15+10=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,57 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[10, 1], Operations: ['36-20=16', '16-15=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[15, 26], Operations: ['36-20=16', '10+16=26']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,57 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 |
[
25,
23,
84,
61
] | 25 | [
"25+23=48",
"84-61=23",
"48-23=25"
] | Current State: 25:[25, 23, 84, 61], Operations: []
Exploring Operation: 25+23=48, Resulting Numbers: [84, 61, 48]
Generated Node #2: [84, 61, 48] from Operation: 25+23=48
Current State: 25:[84, 61, 48], Operations: ['25+23=48']
Exploring Operation: 84-61=23, Resulting Numbers: [48, 23]
Generated Node #3: [48, 23] from Operation: 84-61=23
Current State: 25:[48, 23], Operations: ['25+23=48', '84-61=23']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 23, 84, 61], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [23, 61, 59]
Generated Node #0,0: 25:[23, 61, 59] Operation: 84-25=59
Exploring Operation: 84-61=23, Resulting Numbers: [25, 23, 23]
Generated Node #0,1: 25:[25, 23, 23] Operation: 84-61=23
Exploring Operation: 61-25=36, Resulting Numbers: [23, 84, 36]
Generated Node #0,2: 25:[23, 84, 36] Operation: 61-25=36
Exploring Operation: 84-23=61, Resulting Numbers: [25, 61, 61]
Generated Node #0,3: 25:[25, 61, 61] Operation: 84-23=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[25, 23, 23], Operations: ['84-61=23']
Exploring Operation: 25-23=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 25:[23, 2] Operation: 25-23=2
Exploring Operation: 25-23=2, Resulting Numbers: [23, 2]
Generated Node #0,1,1: 25:[23, 2] Operation: 25-23=2
Exploring Operation: 23/23=1, Resulting Numbers: [25, 1]
Generated Node #0,1,2: 25:[25, 1] Operation: 23/23=1
Exploring Operation: 23-23=0, Resulting Numbers: [25, 0]
Generated Node #0,1,3: 25:[25, 0] Operation: 23-23=0
Moving to Node #0,1,2
Current State: 25:[25, 1], Operations: ['84-61=23', '23/23=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[25, 23, 84, 61], Operations: []
Exploring Operation: 84-61=23, Resulting Numbers: [25, 23, 23]
Generated Node #0,1: 25:[25, 23, 23] Operation: 84-61=23
Moving to Node #0,1
Current State: 25:[25, 23, 23], Operations: ['84-61=23']
Exploring Operation: 23/23=1, Resulting Numbers: [25, 1]
Generated Node #0,1,2: 25:[25, 1] Operation: 23/23=1
Moving to Node #0,1,2
Current State: 25:[25, 1], Operations: ['84-61=23', '23/23=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
20,
1,
40,
26
] | 12 | [
"40/20=2",
"26/2=13",
"13-1=12"
] | Current State: 12:[20, 1, 40, 26], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [1, 26, 2]
Generated Node #2: [1, 26, 2] from Operation: 40/20=2
Current State: 12:[1, 26, 2], Operations: ['40/20=2']
Exploring Operation: 26/2=13, Resulting Numbers: [1, 13]
Generated Node #3: [1, 13] from Operation: 26/2=13
Current State: 12:[1, 13], Operations: ['40/20=2', '26/2=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[20, 1, 40, 26], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [1, 40, 6]
Generated Node #0,0: 12:[1, 40, 6] Operation: 26-20=6
Exploring Operation: 40-20=20, Resulting Numbers: [1, 26, 20]
Generated Node #0,1: 12:[1, 26, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [1, 26, 2]
Generated Node #0,2: 12:[1, 26, 2] Operation: 40/20=2
Exploring Operation: 40-26=14, Resulting Numbers: [20, 1, 14]
Generated Node #0,3: 12:[20, 1, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[20, 1, 14], Operations: ['40-26=14']
Exploring Operation: 20-14=6, Resulting Numbers: [1, 6]
Generated Node #0,3,0: 12:[1, 6] Operation: 20-14=6
Exploring Operation: 14-1=13, Resulting Numbers: [20, 13]
Generated Node #0,3,1: 12:[20, 13] Operation: 14-1=13
Exploring Operation: 20-1=19, Resulting Numbers: [14, 19]
Generated Node #0,3,2: 12:[14, 19] Operation: 20-1=19
Exploring Operation: 20*1=20, Resulting Numbers: [14, 20]
Generated Node #0,3,3: 12:[14, 20] Operation: 20*1=20
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[1, 6], Operations: ['40-26=14', '20-14=6']
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[20, 13], Operations: ['40-26=14', '14-1=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,12 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[14, 19], Operations: ['40-26=14', '20-1=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,12 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[14, 20], Operations: ['40-26=14', '20*1=20']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,12 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[1, 26, 2], Operations: ['40/20=2']
Exploring Operation: 1*26=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 12:[2, 26] Operation: 1*26=26
Exploring Operation: 26-2=24, Resulting Numbers: [1, 24]
Generated Node #0,2,1: 12:[1, 24] Operation: 26-2=24
Exploring Operation: 26/2=13, Resulting Numbers: [1, 13]
Generated Node #0,2,2: 12:[1, 13] Operation: 26/2=13
Exploring Operation: 26-1=25, Resulting Numbers: [2, 25]
Generated Node #0,2,3: 12:[2, 25] Operation: 26-1=25
Moving to Node #0,2,2
Current State: 12:[1, 13], Operations: ['40/20=2', '26/2=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[20, 1, 40, 26], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [1, 26, 2]
Generated Node #0,2: 12:[1, 26, 2] Operation: 40/20=2
Moving to Node #0,2
Current State: 12:[1, 26, 2], Operations: ['40/20=2']
Exploring Operation: 26/2=13, Resulting Numbers: [1, 13]
Generated Node #0,2,2: 12:[1, 13] Operation: 26/2=13
Moving to Node #0,2,2
Current State: 12:[1, 13], Operations: ['40/20=2', '26/2=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
98,
78,
89,
49
] | 20 | [
"98-78=20",
"89-49=40",
"40-20=20"
] | Current State: 20:[98, 78, 89, 49], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [89, 49, 20]
Generated Node #2: [89, 49, 20] from Operation: 98-78=20
Current State: 20:[89, 49, 20], Operations: ['98-78=20']
Exploring Operation: 89-49=40, Resulting Numbers: [20, 40]
Generated Node #3: [20, 40] from Operation: 89-49=40
Current State: 20:[20, 40], Operations: ['98-78=20', '89-49=40']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[98, 78, 89, 49], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [89, 49, 20]
Generated Node #0,0: 20:[89, 49, 20] Operation: 98-78=20
Exploring Operation: 98/49=2, Resulting Numbers: [78, 89, 2]
Generated Node #0,1: 20:[78, 89, 2] Operation: 98/49=2
Exploring Operation: 89-78=11, Resulting Numbers: [98, 49, 11]
Generated Node #0,2: 20:[98, 49, 11] Operation: 89-78=11
Exploring Operation: 98-89=9, Resulting Numbers: [78, 49, 9]
Generated Node #0,3: 20:[78, 49, 9] Operation: 98-89=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[78, 49, 9], Operations: ['98-89=9']
Exploring Operation: 78-9=69, Resulting Numbers: [49, 69]
Generated Node #0,3,0: 20:[49, 69] Operation: 78-9=69
Exploring Operation: 78-49=29, Resulting Numbers: [9, 29]
Generated Node #0,3,1: 20:[9, 29] Operation: 78-49=29
Exploring Operation: 78+9=87, Resulting Numbers: [49, 87]
Generated Node #0,3,2: 20:[49, 87] Operation: 78+9=87
Exploring Operation: 49-9=40, Resulting Numbers: [78, 40]
Generated Node #0,3,3: 20:[78, 40] Operation: 49-9=40
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[9, 29], Operations: ['98-89=9', '78-49=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[98, 78, 89, 49], Operations: []
Exploring Operation: 98-89=9, Resulting Numbers: [78, 49, 9]
Generated Node #0,3: 20:[78, 49, 9] Operation: 98-89=9
Moving to Node #0,3
Current State: 20:[78, 49, 9], Operations: ['98-89=9']
Exploring Operation: 78-49=29, Resulting Numbers: [9, 29]
Generated Node #0,3,1: 20:[9, 29] Operation: 78-49=29
Moving to Node #0,3,1
Current State: 20:[9, 29], Operations: ['98-89=9', '78-49=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
51,
9,
88,
56
] | 43 | [
"56-51=5",
"9*5=45",
"88-45=43"
] | Current State: 43:[51, 9, 88, 56], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [9, 88, 5]
Generated Node #2: [9, 88, 5] from Operation: 56-51=5
Current State: 43:[9, 88, 5], Operations: ['56-51=5']
Exploring Operation: 9*5=45, Resulting Numbers: [88, 45]
Generated Node #3: [88, 45] from Operation: 9*5=45
Current State: 43:[88, 45], Operations: ['56-51=5', '9*5=45']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[51, 9, 88, 56], Operations: []
Exploring Operation: 88-9=79, Resulting Numbers: [51, 56, 79]
Generated Node #0,0: 43:[51, 56, 79] Operation: 88-9=79
Exploring Operation: 88-56=32, Resulting Numbers: [51, 9, 32]
Generated Node #0,1: 43:[51, 9, 32] Operation: 88-56=32
Exploring Operation: 56-9=47, Resulting Numbers: [51, 88, 47]
Generated Node #0,2: 43:[51, 88, 47] Operation: 56-9=47
Exploring Operation: 88-51=37, Resulting Numbers: [9, 56, 37]
Generated Node #0,3: 43:[9, 56, 37] Operation: 88-51=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[51, 9, 32], Operations: ['88-56=32']
Exploring Operation: 9+32=41, Resulting Numbers: [51, 41]
Generated Node #0,1,0: 43:[51, 41] Operation: 9+32=41
Exploring Operation: 51-9=42, Resulting Numbers: [32, 42]
Generated Node #0,1,1: 43:[32, 42] Operation: 51-9=42
Exploring Operation: 51+9=60, Resulting Numbers: [32, 60]
Generated Node #0,1,2: 43:[32, 60] Operation: 51+9=60
Exploring Operation: 32-9=23, Resulting Numbers: [51, 23]
Generated Node #0,1,3: 43:[51, 23] Operation: 32-9=23
Moving to Node #0,1,0
Current State: 43:[51, 41], Operations: ['88-56=32', '9+32=41']
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,43 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[32, 42], Operations: ['88-56=32', '51-9=42']
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,43 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[51, 23], Operations: ['88-56=32', '32-9=23']
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,43 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[32, 60], Operations: ['88-56=32', '51+9=60']
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,43 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[9, 56, 37], Operations: ['88-51=37']
Exploring Operation: 37-9=28, Resulting Numbers: [56, 28]
Generated Node #0,3,0: 43:[56, 28] Operation: 37-9=28
Exploring Operation: 9+56=65, Resulting Numbers: [37, 65]
Generated Node #0,3,1: 43:[37, 65] Operation: 9+56=65
Exploring Operation: 9+37=46, Resulting Numbers: [56, 46]
Generated Node #0,3,2: 43:[56, 46] Operation: 9+37=46
Exploring Operation: 56-9=47, Resulting Numbers: [37, 47]
Generated Node #0,3,3: 43:[37, 47] Operation: 56-9=47
Moving to Node #0,3,3
Current State: 43:[37, 47], Operations: ['88-51=37', '56-9=47']
Exploring Operation: 37+47=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 37*47=1739, Resulting Numbers: [1739]
1739,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[56, 46], Operations: ['88-51=37', '9+37=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,43 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[37, 65], Operations: ['88-51=37', '9+56=65']
Exploring Operation: 37*65=2405, Resulting Numbers: [2405]
2405,43 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 37+65=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[56, 28], Operations: ['88-51=37', '37-9=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,43 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[51, 56, 79], Operations: ['88-9=79']
Exploring Operation: 79-51=28, Resulting Numbers: [56, 28]
Generated Node #0,0,0: 43:[56, 28] Operation: 79-51=28
Exploring Operation: 56-51=5, Resulting Numbers: [79, 5]
Generated Node #0,0,1: 43:[79, 5] Operation: 56-51=5
Exploring Operation: 79-56=23, Resulting Numbers: [51, 23]
Generated Node #0,0,2: 43:[51, 23] Operation: 79-56=23
Exploring Operation: 51+56=107, Resulting Numbers: [79, 107]
Generated Node #0,0,3: 43:[79, 107] Operation: 51+56=107
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[56, 28], Operations: ['88-9=79', '79-51=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,43 unequal: No Solution
No 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: 43:[51, 23], Operations: ['88-9=79', '79-56=23']
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,43 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No 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: 43:[79, 5], Operations: ['88-9=79', '56-51=5']
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,43 unequal: No Solution
No 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: 43:[79, 107], Operations: ['88-9=79', '51+56=107']
Exploring Operation: 79+107=186, Resulting Numbers: [186]
186,43 unequal: No Solution
Exploring Operation: 79*107=8453, Resulting Numbers: [8453]
8453,43 unequal: No Solution
Exploring Operation: 107-79=28, Resulting Numbers: [28]
28,43 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: 43:[51, 88, 47], Operations: ['56-9=47']
Exploring Operation: 88-51=37, Resulting Numbers: [47, 37]
Generated Node #0,2,0: 43:[47, 37] Operation: 88-51=37
Exploring Operation: 51+88=139, Resulting Numbers: [47, 139]
Generated Node #0,2,1: 43:[47, 139] Operation: 51+88=139
Exploring Operation: 88-47=41, Resulting Numbers: [51, 41]
Generated Node #0,2,2: 43:[51, 41] Operation: 88-47=41
Exploring Operation: 51-47=4, Resulting Numbers: [88, 4]
Generated Node #0,2,3: 43:[88, 4] Operation: 51-47=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[47, 37], Operations: ['56-9=47', '88-51=37']
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,43 unequal: No Solution
No 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: 43:[51, 41], Operations: ['56-9=47', '88-47=41']
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,43 unequal: No Solution
No 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: 43:[88, 4], Operations: ['56-9=47', '51-47=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,43 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,43 unequal: No Solution
No 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: 43:[47, 139], Operations: ['56-9=47', '51+88=139']
Exploring Operation: 47+139=186, Resulting Numbers: [186]
186,43 unequal: No Solution
Exploring Operation: 47*139=6533, Resulting Numbers: [6533]
6533,43 unequal: No Solution
Exploring Operation: 139-47=92, Resulting Numbers: [92]
92,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
55,
45,
60,
51
] | 60 | [
"60-55=5",
"45/5=9",
"51+9=60"
] | Current State: 60:[55, 45, 60, 51], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [45, 51, 5]
Generated Node #2: [45, 51, 5] from Operation: 60-55=5
Current State: 60:[45, 51, 5], Operations: ['60-55=5']
Exploring Operation: 45/5=9, Resulting Numbers: [51, 9]
Generated Node #3: [51, 9] from Operation: 45/5=9
Current State: 60:[51, 9], Operations: ['60-55=5', '45/5=9']
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[55, 45, 60, 51], Operations: []
Exploring Operation: 60-45=15, Resulting Numbers: [55, 51, 15]
Generated Node #0,0: 60:[55, 51, 15] Operation: 60-45=15
Exploring Operation: 60-51=9, Resulting Numbers: [55, 45, 9]
Generated Node #0,1: 60:[55, 45, 9] Operation: 60-51=9
Exploring Operation: 51-45=6, Resulting Numbers: [55, 60, 6]
Generated Node #0,2: 60:[55, 60, 6] Operation: 51-45=6
Exploring Operation: 55-51=4, Resulting Numbers: [45, 60, 4]
Generated Node #0,3: 60:[45, 60, 4] Operation: 55-51=4
Exploring Operation: 55-45=10, Resulting Numbers: [60, 51, 10]
Generated Node #0,4: 60:[60, 51, 10] Operation: 55-45=10
Moving to Node #0,2
Current State: 60:[55, 60, 6], Operations: ['51-45=6']
Exploring Operation: 60/6=10, Resulting Numbers: [55, 10]
Generated Node #0,2,0: 60:[55, 10] Operation: 60/6=10
Exploring Operation: 60-55=5, Resulting Numbers: [6, 5]
Generated Node #0,2,1: 60:[6, 5] Operation: 60-55=5
Exploring Operation: 55-6=49, Resulting Numbers: [60, 49]
Generated Node #0,2,2: 60:[60, 49] Operation: 55-6=49
Exploring Operation: 60+6=66, Resulting Numbers: [55, 66]
Generated Node #0,2,3: 60:[55, 66] Operation: 60+6=66
Exploring Operation: 55+6=61, Resulting Numbers: [60, 61]
Generated Node #0,2,4: 60:[60, 61] Operation: 55+6=61
Moving to Node #0,4
Current State: 60:[60, 51, 10], Operations: ['55-45=10']
Exploring Operation: 60+10=70, Resulting Numbers: [51, 70]
Generated Node #0,4,0: 60:[51, 70] Operation: 60+10=70
Exploring Operation: 60-51=9, Resulting Numbers: [10, 9]
Generated Node #0,4,1: 60:[10, 9] Operation: 60-51=9
Exploring Operation: 51+10=61, Resulting Numbers: [60, 61]
Generated Node #0,4,2: 60:[60, 61] Operation: 51+10=61
Exploring Operation: 51-10=41, Resulting Numbers: [60, 41]
Generated Node #0,4,3: 60:[60, 41] Operation: 51-10=41
Exploring Operation: 60/10=6, Resulting Numbers: [51, 6]
Generated Node #0,4,4: 60:[51, 6] Operation: 60/10=6
Moving to Node #0,0
Current State: 60:[55, 51, 15], Operations: ['60-45=15']
Exploring Operation: 51+15=66, Resulting Numbers: [55, 66]
Generated Node #0,0,0: 60:[55, 66] Operation: 51+15=66
Exploring Operation: 55+15=70, Resulting Numbers: [51, 70]
Generated Node #0,0,1: 60:[51, 70] Operation: 55+15=70
Exploring Operation: 55-51=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 60:[15, 4] Operation: 55-51=4
Exploring Operation: 55-15=40, Resulting Numbers: [51, 40]
Generated Node #0,0,3: 60:[51, 40] Operation: 55-15=40
Exploring Operation: 51-15=36, Resulting Numbers: [55, 36]
Generated Node #0,0,4: 60:[55, 36] Operation: 51-15=36
Moving to Node #0,3
Current State: 60:[45, 60, 4], Operations: ['55-51=4']
Exploring Operation: 60/4=15, Resulting Numbers: [45, 15]
Generated Node #0,3,0: 60:[45, 15] Operation: 60/4=15
Exploring Operation: 45+4=49, Resulting Numbers: [60, 49]
Generated Node #0,3,1: 60:[60, 49] Operation: 45+4=49
Exploring Operation: 45-4=41, Resulting Numbers: [60, 41]
Generated Node #0,3,2: 60:[60, 41] Operation: 45-4=41
Exploring Operation: 60+4=64, Resulting Numbers: [45, 64]
Generated Node #0,3,3: 60:[45, 64] Operation: 60+4=64
Exploring Operation: 60-45=15, Resulting Numbers: [4, 15]
Generated Node #0,3,4: 60:[4, 15] Operation: 60-45=15
Moving to Node #0,1
Current State: 60:[55, 45, 9], Operations: ['60-51=9']
Exploring Operation: 55+9=64, Resulting Numbers: [45, 64]
Generated Node #0,1,0: 60:[45, 64] Operation: 55+9=64
Exploring Operation: 55-45=10, Resulting Numbers: [9, 10]
Generated Node #0,1,1: 60:[9, 10] Operation: 55-45=10
Exploring Operation: 45+9=54, Resulting Numbers: [55, 54]
Generated Node #0,1,2: 60:[55, 54] Operation: 45+9=54
Exploring Operation: 45-9=36, Resulting Numbers: [55, 36]
Generated Node #0,1,3: 60:[55, 36] Operation: 45-9=36
Exploring Operation: 45/9=5, Resulting Numbers: [55, 5]
Generated Node #0,1,4: 60:[55, 5] Operation: 45/9=5
Moving to Node #0,2,1
Current State: 60:[6, 5], Operations: ['51-45=6', '60-55=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[15, 4], Operations: ['60-45=15', '55-51=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[55, 45, 60, 51], Operations: []
Exploring Operation: 60-45=15, Resulting Numbers: [55, 51, 15]
Generated Node #0,0: 60:[55, 51, 15] Operation: 60-45=15
Moving to Node #0,0
Current State: 60:[55, 51, 15], Operations: ['60-45=15']
Exploring Operation: 55-51=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 60:[15, 4] Operation: 55-51=4
Moving to Node #0,0,2
Current State: 60:[15, 4], Operations: ['60-45=15', '55-51=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.966146 | hs_5 | sum_heuristic |
[
25,
47,
41,
3
] | 25 | [
"47-25=22",
"3*22=66",
"66-41=25"
] | Current State: 25:[25, 47, 41, 3], Operations: []
Exploring Operation: 47-25=22, Resulting Numbers: [41, 3, 22]
Generated Node #2: [41, 3, 22] from Operation: 47-25=22
Current State: 25:[41, 3, 22], Operations: ['47-25=22']
Exploring Operation: 3*22=66, Resulting Numbers: [41, 66]
Generated Node #3: [41, 66] from Operation: 3*22=66
Current State: 25:[41, 66], Operations: ['47-25=22', '3*22=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 47, 41, 3], Operations: []
Exploring Operation: 47-25=22, Resulting Numbers: [41, 3, 22]
Generated Node #0,0: 25:[41, 3, 22] Operation: 47-25=22
Exploring Operation: 47-3=44, Resulting Numbers: [25, 41, 44]
Generated Node #0,1: 25:[25, 41, 44] Operation: 47-3=44
Exploring Operation: 41-25=16, Resulting Numbers: [47, 3, 16]
Generated Node #0,2: 25:[47, 3, 16] Operation: 41-25=16
Exploring Operation: 47-41=6, Resulting Numbers: [25, 3, 6]
Generated Node #0,3: 25:[25, 3, 6] Operation: 47-41=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[25, 3, 6], Operations: ['47-41=6']
Exploring Operation: 6/3=2, Resulting Numbers: [25, 2]
Generated Node #0,3,0: 25:[25, 2] Operation: 6/3=2
Exploring Operation: 25-3=22, Resulting Numbers: [6, 22]
Generated Node #0,3,1: 25:[6, 22] Operation: 25-3=22
Exploring Operation: 6-3=3, Resulting Numbers: [25, 3]
Generated Node #0,3,2: 25:[25, 3] Operation: 6-3=3
Exploring Operation: 25+3=28, Resulting Numbers: [6, 28]
Generated Node #0,3,3: 25:[6, 28] Operation: 25+3=28
Moving to Node #0,3,2
Current State: 25:[25, 3], Operations: ['47-41=6', '6-3=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,25 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[25, 2], Operations: ['47-41=6', '6/3=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[6, 28], Operations: ['47-41=6', '25+3=28']
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[6, 22], Operations: ['47-41=6', '25-3=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,25 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[41, 3, 22], Operations: ['47-25=22']
Exploring Operation: 41-22=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 25:[3, 19] Operation: 41-22=19
Exploring Operation: 41+3=44, Resulting Numbers: [22, 44]
Generated Node #0,0,1: 25:[22, 44] Operation: 41+3=44
Exploring Operation: 41-3=38, Resulting Numbers: [22, 38]
Generated Node #0,0,2: 25:[22, 38] Operation: 41-3=38
Exploring Operation: 3+22=25, Resulting Numbers: [41, 25]
Generated Node #0,0,3: 25:[41, 25] Operation: 3+22=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[3, 19], Operations: ['47-25=22', '41-22=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[22, 38], Operations: ['47-25=22', '41-3=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,25 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[41, 25], Operations: ['47-25=22', '3+22=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,25 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[22, 44], Operations: ['47-25=22', '41+3=44']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[47, 3, 16], Operations: ['41-25=16']
Exploring Operation: 3+16=19, Resulting Numbers: [47, 19]
Generated Node #0,2,0: 25:[47, 19] Operation: 3+16=19
Exploring Operation: 47-16=31, Resulting Numbers: [3, 31]
Generated Node #0,2,1: 25:[3, 31] Operation: 47-16=31
Exploring Operation: 47-3=44, Resulting Numbers: [16, 44]
Generated Node #0,2,2: 25:[16, 44] Operation: 47-3=44
Exploring Operation: 16-3=13, Resulting Numbers: [47, 13]
Generated Node #0,2,3: 25:[47, 13] Operation: 16-3=13
Moving to Node #0,2,1
Current State: 25:[3, 31], Operations: ['41-25=16', '47-16=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[16, 44], Operations: ['41-25=16', '47-3=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,25 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[47, 19], Operations: ['41-25=16', '3+16=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,25 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[47, 13], Operations: ['41-25=16', '16-3=13']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,25 unequal: No Solution
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[25, 41, 44], Operations: ['47-3=44']
Exploring Operation: 25+41=66, Resulting Numbers: [44, 66]
Generated Node #0,1,0: 25:[44, 66] Operation: 25+41=66
Exploring Operation: 41-25=16, Resulting Numbers: [44, 16]
Generated Node #0,1,1: 25:[44, 16] Operation: 41-25=16
Exploring Operation: 44-25=19, Resulting Numbers: [41, 19]
Generated Node #0,1,2: 25:[41, 19] Operation: 44-25=19
Exploring Operation: 44-41=3, Resulting Numbers: [25, 3]
Generated Node #0,1,3: 25:[25, 3] Operation: 44-41=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[25, 3], Operations: ['47-3=44', '44-41=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,25 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[41, 19], Operations: ['47-3=44', '44-25=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,25 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[44, 16], Operations: ['47-3=44', '41-25=16']
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,25 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[44, 66], Operations: ['47-3=44', '25+41=66']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 44+66=110, Resulting Numbers: [110]
110,25 unequal: No Solution
Exploring Operation: 44*66=2904, Resulting Numbers: [2904]
2904,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
64,
17,
8,
99
] | 75 | [
"17-8=9",
"99/9=11",
"64+11=75"
] | Current State: 75:[64, 17, 8, 99], Operations: []
Exploring Operation: 17-8=9, Resulting Numbers: [64, 99, 9]
Generated Node #2: [64, 99, 9] from Operation: 17-8=9
Current State: 75:[64, 99, 9], Operations: ['17-8=9']
Exploring Operation: 99/9=11, Resulting Numbers: [64, 11]
Generated Node #3: [64, 11] from Operation: 99/9=11
Current State: 75:[64, 11], Operations: ['17-8=9', '99/9=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[64, 17, 8, 99], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [17, 8, 35]
Generated Node #0,0: 75:[17, 8, 35] Operation: 99-64=35
Exploring Operation: 64+8=72, Resulting Numbers: [17, 99, 72]
Generated Node #0,1: 75:[17, 99, 72] Operation: 64+8=72
Exploring Operation: 99-17=82, Resulting Numbers: [64, 8, 82]
Generated Node #0,2: 75:[64, 8, 82] Operation: 99-17=82
Moving to Node #0,0
Current State: 75:[17, 8, 35], Operations: ['99-64=35']
Exploring Operation: 35-17=18, Resulting Numbers: [8, 18]
Generated Node #0,0,0: 75:[8, 18] Operation: 35-17=18
Exploring Operation: 35-8=27, Resulting Numbers: [17, 27]
Generated Node #0,0,1: 75:[17, 27] Operation: 35-8=27
Exploring Operation: 17+8=25, Resulting Numbers: [35, 25]
Generated Node #0,0,2: 75:[35, 25] Operation: 17+8=25
Moving to Node #0,2
Current State: 75:[64, 8, 82], Operations: ['99-17=82']
Exploring Operation: 64/8=8, Resulting Numbers: [82, 8]
Generated Node #0,2,0: 75:[82, 8] Operation: 64/8=8
Exploring Operation: 64+8=72, Resulting Numbers: [82, 72]
Generated Node #0,2,1: 75:[82, 72] Operation: 64+8=72
Exploring Operation: 82-64=18, Resulting Numbers: [8, 18]
Generated Node #0,2,2: 75:[8, 18] Operation: 82-64=18
Moving to Node #0,1
Current State: 75:[17, 99, 72], Operations: ['64+8=72']
Exploring Operation: 99-17=82, Resulting Numbers: [72, 82]
Generated Node #0,1,0: 75:[72, 82] Operation: 99-17=82
Exploring Operation: 99-72=27, Resulting Numbers: [17, 27]
Generated Node #0,1,1: 75:[17, 27] Operation: 99-72=27
Exploring Operation: 17+72=89, Resulting Numbers: [99, 89]
Generated Node #0,1,2: 75:[99, 89] Operation: 17+72=89
Moving to Node #0,0,1
Current State: 75:[17, 27], Operations: ['99-64=35', '35-8=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,75 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[17, 27], Operations: ['64+8=72', '99-72=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,75 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[8, 18], Operations: ['99-64=35', '35-17=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[8, 18], Operations: ['99-17=82', '82-64=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[35, 25], Operations: ['99-64=35', '17+8=25']
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,75 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[82, 72], Operations: ['99-17=82', '64+8=72']
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,75 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[82, 8], Operations: ['99-17=82', '64/8=8']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[72, 82], Operations: ['64+8=72', '99-17=82']
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,75 unequal: No Solution
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[99, 89], Operations: ['64+8=72', '17+72=89']
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 99+89=188, Resulting Numbers: [188]
188,75 unequal: No Solution
Exploring Operation: 99*89=8811, Resulting Numbers: [8811]
8811,75 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
30,
89,
91
] | 38 | [
"10+30=40",
"91-89=2",
"40-2=38"
] | Current State: 38:[10, 30, 89, 91], Operations: []
Exploring Operation: 10+30=40, Resulting Numbers: [89, 91, 40]
Generated Node #2: [89, 91, 40] from Operation: 10+30=40
Current State: 38:[89, 91, 40], Operations: ['10+30=40']
Exploring Operation: 91-89=2, Resulting Numbers: [40, 2]
Generated Node #3: [40, 2] from Operation: 91-89=2
Current State: 38:[40, 2], Operations: ['10+30=40', '91-89=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[10, 30, 89, 91], Operations: []
Exploring Operation: 89-30=59, Resulting Numbers: [10, 91, 59]
Generated Node #0,0: 38:[10, 91, 59] Operation: 89-30=59
Exploring Operation: 91-10=81, Resulting Numbers: [30, 89, 81]
Generated Node #0,1: 38:[30, 89, 81] Operation: 91-10=81
Exploring Operation: 91-30=61, Resulting Numbers: [10, 89, 61]
Generated Node #0,2: 38:[10, 89, 61] Operation: 91-30=61
Exploring Operation: 91-89=2, Resulting Numbers: [10, 30, 2]
Generated Node #0,3: 38:[10, 30, 2] Operation: 91-89=2
Exploring Operation: 89-10=79, Resulting Numbers: [30, 91, 79]
Generated Node #0,4: 38:[30, 91, 79] Operation: 89-10=79
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[10, 30, 2], Operations: ['91-89=2']
Exploring Operation: 10+30=40, Resulting Numbers: [2, 40]
Generated Node #0,3,0: 38:[2, 40] Operation: 10+30=40
Exploring Operation: 30/10=3, Resulting Numbers: [2, 3]
Generated Node #0,3,1: 38:[2, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [2, 20]
Generated Node #0,3,2: 38:[2, 20] Operation: 30-10=20
Exploring Operation: 10/2=5, Resulting Numbers: [30, 5]
Generated Node #0,3,3: 38:[30, 5] Operation: 10/2=5
Exploring Operation: 10*2=20, Resulting Numbers: [30, 20]
Generated Node #0,3,4: 38:[30, 20] Operation: 10*2=20
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[2, 3], Operations: ['91-89=2', '30/10=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 38:[2, 20], Operations: ['91-89=2', '30-10=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[2, 40], Operations: ['91-89=2', '10+30=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[10, 30, 89, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [10, 30, 2]
Generated Node #0,3: 38:[10, 30, 2] Operation: 91-89=2
Moving to Node #0,3
Current State: 38:[10, 30, 2], Operations: ['91-89=2']
Exploring Operation: 10+30=40, Resulting Numbers: [2, 40]
Generated Node #0,3,0: 38:[2, 40] Operation: 10+30=40
Moving to Node #0,3,0
Current State: 38:[2, 40], Operations: ['91-89=2', '10+30=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
64,
90,
19,
48
] | 41 | [
"90-64=26",
"19+48=67",
"67-26=41"
] | Current State: 41:[64, 90, 19, 48], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [19, 48, 26]
Generated Node #2: [19, 48, 26] from Operation: 90-64=26
Current State: 41:[19, 48, 26], Operations: ['90-64=26']
Exploring Operation: 19+48=67, Resulting Numbers: [26, 67]
Generated Node #3: [26, 67] from Operation: 19+48=67
Current State: 41:[26, 67], Operations: ['90-64=26', '19+48=67']
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[64, 90, 19, 48], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [19, 48, 26]
Generated Node #0,0: 41:[19, 48, 26] Operation: 90-64=26
Exploring Operation: 90-19=71, Resulting Numbers: [64, 48, 71]
Generated Node #0,1: 41:[64, 48, 71] Operation: 90-19=71
Exploring Operation: 64-19=45, Resulting Numbers: [90, 48, 45]
Generated Node #0,2: 41:[90, 48, 45] Operation: 64-19=45
Exploring Operation: 90-48=42, Resulting Numbers: [64, 19, 42]
Generated Node #0,3: 41:[64, 19, 42] Operation: 90-48=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[19, 48, 26], Operations: ['90-64=26']
Exploring Operation: 19+48=67, Resulting Numbers: [26, 67]
Generated Node #0,0,0: 41:[26, 67] Operation: 19+48=67
Exploring Operation: 26-19=7, Resulting Numbers: [48, 7]
Generated Node #0,0,1: 41:[48, 7] Operation: 26-19=7
Exploring Operation: 19+26=45, Resulting Numbers: [48, 45]
Generated Node #0,0,2: 41:[48, 45] Operation: 19+26=45
Exploring Operation: 48-19=29, Resulting Numbers: [26, 29]
Generated Node #0,0,3: 41:[26, 29] Operation: 48-19=29
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[48, 45], Operations: ['90-64=26', '19+26=45']
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,41 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,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,0,3
Current State: 41:[26, 29], Operations: ['90-64=26', '48-19=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,41 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,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,0,0
Current State: 41:[26, 67], Operations: ['90-64=26', '19+48=67']
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[64, 90, 19, 48], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [19, 48, 26]
Generated Node #0,0: 41:[19, 48, 26] Operation: 90-64=26
Moving to Node #0,0
Current State: 41:[19, 48, 26], Operations: ['90-64=26']
Exploring Operation: 19+48=67, Resulting Numbers: [26, 67]
Generated Node #0,0,0: 41:[26, 67] Operation: 19+48=67
Moving to Node #0,0,0
Current State: 41:[26, 67], Operations: ['90-64=26', '19+48=67']
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
11,
88,
13,
2
] | 88 | [
"11+88=99",
"13-2=11",
"99-11=88"
] | Current State: 88:[11, 88, 13, 2], Operations: []
Exploring Operation: 11+88=99, Resulting Numbers: [13, 2, 99]
Generated Node #2: [13, 2, 99] from Operation: 11+88=99
Current State: 88:[13, 2, 99], Operations: ['11+88=99']
Exploring Operation: 13-2=11, Resulting Numbers: [99, 11]
Generated Node #3: [99, 11] from Operation: 13-2=11
Current State: 88:[99, 11], Operations: ['11+88=99', '13-2=11']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[11, 88, 13, 2], Operations: []
Exploring Operation: 13-2=11, Resulting Numbers: [11, 88, 11]
Generated Node #0,0: 88:[11, 88, 11] Operation: 13-2=11
Exploring Operation: 11+13=24, Resulting Numbers: [88, 2, 24]
Generated Node #0,1: 88:[88, 2, 24] Operation: 11+13=24
Exploring Operation: 88/11=8, Resulting Numbers: [13, 2, 8]
Generated Node #0,2: 88:[13, 2, 8] Operation: 88/11=8
Exploring Operation: 13-11=2, Resulting Numbers: [88, 2, 2]
Generated Node #0,3: 88:[88, 2, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[11, 88, 11], Operations: ['13-2=11']
Exploring Operation: 11/11=1, Resulting Numbers: [88, 1]
Generated Node #0,0,0: 88:[88, 1] Operation: 11/11=1
Exploring Operation: 11+11=22, Resulting Numbers: [88, 22]
Generated Node #0,0,1: 88:[88, 22] Operation: 11+11=22
Exploring Operation: 88/11=8, Resulting Numbers: [11, 8]
Generated Node #0,0,2: 88:[11, 8] Operation: 88/11=8
Exploring Operation: 88/11=8, Resulting Numbers: [11, 8]
Generated Node #0,0,3: 88:[11, 8] Operation: 88/11=8
Moving to Node #0,0,1
Current State: 88:[88, 22], Operations: ['13-2=11', '11+11=22']
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,88 unequal: No Solution
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[11, 8], Operations: ['13-2=11', '88/11=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[11, 88, 13, 2], Operations: []
Exploring Operation: 13-2=11, Resulting Numbers: [11, 88, 11]
Generated Node #0,0: 88:[11, 88, 11] Operation: 13-2=11
Moving to Node #0,0
Current State: 88:[11, 88, 11], Operations: ['13-2=11']
Exploring Operation: 88/11=8, Resulting Numbers: [11, 8]
Generated Node #0,0,3: 88:[11, 8] Operation: 88/11=8
Moving to Node #0,0,3
Current State: 88:[11, 8], Operations: ['13-2=11', '88/11=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
78,
66,
90,
47
] | 94 | [
"66+90=156",
"156/78=2",
"47*2=94"
] | Current State: 94:[78, 66, 90, 47], Operations: []
Exploring Operation: 66+90=156, Resulting Numbers: [78, 47, 156]
Generated Node #2: [78, 47, 156] from Operation: 66+90=156
Current State: 94:[78, 47, 156], Operations: ['66+90=156']
Exploring Operation: 156/78=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 156/78=2
Current State: 94:[47, 2], Operations: ['66+90=156', '156/78=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[78, 66, 90, 47], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [66, 47, 12]
Generated Node #0,0: 94:[66, 47, 12] Operation: 90-78=12
Exploring Operation: 78-66=12, Resulting Numbers: [90, 47, 12]
Generated Node #0,1: 94:[90, 47, 12] Operation: 78-66=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[90, 47, 12], Operations: ['78-66=12']
Exploring Operation: 90-47=43, Resulting Numbers: [12, 43]
Generated Node #0,1,0: 94:[12, 43] Operation: 90-47=43
Exploring Operation: 90+12=102, Resulting Numbers: [47, 102]
Generated Node #0,1,1: 94:[47, 102] Operation: 90+12=102
Moving to Node #0,1,1
Current State: 94:[47, 102], Operations: ['78-66=12', '90+12=102']
Exploring Operation: 47+102=149, Resulting Numbers: [149]
149,94 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[12, 43], Operations: ['78-66=12', '90-47=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[66, 47, 12], Operations: ['90-78=12']
Exploring Operation: 66+12=78, Resulting Numbers: [47, 78]
Generated Node #0,0,0: 94:[47, 78] Operation: 66+12=78
Exploring Operation: 66-12=54, Resulting Numbers: [47, 54]
Generated Node #0,0,1: 94:[47, 54] Operation: 66-12=54
Moving to Node #0,0,1
Current State: 94:[47, 54], Operations: ['90-78=12', '66-12=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[47, 78], Operations: ['90-78=12', '66+12=78']
Exploring Operation: 47+78=125, Resulting Numbers: [125]
125,94 unequal: No Solution
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,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 |
[
29,
11,
38,
29
] | 28 | [
"29/29=1",
"38-11=27",
"1+27=28"
] | Current State: 28:[29, 11, 38, 29], Operations: []
Exploring Operation: 29/29=1, Resulting Numbers: [11, 38, 1]
Generated Node #2: [11, 38, 1] from Operation: 29/29=1
Current State: 28:[11, 38, 1], Operations: ['29/29=1']
Exploring Operation: 38-11=27, Resulting Numbers: [1, 27]
Generated Node #3: [1, 27] from Operation: 38-11=27
Current State: 28:[1, 27], Operations: ['29/29=1', '38-11=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[29, 11, 38, 29], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [29, 11, 9]
Generated Node #0,0: 28:[29, 11, 9] Operation: 38-29=9
Exploring Operation: 38-11=27, Resulting Numbers: [29, 29, 27]
Generated Node #0,1: 28:[29, 29, 27] Operation: 38-11=27
Exploring Operation: 38-29=9, Resulting Numbers: [11, 29, 9]
Generated Node #0,2: 28:[11, 29, 9] Operation: 38-29=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[29, 29, 27], Operations: ['38-11=27']
Exploring Operation: 29-27=2, Resulting Numbers: [29, 2]
Generated Node #0,1,0: 28:[29, 2] Operation: 29-27=2
Exploring Operation: 29-27=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 28:[29, 2] Operation: 29-27=2
Exploring Operation: 29/29=1, Resulting Numbers: [27, 1]
Generated Node #0,1,2: 28:[27, 1] Operation: 29/29=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[29, 2], Operations: ['38-11=27', '29-27=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,28 unequal: No Solution
No 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: 28:[29, 2], Operations: ['38-11=27', '29-27=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,28 unequal: No Solution
No 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: 28:[27, 1], Operations: ['38-11=27', '29/29=1']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[29, 11, 38, 29], Operations: []
Exploring Operation: 38-11=27, Resulting Numbers: [29, 29, 27]
Generated Node #0,1: 28:[29, 29, 27] Operation: 38-11=27
Moving to Node #0,1
Current State: 28:[29, 29, 27], Operations: ['38-11=27']
Exploring Operation: 29/29=1, Resulting Numbers: [27, 1]
Generated Node #0,1,2: 28:[27, 1] Operation: 29/29=1
Moving to Node #0,1,2
Current State: 28:[27, 1], Operations: ['38-11=27', '29/29=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
2,
15,
64,
63
] | 56 | [
"64-15=49",
"63+49=112",
"112/2=56"
] | Current State: 56:[2, 15, 64, 63], Operations: []
Exploring Operation: 64-15=49, Resulting Numbers: [2, 63, 49]
Generated Node #2: [2, 63, 49] from Operation: 64-15=49
Current State: 56:[2, 63, 49], Operations: ['64-15=49']
Exploring Operation: 63+49=112, Resulting Numbers: [2, 112]
Generated Node #3: [2, 112] from Operation: 63+49=112
Current State: 56:[2, 112], Operations: ['64-15=49', '63+49=112']
Exploring Operation: 112/2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[2, 15, 64, 63], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [15, 63, 62]
Generated Node #0,0: 56:[15, 63, 62] Operation: 64-2=62
Exploring Operation: 64-63=1, Resulting Numbers: [2, 15, 1]
Generated Node #0,1: 56:[2, 15, 1] Operation: 64-63=1
Exploring Operation: 64/2=32, Resulting Numbers: [15, 63, 32]
Generated Node #0,2: 56:[15, 63, 32] Operation: 64/2=32
Moving to Node #0,1
Current State: 56:[2, 15, 1], Operations: ['64-63=1']
Exploring Operation: 2*1=2, Resulting Numbers: [15, 2]
Generated Node #0,1,0: 56:[15, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [15, 2]
Generated Node #0,1,1: 56:[15, 2] Operation: 2/1=2
Exploring Operation: 15-1=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 56:[2, 14] Operation: 15-1=14
Moving to Node #0,2
Current State: 56:[15, 63, 32], Operations: ['64/2=32']
Exploring Operation: 63-32=31, Resulting Numbers: [15, 31]
Generated Node #0,2,0: 56:[15, 31] Operation: 63-32=31
Exploring Operation: 63-15=48, Resulting Numbers: [32, 48]
Generated Node #0,2,1: 56:[32, 48] Operation: 63-15=48
Exploring Operation: 32-15=17, Resulting Numbers: [63, 17]
Generated Node #0,2,2: 56:[63, 17] Operation: 32-15=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[15, 31], Operations: ['64/2=32', '63-32=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[63, 17], Operations: ['64/2=32', '32-15=17']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[32, 48], Operations: ['64/2=32', '63-15=48']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,56 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,56 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: 56:[15, 63, 62], Operations: ['64-2=62']
Exploring Operation: 63-15=48, Resulting Numbers: [62, 48]
Generated Node #0,0,0: 56:[62, 48] Operation: 63-15=48
Exploring Operation: 62-15=47, Resulting Numbers: [63, 47]
Generated Node #0,0,1: 56:[63, 47] Operation: 62-15=47
Exploring Operation: 63-62=1, Resulting Numbers: [15, 1]
Generated Node #0,0,2: 56:[15, 1] Operation: 63-62=1
Moving to Node #0,1,2
Current State: 56:[2, 14], Operations: ['64-63=1', '15-1=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[15, 2], Operations: ['64-63=1', '2/1=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[15, 2], Operations: ['64-63=1', '2*1=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[15, 1], Operations: ['64-2=62', '63-62=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[62, 48], Operations: ['64-2=62', '63-15=48']
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,56 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[63, 47], Operations: ['64-2=62', '62-15=47']
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 63*47=2961, Resulting Numbers: [2961]
2961,56 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
83,
77,
27
] | 99 | [
"83+27=110",
"110/5=22",
"77+22=99"
] | Current State: 99:[5, 83, 77, 27], Operations: []
Exploring Operation: 83+27=110, Resulting Numbers: [5, 77, 110]
Generated Node #2: [5, 77, 110] from Operation: 83+27=110
Current State: 99:[5, 77, 110], Operations: ['83+27=110']
Exploring Operation: 110/5=22, Resulting Numbers: [77, 22]
Generated Node #3: [77, 22] from Operation: 110/5=22
Current State: 99:[77, 22], Operations: ['83+27=110', '110/5=22']
Exploring Operation: 77+22=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[5, 83, 77, 27], Operations: []
Exploring Operation: 83+27=110, Resulting Numbers: [5, 77, 110]
Generated Node #0,0: 99:[5, 77, 110] Operation: 83+27=110
Exploring Operation: 77+27=104, Resulting Numbers: [5, 83, 104]
Generated Node #0,1: 99:[5, 83, 104] Operation: 77+27=104
Exploring Operation: 83-77=6, Resulting Numbers: [5, 27, 6]
Generated Node #0,2: 99:[5, 27, 6] Operation: 83-77=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[5, 27, 6], Operations: ['83-77=6']
Exploring Operation: 27+6=33, Resulting Numbers: [5, 33]
Generated Node #0,2,0: 99:[5, 33] Operation: 27+6=33
Exploring Operation: 5+6=11, Resulting Numbers: [27, 11]
Generated Node #0,2,1: 99:[27, 11] Operation: 5+6=11
Exploring Operation: 5+27=32, Resulting Numbers: [6, 32]
Generated Node #0,2,2: 99:[6, 32] Operation: 5+27=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[5, 33], Operations: ['83-77=6', '27+6=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,99 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[6, 32], Operations: ['83-77=6', '5+27=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,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,1
Current State: 99:[27, 11], Operations: ['83-77=6', '5+6=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,99 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[5, 83, 104], Operations: ['77+27=104']
Exploring Operation: 104-5=99, Resulting Numbers: [83, 99]
Generated Node #0,1,0: 99:[83, 99] Operation: 104-5=99
Exploring Operation: 5+83=88, Resulting Numbers: [104, 88]
Generated Node #0,1,1: 99:[104, 88] Operation: 5+83=88
Exploring Operation: 104-83=21, Resulting Numbers: [5, 21]
Generated Node #0,1,2: 99:[5, 21] Operation: 104-83=21
Moving to Node #0,1,2
Current State: 99:[5, 21], Operations: ['77+27=104', '104-83=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[83, 99], Operations: ['77+27=104', '104-5=99']
Exploring Operation: 83+99=182, Resulting Numbers: [182]
182,99 unequal: No Solution
Exploring Operation: 83*99=8217, Resulting Numbers: [8217]
8217,99 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[104, 88], Operations: ['77+27=104', '5+83=88']
Exploring Operation: 104+88=192, Resulting Numbers: [192]
192,99 unequal: No Solution
Exploring Operation: 104*88=9152, Resulting Numbers: [9152]
9152,99 unequal: No Solution
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[5, 77, 110], Operations: ['83+27=110']
Exploring Operation: 110-77=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 99:[5, 33] Operation: 110-77=33
Exploring Operation: 5+77=82, Resulting Numbers: [110, 82]
Generated Node #0,0,1: 99:[110, 82] Operation: 5+77=82
Exploring Operation: 110-5=105, Resulting Numbers: [77, 105]
Generated Node #0,0,2: 99:[77, 105] Operation: 110-5=105
Moving to Node #0,0,0
Current State: 99:[5, 33], Operations: ['83+27=110', '110-77=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,99 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[110, 82], Operations: ['83+27=110', '5+77=82']
Exploring Operation: 110*82=9020, Resulting Numbers: [9020]
9020,99 unequal: No Solution
Exploring Operation: 110+82=192, Resulting Numbers: [192]
192,99 unequal: No Solution
Exploring Operation: 110-82=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[77, 105], Operations: ['83+27=110', '110-5=105']
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 77+105=182, Resulting Numbers: [182]
182,99 unequal: No Solution
Exploring Operation: 77*105=8085, Resulting Numbers: [8085]
8085,99 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 |
[
92,
93,
1,
46
] | 47 | [
"93-92=1",
"1+46=47",
"1*47=47"
] | Current State: 47:[92, 93, 1, 46], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [1, 46, 1]
Generated Node #2: [1, 46, 1] from Operation: 93-92=1
Current State: 47:[1, 46, 1], Operations: ['93-92=1']
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[92, 93, 1, 46], Operations: []
Exploring Operation: 1+46=47, Resulting Numbers: [92, 93, 47]
Generated Node #0,0: 47:[92, 93, 47] Operation: 1+46=47
Exploring Operation: 92*1=92, Resulting Numbers: [93, 46, 92]
Generated Node #0,1: 47:[93, 46, 92] Operation: 92*1=92
Exploring Operation: 93-1=92, Resulting Numbers: [92, 46, 92]
Generated Node #0,2: 47:[92, 46, 92] Operation: 93-1=92
Exploring Operation: 92-1=91, Resulting Numbers: [93, 46, 91]
Generated Node #0,3: 47:[93, 46, 91] Operation: 92-1=91
Exploring Operation: 93-46=47, Resulting Numbers: [92, 1, 47]
Generated Node #0,4: 47:[92, 1, 47] Operation: 93-46=47
Moving to Node #0,0
Current State: 47:[92, 93, 47], Operations: ['1+46=47']
Exploring Operation: 93-47=46, Resulting Numbers: [92, 46]
Generated Node #0,0,0: 47:[92, 46] Operation: 93-47=46
Exploring Operation: 92+47=139, Resulting Numbers: [93, 139]
Generated Node #0,0,1: 47:[93, 139] Operation: 92+47=139
Exploring Operation: 93-92=1, Resulting Numbers: [47, 1]
Generated Node #0,0,2: 47:[47, 1] Operation: 93-92=1
Exploring Operation: 92-47=45, Resulting Numbers: [93, 45]
Generated Node #0,0,3: 47:[93, 45] Operation: 92-47=45
Exploring Operation: 92+93=185, Resulting Numbers: [47, 185]
Generated Node #0,0,4: 47:[47, 185] Operation: 92+93=185
Moving to Node #0,3
Current State: 47:[93, 46, 91], Operations: ['92-1=91']
Exploring Operation: 46+91=137, Resulting Numbers: [93, 137]
Generated Node #0,3,0: 47:[93, 137] Operation: 46+91=137
Exploring Operation: 93-46=47, Resulting Numbers: [91, 47]
Generated Node #0,3,1: 47:[91, 47] Operation: 93-46=47
Exploring Operation: 93+46=139, Resulting Numbers: [91, 139]
Generated Node #0,3,2: 47:[91, 139] Operation: 93+46=139
Exploring Operation: 93-91=2, Resulting Numbers: [46, 2]
Generated Node #0,3,3: 47:[46, 2] Operation: 93-91=2
Exploring Operation: 91-46=45, Resulting Numbers: [93, 45]
Generated Node #0,3,4: 47:[93, 45] Operation: 91-46=45
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[91, 47], Operations: ['92-1=91', '93-46=47']
Exploring Operation: 91+47=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 91-47=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 91*47=4277, Resulting Numbers: [4277]
4277,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[46, 2], Operations: ['92-1=91', '93-91=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 47:[93, 45], Operations: ['92-1=91', '91-46=45']
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 93+45=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 93*45=4185, Resulting Numbers: [4185]
4185,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[93, 137], Operations: ['92-1=91', '46+91=137']
Exploring Operation: 137-93=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 93+137=230, Resulting Numbers: [230]
230,47 unequal: No Solution
Exploring Operation: 93*137=12741, Resulting Numbers: [12741]
12741,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[91, 139], Operations: ['92-1=91', '93+46=139']
Exploring Operation: 91+139=230, Resulting Numbers: [230]
230,47 unequal: No Solution
Exploring Operation: 139-91=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 91*139=12649, Resulting Numbers: [12649]
12649,47 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: 47:[92, 46, 92], Operations: ['93-1=92']
Exploring Operation: 92-46=46, Resulting Numbers: [92, 46]
Generated Node #0,2,0: 47:[92, 46] Operation: 92-46=46
Exploring Operation: 92/92=1, Resulting Numbers: [46, 1]
Generated Node #0,2,1: 47:[46, 1] Operation: 92/92=1
Exploring Operation: 92-92=0, Resulting Numbers: [46, 0]
Generated Node #0,2,2: 47:[46, 0] Operation: 92-92=0
Exploring Operation: 92-46=46, Resulting Numbers: [92, 46]
Generated Node #0,2,3: 47:[92, 46] Operation: 92-46=46
Exploring Operation: 92/46=2, Resulting Numbers: [92, 2]
Generated Node #0,2,4: 47:[92, 2] Operation: 92/46=2
Moving to Node #0,4
Current State: 47:[92, 1, 47], Operations: ['93-46=47']
Exploring Operation: 92*1=92, Resulting Numbers: [47, 92]
Generated Node #0,4,0: 47:[47, 92] Operation: 92*1=92
Exploring Operation: 47/1=47, Resulting Numbers: [92, 47]
Generated Node #0,4,1: 47:[92, 47] Operation: 47/1=47
Exploring Operation: 92/1=92, Resulting Numbers: [47, 92]
Generated Node #0,4,2: 47:[47, 92] Operation: 92/1=92
Exploring Operation: 1*47=47, Resulting Numbers: [92, 47]
Generated Node #0,4,3: 47:[92, 47] Operation: 1*47=47
Exploring Operation: 92-1=91, Resulting Numbers: [47, 91]
Generated Node #0,4,4: 47:[47, 91] Operation: 92-1=91
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 47:[47, 91], Operations: ['93-46=47', '92-1=91']
Exploring Operation: 91-47=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 47+91=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 47*91=4277, Resulting Numbers: [4277]
4277,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 47:[47, 92], Operations: ['93-46=47', '92*1=92']
Exploring Operation: 47*92=4324, Resulting Numbers: [4324]
4324,47 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 47+92=139, Resulting Numbers: [139]
139,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 47:[92, 47], Operations: ['93-46=47', '47/1=47']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 47:[47, 92], Operations: ['93-46=47', '92/1=92']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 47+92=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 47*92=4324, Resulting Numbers: [4324]
4324,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 47:[92, 47], Operations: ['93-46=47', '1*47=47']
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,47 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,47 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: 47:[93, 46, 92], Operations: ['92*1=92']
Exploring Operation: 93-92=1, Resulting Numbers: [46, 1]
Generated Node #0,1,0: 47:[46, 1] Operation: 93-92=1
Exploring Operation: 93+46=139, Resulting Numbers: [92, 139]
Generated Node #0,1,1: 47:[92, 139] Operation: 93+46=139
Exploring Operation: 92/46=2, Resulting Numbers: [93, 2]
Generated Node #0,1,2: 47:[93, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [93, 46]
Generated Node #0,1,3: 47:[93, 46] Operation: 92-46=46
Exploring Operation: 93-46=47, Resulting Numbers: [92, 47]
Generated Node #0,1,4: 47:[92, 47] Operation: 93-46=47
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 47:[92, 47], Operations: ['92*1=92', '93-46=47']
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,47 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[46, 1], Operations: ['92*1=92', '93-92=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[92, 93, 1, 46], Operations: []
Exploring Operation: 92*1=92, Resulting Numbers: [93, 46, 92]
Generated Node #0,1: 47:[93, 46, 92] Operation: 92*1=92
Moving to Node #0,1
Current State: 47:[93, 46, 92], Operations: ['92*1=92']
Exploring Operation: 93-92=1, Resulting Numbers: [46, 1]
Generated Node #0,1,0: 47:[46, 1] Operation: 93-92=1
Moving to Node #0,1,0
Current State: 47:[46, 1], Operations: ['92*1=92', '93-92=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_5 | mult_heuristic |
[
88,
47,
94,
18
] | 53 | [
"88+18=106",
"94/47=2",
"106/2=53"
] | Current State: 53:[88, 47, 94, 18], Operations: []
Exploring Operation: 88+18=106, Resulting Numbers: [47, 94, 106]
Generated Node #2: [47, 94, 106] from Operation: 88+18=106
Current State: 53:[47, 94, 106], Operations: ['88+18=106']
Exploring Operation: 94/47=2, Resulting Numbers: [106, 2]
Generated Node #3: [106, 2] from Operation: 94/47=2
Current State: 53:[106, 2], Operations: ['88+18=106', '94/47=2']
Exploring Operation: 106/2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[88, 47, 94, 18], Operations: []
Exploring Operation: 88-18=70, Resulting Numbers: [47, 94, 70]
Generated Node #0,0: 53:[47, 94, 70] Operation: 88-18=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[47, 94, 70], Operations: ['88-18=70']
Exploring Operation: 94-47=47, Resulting Numbers: [70, 47]
Generated Node #0,0,0: 53:[70, 47] Operation: 94-47=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[70, 47], Operations: ['88-18=70', '94-47=47']
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
63,
27,
64
] | 98 | [
"69-63=6",
"27*6=162",
"162-64=98"
] | Current State: 98:[69, 63, 27, 64], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [27, 64, 6]
Generated Node #2: [27, 64, 6] from Operation: 69-63=6
Current State: 98:[27, 64, 6], Operations: ['69-63=6']
Exploring Operation: 27*6=162, Resulting Numbers: [64, 162]
Generated Node #3: [64, 162] from Operation: 27*6=162
Current State: 98:[64, 162], Operations: ['69-63=6', '27*6=162']
Exploring Operation: 162-64=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[69, 63, 27, 64], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [27, 64, 6]
Generated Node #0,0: 98:[27, 64, 6] Operation: 69-63=6
Exploring Operation: 69-64=5, Resulting Numbers: [63, 27, 5]
Generated Node #0,1: 98:[63, 27, 5] Operation: 69-64=5
Exploring Operation: 69-27=42, Resulting Numbers: [63, 64, 42]
Generated Node #0,2: 98:[63, 64, 42] Operation: 69-27=42
Exploring Operation: 64-63=1, Resulting Numbers: [69, 27, 1]
Generated Node #0,3: 98:[69, 27, 1] Operation: 64-63=1
Exploring Operation: 69+27=96, Resulting Numbers: [63, 64, 96]
Generated Node #0,4: 98:[63, 64, 96] Operation: 69+27=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[27, 64, 6], Operations: ['69-63=6']
Exploring Operation: 27-6=21, Resulting Numbers: [64, 21]
Generated Node #0,0,0: 98:[64, 21] Operation: 27-6=21
Exploring Operation: 27+64=91, Resulting Numbers: [6, 91]
Generated Node #0,0,1: 98:[6, 91] Operation: 27+64=91
Exploring Operation: 27+6=33, Resulting Numbers: [64, 33]
Generated Node #0,0,2: 98:[64, 33] Operation: 27+6=33
Exploring Operation: 64-27=37, Resulting Numbers: [6, 37]
Generated Node #0,0,3: 98:[6, 37] Operation: 64-27=37
Exploring Operation: 64-6=58, Resulting Numbers: [27, 58]
Generated Node #0,0,4: 98:[27, 58] Operation: 64-6=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[6, 91], Operations: ['69-63=6', '27+64=91']
Exploring Operation: 6+91=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 6*91=546, Resulting Numbers: [546]
546,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[6, 37], Operations: ['69-63=6', '64-27=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,98 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[64, 21], Operations: ['69-63=6', '27-6=21']
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 98:[27, 58], Operations: ['69-63=6', '64-6=58']
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,98 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[64, 33], Operations: ['69-63=6', '27+6=33']
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,98 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[63, 27, 5], Operations: ['69-64=5']
Exploring Operation: 63-5=58, Resulting Numbers: [27, 58]
Generated Node #0,1,0: 98:[27, 58] Operation: 63-5=58
Exploring Operation: 63-27=36, Resulting Numbers: [5, 36]
Generated Node #0,1,1: 98:[5, 36] Operation: 63-27=36
Exploring Operation: 27-5=22, Resulting Numbers: [63, 22]
Generated Node #0,1,2: 98:[63, 22] Operation: 27-5=22
Exploring Operation: 63+27=90, Resulting Numbers: [5, 90]
Generated Node #0,1,3: 98:[5, 90] Operation: 63+27=90
Exploring Operation: 27+5=32, Resulting Numbers: [63, 32]
Generated Node #0,1,4: 98:[63, 32] Operation: 27+5=32
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[5, 90], Operations: ['69-64=5', '63+27=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[5, 36], Operations: ['69-64=5', '63-27=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,98 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[27, 58], Operations: ['69-64=5', '63-5=58']
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,98 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[63, 22], Operations: ['69-64=5', '27-5=22']
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,98 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 98:[63, 32], Operations: ['69-64=5', '27+5=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[63, 64, 96], Operations: ['69+27=96']
Exploring Operation: 96-63=33, Resulting Numbers: [64, 33]
Generated Node #0,4,0: 98:[64, 33] Operation: 96-63=33
Exploring Operation: 63+64=127, Resulting Numbers: [96, 127]
Generated Node #0,4,1: 98:[96, 127] Operation: 63+64=127
Exploring Operation: 96-64=32, Resulting Numbers: [63, 32]
Generated Node #0,4,2: 98:[63, 32] Operation: 96-64=32
Exploring Operation: 64-63=1, Resulting Numbers: [96, 1]
Generated Node #0,4,3: 98:[96, 1] Operation: 64-63=1
Exploring Operation: 63+96=159, Resulting Numbers: [64, 159]
Generated Node #0,4,4: 98:[64, 159] Operation: 63+96=159
Moving to Node #0,4,3
Current State: 98:[96, 1], Operations: ['69+27=96', '64-63=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[96, 127], Operations: ['69+27=96', '63+64=127']
Exploring Operation: 127-96=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 96*127=12192, Resulting Numbers: [12192]
12192,98 unequal: No Solution
Exploring Operation: 96+127=223, Resulting Numbers: [223]
223,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[64, 33], Operations: ['69+27=96', '96-63=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,98 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[63, 32], Operations: ['69+27=96', '96-64=32']
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,98 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[64, 159], Operations: ['69+27=96', '63+96=159']
Exploring Operation: 159-64=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 64+159=223, Resulting Numbers: [223]
223,98 unequal: No Solution
Exploring Operation: 64*159=10176, Resulting Numbers: [10176]
10176,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[69, 27, 1], Operations: ['64-63=1']
Exploring Operation: 69+27=96, Resulting Numbers: [1, 96]
Generated Node #0,3,0: 98:[1, 96] Operation: 69+27=96
Exploring Operation: 69-27=42, Resulting Numbers: [1, 42]
Generated Node #0,3,1: 98:[1, 42] Operation: 69-27=42
Exploring Operation: 69*1=69, Resulting Numbers: [27, 69]
Generated Node #0,3,2: 98:[27, 69] Operation: 69*1=69
Exploring Operation: 27-1=26, Resulting Numbers: [69, 26]
Generated Node #0,3,3: 98:[69, 26] Operation: 27-1=26
Exploring Operation: 69-1=68, Resulting Numbers: [27, 68]
Generated Node #0,3,4: 98:[27, 68] Operation: 69-1=68
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 98:[1, 96], Operations: ['64-63=1', '69+27=96']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 1+96=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 1*96=96, Resulting Numbers: [96]
96,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[1, 42], Operations: ['64-63=1', '69-27=42']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[69, 26], Operations: ['64-63=1', '27-1=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,98 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 98:[27, 68], Operations: ['64-63=1', '69-1=68']
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,98 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 98:[27, 69], Operations: ['64-63=1', '69*1=69']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[63, 64, 42], Operations: ['69-27=42']
Exploring Operation: 63-42=21, Resulting Numbers: [64, 21]
Generated Node #0,2,0: 98:[64, 21] Operation: 63-42=21
Exploring Operation: 64+42=106, Resulting Numbers: [63, 106]
Generated Node #0,2,1: 98:[63, 106] Operation: 64+42=106
Exploring Operation: 63+42=105, Resulting Numbers: [64, 105]
Generated Node #0,2,2: 98:[64, 105] Operation: 63+42=105
Exploring Operation: 64-63=1, Resulting Numbers: [42, 1]
Generated Node #0,2,3: 98:[42, 1] Operation: 64-63=1
Exploring Operation: 64-42=22, Resulting Numbers: [63, 22]
Generated Node #0,2,4: 98:[63, 22] Operation: 64-42=22
Moving to Node #0,2,3
Current State: 98:[42, 1], Operations: ['69-27=42', '64-63=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[63, 106], Operations: ['69-27=42', '64+42=106']
Exploring Operation: 106-63=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 63*106=6678, Resulting Numbers: [6678]
6678,98 unequal: No Solution
Exploring Operation: 63+106=169, Resulting Numbers: [169]
169,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[63, 22], Operations: ['69-27=42', '64-42=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[64, 21], Operations: ['69-27=42', '63-42=21']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[64, 105], Operations: ['69-27=42', '63+42=105']
Exploring Operation: 64*105=6720, Resulting Numbers: [6720]
6720,98 unequal: No Solution
Exploring Operation: 105-64=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 64+105=169, Resulting Numbers: [169]
169,98 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 |
[
88,
92,
48,
44
] | 70 | [
"88/44=2",
"92+48=140",
"140/2=70"
] | Current State: 70:[88, 92, 48, 44], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [92, 48, 2]
Generated Node #2: [92, 48, 2] from Operation: 88/44=2
Current State: 70:[92, 48, 2], Operations: ['88/44=2']
Exploring Operation: 92+48=140, Resulting Numbers: [2, 140]
Generated Node #3: [2, 140] from Operation: 92+48=140
Current State: 70:[2, 140], Operations: ['88/44=2', '92+48=140']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[88, 92, 48, 44], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [92, 48, 2]
Generated Node #0,0: 70:[92, 48, 2] Operation: 88/44=2
Exploring Operation: 88-48=40, Resulting Numbers: [92, 44, 40]
Generated Node #0,1: 70:[92, 44, 40] Operation: 88-48=40
Exploring Operation: 92-88=4, Resulting Numbers: [48, 44, 4]
Generated Node #0,2: 70:[48, 44, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[48, 44, 4], Operations: ['92-88=4']
Exploring Operation: 48/4=12, Resulting Numbers: [44, 12]
Generated Node #0,2,0: 70:[44, 12] Operation: 48/4=12
Exploring Operation: 48-44=4, Resulting Numbers: [4, 4]
Generated Node #0,2,1: 70:[4, 4] Operation: 48-44=4
Exploring Operation: 44/4=11, Resulting Numbers: [48, 11]
Generated Node #0,2,2: 70:[48, 11] Operation: 44/4=11
Moving to Node #0,2,1
Current State: 70:[4, 4], Operations: ['92-88=4', '48-44=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[44, 12], Operations: ['92-88=4', '48/4=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,70 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[48, 11], Operations: ['92-88=4', '44/4=11']
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,70 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[92, 48, 2], Operations: ['88/44=2']
Exploring Operation: 48/2=24, Resulting Numbers: [92, 24]
Generated Node #0,0,0: 70:[92, 24] Operation: 48/2=24
Exploring Operation: 92-48=44, Resulting Numbers: [2, 44]
Generated Node #0,0,1: 70:[2, 44] Operation: 92-48=44
Exploring Operation: 92/2=46, Resulting Numbers: [48, 46]
Generated Node #0,0,2: 70:[48, 46] Operation: 92/2=46
Moving to Node #0,0,1
Current State: 70:[2, 44], Operations: ['88/44=2', '92-48=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[48, 46], Operations: ['88/44=2', '92/2=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,70 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[92, 24], Operations: ['88/44=2', '48/2=24']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,70 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[92, 44, 40], Operations: ['88-48=40']
Exploring Operation: 92-40=52, Resulting Numbers: [44, 52]
Generated Node #0,1,0: 70:[44, 52] Operation: 92-40=52
Exploring Operation: 92-44=48, Resulting Numbers: [40, 48]
Generated Node #0,1,1: 70:[40, 48] Operation: 92-44=48
Exploring Operation: 44-40=4, Resulting Numbers: [92, 4]
Generated Node #0,1,2: 70:[92, 4] Operation: 44-40=4
Moving to Node #0,1,1
Current State: 70:[40, 48], Operations: ['88-48=40', '92-44=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[92, 4], Operations: ['88-48=40', '44-40=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[44, 52], Operations: ['88-48=40', '92-40=52']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,70 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,70 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 |
[
95,
90,
36,
53
] | 94 | [
"95-90=5",
"36+53=89",
"5+89=94"
] | Current State: 94:[95, 90, 36, 53], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [36, 53, 5]
Generated Node #2: [36, 53, 5] from Operation: 95-90=5
Current State: 94:[36, 53, 5], Operations: ['95-90=5']
Exploring Operation: 36+53=89, Resulting Numbers: [5, 89]
Generated Node #3: [5, 89] from Operation: 36+53=89
Current State: 94:[5, 89], Operations: ['95-90=5', '36+53=89']
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[95, 90, 36, 53], Operations: []
Exploring Operation: 36+53=89, Resulting Numbers: [95, 90, 89]
Generated Node #0,0: 94:[95, 90, 89] Operation: 36+53=89
Exploring Operation: 95-53=42, Resulting Numbers: [90, 36, 42]
Generated Node #0,1: 94:[90, 36, 42] Operation: 95-53=42
Exploring Operation: 90-36=54, Resulting Numbers: [95, 53, 54]
Generated Node #0,2: 94:[95, 53, 54] Operation: 90-36=54
Exploring Operation: 95-90=5, Resulting Numbers: [36, 53, 5]
Generated Node #0,3: 94:[36, 53, 5] Operation: 95-90=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[95, 90, 89], Operations: ['36+53=89']
Exploring Operation: 95-90=5, Resulting Numbers: [89, 5]
Generated Node #0,0,0: 94:[89, 5] Operation: 95-90=5
Exploring Operation: 90-89=1, Resulting Numbers: [95, 1]
Generated Node #0,0,1: 94:[95, 1] Operation: 90-89=1
Exploring Operation: 95-89=6, Resulting Numbers: [90, 6]
Generated Node #0,0,2: 94:[90, 6] Operation: 95-89=6
Exploring Operation: 90+89=179, Resulting Numbers: [95, 179]
Generated Node #0,0,3: 94:[95, 179] Operation: 90+89=179
Moving to Node #0,0,1
Current State: 94:[95, 1], Operations: ['36+53=89', '90-89=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[95, 90, 36, 53], Operations: []
Exploring Operation: 36+53=89, Resulting Numbers: [95, 90, 89]
Generated Node #0,0: 94:[95, 90, 89] Operation: 36+53=89
Moving to Node #0,0
Current State: 94:[95, 90, 89], Operations: ['36+53=89']
Exploring Operation: 90-89=1, Resulting Numbers: [95, 1]
Generated Node #0,0,1: 94:[95, 1] Operation: 90-89=1
Moving to Node #0,0,1
Current State: 94:[95, 1], Operations: ['36+53=89', '90-89=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
29,
79,
54,
42
] | 12 | [
"29+79=108",
"54+42=96",
"108-96=12"
] | Current State: 12:[29, 79, 54, 42], Operations: []
Exploring Operation: 29+79=108, Resulting Numbers: [54, 42, 108]
Generated Node #2: [54, 42, 108] from Operation: 29+79=108
Current State: 12:[54, 42, 108], Operations: ['29+79=108']
Exploring Operation: 54+42=96, Resulting Numbers: [108, 96]
Generated Node #3: [108, 96] from Operation: 54+42=96
Current State: 12:[108, 96], Operations: ['29+79=108', '54+42=96']
Exploring Operation: 108-96=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[29, 79, 54, 42], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [29, 54, 37]
Generated Node #0,0: 12:[29, 54, 37] Operation: 79-42=37
Exploring Operation: 54-29=25, Resulting Numbers: [79, 42, 25]
Generated Node #0,1: 12:[79, 42, 25] Operation: 54-29=25
Exploring Operation: 79-29=50, Resulting Numbers: [54, 42, 50]
Generated Node #0,2: 12:[54, 42, 50] Operation: 79-29=50
Exploring Operation: 79-54=25, Resulting Numbers: [29, 42, 25]
Generated Node #0,3: 12:[29, 42, 25] Operation: 79-54=25
Exploring Operation: 54-42=12, Resulting Numbers: [29, 79, 12]
Generated Node #0,4: 12:[29, 79, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[29, 42, 25], Operations: ['79-54=25']
Exploring Operation: 42-25=17, Resulting Numbers: [29, 17]
Generated Node #0,3,0: 12:[29, 17] Operation: 42-25=17
Exploring Operation: 29+42=71, Resulting Numbers: [25, 71]
Generated Node #0,3,1: 12:[25, 71] Operation: 29+42=71
Exploring Operation: 42-29=13, Resulting Numbers: [25, 13]
Generated Node #0,3,2: 12:[25, 13] Operation: 42-29=13
Exploring Operation: 29+25=54, Resulting Numbers: [42, 54]
Generated Node #0,3,3: 12:[42, 54] Operation: 29+25=54
Exploring Operation: 29-25=4, Resulting Numbers: [42, 4]
Generated Node #0,3,4: 12:[42, 4] Operation: 29-25=4
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[25, 13], Operations: ['79-54=25', '42-29=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,12 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[29, 79, 54, 42], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [29, 42, 25]
Generated Node #0,3: 12:[29, 42, 25] Operation: 79-54=25
Moving to Node #0,3
Current State: 12:[29, 42, 25], Operations: ['79-54=25']
Exploring Operation: 42-29=13, Resulting Numbers: [25, 13]
Generated Node #0,3,2: 12:[25, 13] Operation: 42-29=13
Moving to Node #0,3,2
Current State: 12:[25, 13], Operations: ['79-54=25', '42-29=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
99,
21,
7,
3
] | 15 | [
"21+7=28",
"3*28=84",
"99-84=15"
] | Current State: 15:[99, 21, 7, 3], Operations: []
Exploring Operation: 21+7=28, Resulting Numbers: [99, 3, 28]
Generated Node #2: [99, 3, 28] from Operation: 21+7=28
Current State: 15:[99, 3, 28], Operations: ['21+7=28']
Exploring Operation: 3*28=84, Resulting Numbers: [99, 84]
Generated Node #3: [99, 84] from Operation: 3*28=84
Current State: 15:[99, 84], Operations: ['21+7=28', '3*28=84']
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[99, 21, 7, 3], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [21, 7, 33]
Generated Node #0,0: 15:[21, 7, 33] Operation: 99/3=33
Exploring Operation: 99-21=78, Resulting Numbers: [7, 3, 78]
Generated Node #0,1: 15:[7, 3, 78] Operation: 99-21=78
Exploring Operation: 99-7=92, Resulting Numbers: [21, 3, 92]
Generated Node #0,2: 15:[21, 3, 92] Operation: 99-7=92
Exploring Operation: 21/7=3, Resulting Numbers: [99, 3, 3]
Generated Node #0,3: 15:[99, 3, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [99, 3, 14]
Generated Node #0,4: 15:[99, 3, 14] Operation: 21-7=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[21, 7, 33], Operations: ['99/3=33']
Exploring Operation: 21/7=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 15:[33, 3] Operation: 21/7=3
Exploring Operation: 33-7=26, Resulting Numbers: [21, 26]
Generated Node #0,0,1: 15:[21, 26] Operation: 33-7=26
Exploring Operation: 21+7=28, Resulting Numbers: [33, 28]
Generated Node #0,0,2: 15:[33, 28] Operation: 21+7=28
Exploring Operation: 21-7=14, Resulting Numbers: [33, 14]
Generated Node #0,0,3: 15:[33, 14] Operation: 21-7=14
Exploring Operation: 33-21=12, Resulting Numbers: [7, 12]
Generated Node #0,0,4: 15:[7, 12] Operation: 33-21=12
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 15:[7, 12], Operations: ['99/3=33', '33-21=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,15 unequal: No Solution
No 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: 15:[21, 26], Operations: ['99/3=33', '33-7=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,15 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No 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: 15:[33, 3], Operations: ['99/3=33', '21/7=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,15 unequal: No Solution
No 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: 15:[33, 14], Operations: ['99/3=33', '21-7=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,15 unequal: No Solution
No 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: 15:[33, 28], Operations: ['99/3=33', '21+7=28']
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,15 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,15 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,15 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: 15:[7, 3, 78], Operations: ['99-21=78']
Exploring Operation: 7+3=10, Resulting Numbers: [78, 10]
Generated Node #0,1,0: 15:[78, 10] Operation: 7+3=10
Exploring Operation: 78-7=71, Resulting Numbers: [3, 71]
Generated Node #0,1,1: 15:[3, 71] Operation: 78-7=71
Exploring Operation: 78-3=75, Resulting Numbers: [7, 75]
Generated Node #0,1,2: 15:[7, 75] Operation: 78-3=75
Exploring Operation: 7-3=4, Resulting Numbers: [78, 4]
Generated Node #0,1,3: 15:[78, 4] Operation: 7-3=4
Exploring Operation: 78/3=26, Resulting Numbers: [7, 26]
Generated Node #0,1,4: 15:[7, 26] Operation: 78/3=26
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 15:[7, 26], Operations: ['99-21=78', '78/3=26']
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,15 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,15 unequal: No Solution
No 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: 15:[3, 71], Operations: ['99-21=78', '78-7=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,15 unequal: No Solution
No 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: 15:[7, 75], Operations: ['99-21=78', '78-3=75']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 7*75=525, Resulting Numbers: [525]
525,15 unequal: No Solution
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,15 unequal: No Solution
No 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: 15:[78, 4], Operations: ['99-21=78', '7-3=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,15 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,15 unequal: No Solution
No 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: 15:[78, 10], Operations: ['99-21=78', '7+3=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,15 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,15 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: 15:[21, 3, 92], Operations: ['99-7=92']
Exploring Operation: 92-21=71, Resulting Numbers: [3, 71]
Generated Node #0,2,0: 15:[3, 71] Operation: 92-21=71
Exploring Operation: 92-3=89, Resulting Numbers: [21, 89]
Generated Node #0,2,1: 15:[21, 89] Operation: 92-3=89
Exploring Operation: 21/3=7, Resulting Numbers: [92, 7]
Generated Node #0,2,2: 15:[92, 7] Operation: 21/3=7
Exploring Operation: 21+3=24, Resulting Numbers: [92, 24]
Generated Node #0,2,3: 15:[92, 24] Operation: 21+3=24
Exploring Operation: 21-3=18, Resulting Numbers: [92, 18]
Generated Node #0,2,4: 15:[92, 18] Operation: 21-3=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[3, 71], Operations: ['99-7=92', '92-21=71']
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,15 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,15 unequal: No Solution
No 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: 15:[92, 7], Operations: ['99-7=92', '21/3=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,15 unequal: No Solution
Exploring Operation: 92*7=644, Resulting Numbers: [644]
644,15 unequal: No Solution
No 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: 15:[21, 89], Operations: ['99-7=92', '92-3=89']
Exploring Operation: 21*89=1869, Resulting Numbers: [1869]
1869,15 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,15 unequal: No Solution
No 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: 15:[92, 18], Operations: ['99-7=92', '21-3=18']
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,15 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,15 unequal: No Solution
No 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: 15:[92, 24], Operations: ['99-7=92', '21+3=24']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 92+24=116, Resulting Numbers: [116]
116,15 unequal: No Solution
Exploring Operation: 92*24=2208, Resulting Numbers: [2208]
2208,15 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: 15:[99, 3, 3], Operations: ['21/7=3']
Exploring Operation: 99/3=33, Resulting Numbers: [3, 33]
Generated Node #0,3,0: 15:[3, 33] Operation: 99/3=33
Exploring Operation: 3+3=6, Resulting Numbers: [99, 6]
Generated Node #0,3,1: 15:[99, 6] Operation: 3+3=6
Exploring Operation: 99-3=96, Resulting Numbers: [3, 96]
Generated Node #0,3,2: 15:[3, 96] Operation: 99-3=96
Exploring Operation: 99/3=33, Resulting Numbers: [3, 33]
Generated Node #0,3,3: 15:[3, 33] Operation: 99/3=33
Exploring Operation: 99-3=96, Resulting Numbers: [3, 96]
Generated Node #0,3,4: 15:[3, 96] Operation: 99-3=96
Moving to Node #0,3,0
Current State: 15:[3, 33], Operations: ['21/7=3', '99/3=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[3, 33], Operations: ['21/7=3', '99/3=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[3, 96], Operations: ['21/7=3', '99-3=96']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 3*96=288, Resulting Numbers: [288]
288,15 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,15 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Moving to Node #0,3,4
Current State: 15:[3, 96], Operations: ['21/7=3', '99-3=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,15 unequal: No Solution
Exploring Operation: 3*96=288, Resulting Numbers: [288]
288,15 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[99, 6], Operations: ['21/7=3', '3+3=6']
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,15 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,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,4
Current State: 15:[99, 3, 14], Operations: ['21-7=14']
Exploring Operation: 3+14=17, Resulting Numbers: [99, 17]
Generated Node #0,4,0: 15:[99, 17] Operation: 3+14=17
Exploring Operation: 99+3=102, Resulting Numbers: [14, 102]
Generated Node #0,4,1: 15:[14, 102] Operation: 99+3=102
Exploring Operation: 99-3=96, Resulting Numbers: [14, 96]
Generated Node #0,4,2: 15:[14, 96] Operation: 99-3=96
Exploring Operation: 99/3=33, Resulting Numbers: [14, 33]
Generated Node #0,4,3: 15:[14, 33] Operation: 99/3=33
Exploring Operation: 99-14=85, Resulting Numbers: [3, 85]
Generated Node #0,4,4: 15:[3, 85] Operation: 99-14=85
Moving to Node #0,4,3
Current State: 15:[14, 33], Operations: ['21-7=14', '99/3=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,15 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Moving to Node #0,4,4
Current State: 15:[3, 85], Operations: ['21-7=14', '99-14=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,15 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,15 unequal: No Solution
Moving to Node #0,4,2
Current State: 15:[14, 96], Operations: ['21-7=14', '99-3=96']
Exploring Operation: 14+96=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 14*96=1344, Resulting Numbers: [1344]
1344,15 unequal: No Solution
Moving to Node #0,4,0
Current State: 15:[99, 17], Operations: ['21-7=14', '3+14=17']
Exploring Operation: 99+17=116, Resulting Numbers: [116]
116,15 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 99*17=1683, Resulting Numbers: [1683]
1683,15 unequal: No Solution
Moving to Node #0,4,1
Current State: 15:[14, 102], Operations: ['21-7=14', '99+3=102']
Exploring Operation: 14*102=1428, Resulting Numbers: [1428]
1428,15 unequal: No Solution
Exploring Operation: 102-14=88, Resulting Numbers: [88]
88,15 unequal: No Solution
Exploring Operation: 14+102=116, Resulting Numbers: [116]
116,15 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 |
[
72,
88,
63,
84
] | 13 | [
"72+88=160",
"63+84=147",
"160-147=13"
] | Current State: 13:[72, 88, 63, 84], Operations: []
Exploring Operation: 72+88=160, Resulting Numbers: [63, 84, 160]
Generated Node #2: [63, 84, 160] from Operation: 72+88=160
Current State: 13:[63, 84, 160], Operations: ['72+88=160']
Exploring Operation: 63+84=147, Resulting Numbers: [160, 147]
Generated Node #3: [160, 147] from Operation: 63+84=147
Current State: 13:[160, 147], Operations: ['72+88=160', '63+84=147']
Exploring Operation: 160-147=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[72, 88, 63, 84], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [88, 63, 12]
Generated Node #0,0: 13:[88, 63, 12] Operation: 84-72=12
Exploring Operation: 88-72=16, Resulting Numbers: [63, 84, 16]
Generated Node #0,1: 13:[63, 84, 16] Operation: 88-72=16
Exploring Operation: 88-84=4, Resulting Numbers: [72, 63, 4]
Generated Node #0,2: 13:[72, 63, 4] Operation: 88-84=4
Moving to Node #0,2
Current State: 13:[72, 63, 4], Operations: ['88-84=4']
Exploring Operation: 72-63=9, Resulting Numbers: [4, 9]
Generated Node #0,2,0: 13:[4, 9] Operation: 72-63=9
Exploring Operation: 72/4=18, Resulting Numbers: [63, 18]
Generated Node #0,2,1: 13:[63, 18] Operation: 72/4=18
Exploring Operation: 72-4=68, Resulting Numbers: [63, 68]
Generated Node #0,2,2: 13:[63, 68] Operation: 72-4=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[4, 9], Operations: ['88-84=4', '72-63=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[72, 88, 63, 84], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [72, 63, 4]
Generated Node #0,2: 13:[72, 63, 4] Operation: 88-84=4
Moving to Node #0,2
Current State: 13:[72, 63, 4], Operations: ['88-84=4']
Exploring Operation: 72-63=9, Resulting Numbers: [4, 9]
Generated Node #0,2,0: 13:[4, 9] Operation: 72-63=9
Moving to Node #0,2,0
Current State: 13:[4, 9], Operations: ['88-84=4', '72-63=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
37,
92,
9,
30
] | 11 | [
"37+92=129",
"129-30=99",
"99/9=11"
] | Current State: 11:[37, 92, 9, 30], Operations: []
Exploring Operation: 37+92=129, Resulting Numbers: [9, 30, 129]
Generated Node #2: [9, 30, 129] from Operation: 37+92=129
Current State: 11:[9, 30, 129], Operations: ['37+92=129']
Exploring Operation: 129-30=99, Resulting Numbers: [9, 99]
Generated Node #3: [9, 99] from Operation: 129-30=99
Current State: 11:[9, 99], Operations: ['37+92=129', '129-30=99']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[37, 92, 9, 30], Operations: []
Exploring Operation: 92-37=55, Resulting Numbers: [9, 30, 55]
Generated Node #0,0: 11:[9, 30, 55] Operation: 92-37=55
Exploring Operation: 92-30=62, Resulting Numbers: [37, 9, 62]
Generated Node #0,1: 11:[37, 9, 62] Operation: 92-30=62
Moving to Node #0,0
Current State: 11:[9, 30, 55], Operations: ['92-37=55']
Exploring Operation: 55-30=25, Resulting Numbers: [9, 25]
Generated Node #0,0,0: 11:[9, 25] Operation: 55-30=25
Exploring Operation: 30-9=21, Resulting Numbers: [55, 21]
Generated Node #0,0,1: 11:[55, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[9, 25], Operations: ['92-37=55', '55-30=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[55, 21], Operations: ['92-37=55', '30-9=21']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 11:[37, 9, 62], Operations: ['92-30=62']
Exploring Operation: 62-37=25, Resulting Numbers: [9, 25]
Generated Node #0,1,0: 11:[9, 25] Operation: 62-37=25
Exploring Operation: 37-9=28, Resulting Numbers: [62, 28]
Generated Node #0,1,1: 11:[62, 28] Operation: 37-9=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[9, 25], Operations: ['92-30=62', '62-37=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[62, 28], Operations: ['92-30=62', '37-9=28']
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,11 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 |
[
31,
65,
34,
78
] | 77 | [
"65-31=34",
"34/34=1",
"78-1=77"
] | Current State: 77:[31, 65, 34, 78], Operations: []
Exploring Operation: 65-31=34, Resulting Numbers: [34, 78, 34]
Generated Node #2: [34, 78, 34] from Operation: 65-31=34
Current State: 77:[34, 78, 34], Operations: ['65-31=34']
Exploring Operation: 34/34=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 34/34=1
Current State: 77:[78, 1], Operations: ['65-31=34', '34/34=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[31, 65, 34, 78], Operations: []
Exploring Operation: 31+34=65, Resulting Numbers: [65, 78, 65]
Generated Node #0,0: 77:[65, 78, 65] Operation: 31+34=65
Exploring Operation: 34-31=3, Resulting Numbers: [65, 78, 3]
Generated Node #0,1: 77:[65, 78, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[65, 78, 3], Operations: ['34-31=3']
Exploring Operation: 78-65=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 77:[3, 13] Operation: 78-65=13
Exploring Operation: 65+3=68, Resulting Numbers: [78, 68]
Generated Node #0,1,1: 77:[78, 68] Operation: 65+3=68
Moving to Node #0,1,0
Current State: 77:[3, 13], Operations: ['34-31=3', '78-65=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[78, 68], Operations: ['34-31=3', '65+3=68']
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 78+68=146, Resulting Numbers: [146]
146,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[65, 78, 65], Operations: ['31+34=65']
Exploring Operation: 65/65=1, Resulting Numbers: [78, 1]
Generated Node #0,0,0: 77:[78, 1] Operation: 65/65=1
Exploring Operation: 65-65=0, Resulting Numbers: [78, 0]
Generated Node #0,0,1: 77:[78, 0] Operation: 65-65=0
Moving to Node #0,0,0
Current State: 77:[78, 1], Operations: ['31+34=65', '65/65=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[31, 65, 34, 78], Operations: []
Exploring Operation: 31+34=65, Resulting Numbers: [65, 78, 65]
Generated Node #0,0: 77:[65, 78, 65] Operation: 31+34=65
Moving to Node #0,0
Current State: 77:[65, 78, 65], Operations: ['31+34=65']
Exploring Operation: 65/65=1, Resulting Numbers: [78, 1]
Generated Node #0,0,0: 77:[78, 1] Operation: 65/65=1
Moving to Node #0,0,0
Current State: 77:[78, 1], Operations: ['31+34=65', '65/65=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
48,
72,
36,
85
] | 61 | [
"48*36=1728",
"1728/72=24",
"85-24=61"
] | Current State: 61:[48, 72, 36, 85], Operations: []
Exploring Operation: 48*36=1728, Resulting Numbers: [72, 85, 1728]
Generated Node #2: [72, 85, 1728] from Operation: 48*36=1728
Current State: 61:[72, 85, 1728], Operations: ['48*36=1728']
Exploring Operation: 1728/72=24, Resulting Numbers: [85, 24]
Generated Node #3: [85, 24] from Operation: 1728/72=24
Current State: 61:[85, 24], Operations: ['48*36=1728', '1728/72=24']
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[48, 72, 36, 85], Operations: []
Exploring Operation: 85-36=49, Resulting Numbers: [48, 72, 49]
Generated Node #0,0: 61:[48, 72, 49] Operation: 85-36=49
Exploring Operation: 48+36=84, Resulting Numbers: [72, 85, 84]
Generated Node #0,1: 61:[72, 85, 84] Operation: 48+36=84
Moving to Node #0,0
Current State: 61:[48, 72, 49], Operations: ['85-36=49']
Exploring Operation: 48+49=97, Resulting Numbers: [72, 97]
Generated Node #0,0,0: 61:[72, 97] Operation: 48+49=97
Exploring Operation: 72-48=24, Resulting Numbers: [49, 24]
Generated Node #0,0,1: 61:[49, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[72, 97], Operations: ['85-36=49', '48+49=97']
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 72+97=169, Resulting Numbers: [169]
169,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:[49, 24], Operations: ['85-36=49', '72-48=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
Moving to Node #0,1
Current State: 61:[72, 85, 84], Operations: ['48+36=84']
Exploring Operation: 85-72=13, Resulting Numbers: [84, 13]
Generated Node #0,1,0: 61:[84, 13] Operation: 85-72=13
Exploring Operation: 85-84=1, Resulting Numbers: [72, 1]
Generated Node #0,1,1: 61:[72, 1] Operation: 85-84=1
Moving to Node #0,1,0
Current State: 61:[84, 13], Operations: ['48+36=84', '85-72=13']
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,61 unequal: No Solution
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[72, 1], Operations: ['48+36=84', '85-84=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
89,
4,
57,
57
] | 100 | [
"89-57=32",
"57-32=25",
"4*25=100"
] | Current State: 100:[89, 4, 57, 57], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [4, 32]
Generated Node #2: [4, 32] from Operation: 89-57=32
Current State: 100:[4, 32], Operations: ['89-57=32']
Exploring Operation: 57-32=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 57-32=25
Current State: 100:[4, 25], Operations: ['89-57=32', '57-32=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[89, 4, 57, 57], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [4, 57, 32]
Generated Node #0,0: 100:[4, 57, 32] Operation: 89-57=32
Exploring Operation: 89-57=32, Resulting Numbers: [4, 57, 32]
Generated Node #0,1: 100:[4, 57, 32] Operation: 89-57=32
Exploring Operation: 57/57=1, Resulting Numbers: [89, 4, 1]
Generated Node #0,2: 100:[89, 4, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [89, 4, 0]
Generated Node #0,3: 100:[89, 4, 0] Operation: 57-57=0
Exploring Operation: 89+4=93, Resulting Numbers: [57, 57, 93]
Generated Node #0,4: 100:[57, 57, 93] Operation: 89+4=93
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[89, 4, 1], Operations: ['57/57=1']
Exploring Operation: 89+1=90, Resulting Numbers: [4, 90]
Generated Node #0,2,0: 100:[4, 90] Operation: 89+1=90
Exploring Operation: 89+4=93, Resulting Numbers: [1, 93]
Generated Node #0,2,1: 100:[1, 93] Operation: 89+4=93
Exploring Operation: 4+1=5, Resulting Numbers: [89, 5]
Generated Node #0,2,2: 100:[89, 5] Operation: 4+1=5
Exploring Operation: 89*1=89, Resulting Numbers: [4, 89]
Generated Node #0,2,3: 100:[4, 89] Operation: 89*1=89
Exploring Operation: 89/1=89, Resulting Numbers: [4, 89]
Generated Node #0,2,4: 100:[4, 89] Operation: 89/1=89
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[1, 93], Operations: ['57/57=1', '89+4=93']
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[4, 90], Operations: ['57/57=1', '89+1=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 4*90=360, Resulting Numbers: [360]
360,100 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[89, 5], Operations: ['57/57=1', '4+1=5']
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,100 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[4, 89], Operations: ['57/57=1', '89*1=89']
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,100 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 100:[4, 89], Operations: ['57/57=1', '89/1=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[89, 4, 0], Operations: ['57-57=0']
Exploring Operation: 89-0=89, Resulting Numbers: [4, 89]
Generated Node #0,3,0: 100:[4, 89] Operation: 89-0=89
Exploring Operation: 89*0=0, Resulting Numbers: [4, 0]
Generated Node #0,3,1: 100:[4, 0] Operation: 89*0=0
Exploring Operation: 89+0=89, Resulting Numbers: [4, 89]
Generated Node #0,3,2: 100:[4, 89] Operation: 89+0=89
Exploring Operation: 89+4=93, Resulting Numbers: [0, 93]
Generated Node #0,3,3: 100:[0, 93] Operation: 89+4=93
Exploring Operation: 4+0=4, Resulting Numbers: [89, 4]
Generated Node #0,3,4: 100:[89, 4] Operation: 4+0=4
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[4, 0], Operations: ['57-57=0', '89*0=0']
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 100:[0, 93], Operations: ['57-57=0', '89+4=93']
Exploring Operation: 0*93=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 93-0=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 0+93=93, Resulting Numbers: [93]
93,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[4, 89], Operations: ['57-57=0', '89-0=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,100 unequal: No Solution
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[4, 89], Operations: ['57-57=0', '89+0=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,100 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 100:[89, 4], Operations: ['57-57=0', '4+0=4']
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,100 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[4, 57, 32], Operations: ['89-57=32']
Exploring Operation: 57-4=53, Resulting Numbers: [32, 53]
Generated Node #0,0,0: 100:[32, 53] Operation: 57-4=53
Exploring Operation: 32-4=28, Resulting Numbers: [57, 28]
Generated Node #0,0,1: 100:[57, 28] Operation: 32-4=28
Exploring Operation: 57+32=89, Resulting Numbers: [4, 89]
Generated Node #0,0,2: 100:[4, 89] Operation: 57+32=89
Exploring Operation: 57-32=25, Resulting Numbers: [4, 25]
Generated Node #0,0,3: 100:[4, 25] Operation: 57-32=25
Exploring Operation: 32/4=8, Resulting Numbers: [57, 8]
Generated Node #0,0,4: 100:[57, 8] Operation: 32/4=8
Moving to Node #0,0,3
Current State: 100:[4, 25], Operations: ['89-57=32', '57-32=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[89, 4, 57, 57], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [4, 57, 32]
Generated Node #0,0: 100:[4, 57, 32] Operation: 89-57=32
Moving to Node #0,0
Current State: 100:[4, 57, 32], Operations: ['89-57=32']
Exploring Operation: 57-32=25, Resulting Numbers: [4, 25]
Generated Node #0,0,3: 100:[4, 25] Operation: 57-32=25
Moving to Node #0,0,3
Current State: 100:[4, 25], Operations: ['89-57=32', '57-32=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
33,
71,
76,
98
] | 100 | [
"71-33=38",
"76/38=2",
"98+2=100"
] | Current State: 100:[33, 71, 76, 98], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [76, 98, 38]
Generated Node #2: [76, 98, 38] from Operation: 71-33=38
Current State: 100:[76, 98, 38], Operations: ['71-33=38']
Exploring Operation: 76/38=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 76/38=2
Current State: 100:[98, 2], Operations: ['71-33=38', '76/38=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[33, 71, 76, 98], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [33, 98, 5]
Generated Node #0,0: 100:[33, 98, 5] Operation: 76-71=5
Exploring Operation: 76-33=43, Resulting Numbers: [71, 98, 43]
Generated Node #0,1: 100:[71, 98, 43] Operation: 76-33=43
Exploring Operation: 33+71=104, Resulting Numbers: [76, 98, 104]
Generated Node #0,2: 100:[76, 98, 104] Operation: 33+71=104
Exploring Operation: 98-76=22, Resulting Numbers: [33, 71, 22]
Generated Node #0,3: 100:[33, 71, 22] Operation: 98-76=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[33, 98, 5], Operations: ['76-71=5']
Exploring Operation: 33+5=38, Resulting Numbers: [98, 38]
Generated Node #0,0,0: 100:[98, 38] Operation: 33+5=38
Exploring Operation: 98-33=65, Resulting Numbers: [5, 65]
Generated Node #0,0,1: 100:[5, 65] Operation: 98-33=65
Exploring Operation: 33-5=28, Resulting Numbers: [98, 28]
Generated Node #0,0,2: 100:[98, 28] Operation: 33-5=28
Exploring Operation: 98+5=103, Resulting Numbers: [33, 103]
Generated Node #0,0,3: 100:[33, 103] Operation: 98+5=103
Moving to Node #0,0,2
Current State: 100:[98, 28], Operations: ['76-71=5', '33-5=28']
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,100 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[33, 103], Operations: ['76-71=5', '98+5=103']
Exploring Operation: 33*103=3399, Resulting Numbers: [3399]
3399,100 unequal: No Solution
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 33+103=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[98, 38], Operations: ['76-71=5', '33+5=38']
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,100 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[5, 65], Operations: ['76-71=5', '98-33=65']
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[71, 98, 43], Operations: ['76-33=43']
Exploring Operation: 71-43=28, Resulting Numbers: [98, 28]
Generated Node #0,1,0: 100:[98, 28] Operation: 71-43=28
Exploring Operation: 71+43=114, Resulting Numbers: [98, 114]
Generated Node #0,1,1: 100:[98, 114] Operation: 71+43=114
Exploring Operation: 98-43=55, Resulting Numbers: [71, 55]
Generated Node #0,1,2: 100:[71, 55] Operation: 98-43=55
Exploring Operation: 98-71=27, Resulting Numbers: [43, 27]
Generated Node #0,1,3: 100:[43, 27] Operation: 98-71=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[98, 28], Operations: ['76-33=43', '71-43=28']
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,100 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 100:[43, 27], Operations: ['76-33=43', '98-71=27']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[98, 114], Operations: ['76-33=43', '71+43=114']
Exploring Operation: 114-98=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 98*114=11172, Resulting Numbers: [11172]
11172,100 unequal: No Solution
Exploring Operation: 98+114=212, Resulting Numbers: [212]
212,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[71, 55], Operations: ['76-33=43', '98-43=55']
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,100 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[76, 98, 104], Operations: ['33+71=104']
Exploring Operation: 98-76=22, Resulting Numbers: [104, 22]
Generated Node #0,2,0: 100:[104, 22] Operation: 98-76=22
Exploring Operation: 104-98=6, Resulting Numbers: [76, 6]
Generated Node #0,2,1: 100:[76, 6] Operation: 104-98=6
Exploring Operation: 76+98=174, Resulting Numbers: [104, 174]
Generated Node #0,2,2: 100:[104, 174] Operation: 76+98=174
Exploring Operation: 104-76=28, Resulting Numbers: [98, 28]
Generated Node #0,2,3: 100:[98, 28] Operation: 104-76=28
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[98, 28], Operations: ['33+71=104', '104-76=28']
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,100 unequal: No Solution
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[104, 22], Operations: ['33+71=104', '98-76=22']
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 104*22=2288, Resulting Numbers: [2288]
2288,100 unequal: No Solution
Exploring Operation: 104+22=126, Resulting Numbers: [126]
126,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[76, 6], Operations: ['33+71=104', '104-98=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[104, 174], Operations: ['33+71=104', '76+98=174']
Exploring Operation: 104+174=278, Resulting Numbers: [278]
278,100 unequal: No Solution
Exploring Operation: 104*174=18096, Resulting Numbers: [18096]
18096,100 unequal: No Solution
Exploring Operation: 174-104=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[33, 71, 22], Operations: ['98-76=22']
Exploring Operation: 71-22=49, Resulting Numbers: [33, 49]
Generated Node #0,3,0: 100:[33, 49] Operation: 71-22=49
Exploring Operation: 71+22=93, Resulting Numbers: [33, 93]
Generated Node #0,3,1: 100:[33, 93] Operation: 71+22=93
Exploring Operation: 71-33=38, Resulting Numbers: [22, 38]
Generated Node #0,3,2: 100:[22, 38] Operation: 71-33=38
Exploring Operation: 33+71=104, Resulting Numbers: [22, 104]
Generated Node #0,3,3: 100:[22, 104] Operation: 33+71=104
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 100:[22, 104], Operations: ['98-76=22', '33+71=104']
Exploring Operation: 22+104=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 22*104=2288, Resulting Numbers: [2288]
2288,100 unequal: No Solution
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[33, 49], Operations: ['98-76=22', '71-22=49']
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 33*49=1617, Resulting Numbers: [1617]
1617,100 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[22, 38], Operations: ['98-76=22', '71-33=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,100 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[33, 93], Operations: ['98-76=22', '71+22=93']
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,100 unequal: No Solution
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
88,
44,
73
] | 55 | [
"73-20=53",
"88/44=2",
"53+2=55"
] | Current State: 55:[20, 88, 44, 73], Operations: []
Exploring Operation: 73-20=53, Resulting Numbers: [88, 44, 53]
Generated Node #2: [88, 44, 53] from Operation: 73-20=53
Current State: 55:[88, 44, 53], Operations: ['73-20=53']
Exploring Operation: 88/44=2, Resulting Numbers: [53, 2]
Generated Node #3: [53, 2] from Operation: 88/44=2
Current State: 55:[53, 2], Operations: ['73-20=53', '88/44=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[20, 88, 44, 73], Operations: []
Exploring Operation: 88-44=44, Resulting Numbers: [20, 73, 44]
Generated Node #0,0: 55:[20, 73, 44] Operation: 88-44=44
Exploring Operation: 73-20=53, Resulting Numbers: [88, 44, 53]
Generated Node #0,1: 55:[88, 44, 53] Operation: 73-20=53
Exploring Operation: 88-73=15, Resulting Numbers: [20, 44, 15]
Generated Node #0,2: 55:[20, 44, 15] Operation: 88-73=15
Exploring Operation: 88-20=68, Resulting Numbers: [44, 73, 68]
Generated Node #0,3: 55:[44, 73, 68] Operation: 88-20=68
Exploring Operation: 88/44=2, Resulting Numbers: [20, 73, 2]
Generated Node #0,4: 55:[20, 73, 2] Operation: 88/44=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[20, 44, 15], Operations: ['88-73=15']
Exploring Operation: 44-20=24, Resulting Numbers: [15, 24]
Generated Node #0,2,0: 55:[15, 24] Operation: 44-20=24
Exploring Operation: 44+15=59, Resulting Numbers: [20, 59]
Generated Node #0,2,1: 55:[20, 59] Operation: 44+15=59
Exploring Operation: 44-15=29, Resulting Numbers: [20, 29]
Generated Node #0,2,2: 55:[20, 29] Operation: 44-15=29
Exploring Operation: 20-15=5, Resulting Numbers: [44, 5]
Generated Node #0,2,3: 55:[44, 5] Operation: 20-15=5
Exploring Operation: 20+44=64, Resulting Numbers: [15, 64]
Generated Node #0,2,4: 55:[15, 64] Operation: 20+44=64
Moving to Node #0,2,3
Current State: 55:[44, 5], Operations: ['88-73=15', '20-15=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,55 unequal: No Solution
Moving to Node #0,2,4
Current State: 55:[15, 64], Operations: ['88-73=15', '20+44=64']
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,55 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[20, 59], Operations: ['88-73=15', '44+15=59']
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 20*59=1180, Resulting Numbers: [1180]
1180,55 unequal: No Solution
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[15, 24], Operations: ['88-73=15', '44-20=24']
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,55 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[20, 29], Operations: ['88-73=15', '44-15=29']
Exploring Operation: 20*29=580, Resulting Numbers: [580]
580,55 unequal: No Solution
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[20, 73, 2], Operations: ['88/44=2']
Exploring Operation: 73-2=71, Resulting Numbers: [20, 71]
Generated Node #0,4,0: 55:[20, 71] Operation: 73-2=71
Exploring Operation: 20/2=10, Resulting Numbers: [73, 10]
Generated Node #0,4,1: 55:[73, 10] Operation: 20/2=10
Exploring Operation: 20+2=22, Resulting Numbers: [73, 22]
Generated Node #0,4,2: 55:[73, 22] Operation: 20+2=22
Exploring Operation: 20-2=18, Resulting Numbers: [73, 18]
Generated Node #0,4,3: 55:[73, 18] Operation: 20-2=18
Exploring Operation: 73-20=53, Resulting Numbers: [2, 53]
Generated Node #0,4,4: 55:[2, 53] Operation: 73-20=53
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 55:[2, 53], Operations: ['88/44=2', '73-20=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[20, 88, 44, 73], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [20, 73, 2]
Generated Node #0,4: 55:[20, 73, 2] Operation: 88/44=2
Moving to Node #0,4
Current State: 55:[20, 73, 2], Operations: ['88/44=2']
Exploring Operation: 73-20=53, Resulting Numbers: [2, 53]
Generated Node #0,4,4: 55:[2, 53] Operation: 73-20=53
Moving to Node #0,4,4
Current State: 55:[2, 53], Operations: ['88/44=2', '73-20=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
59,
2,
88,
84
] | 54 | [
"59*2=118",
"88+84=172",
"172-118=54"
] | Current State: 54:[59, 2, 88, 84], Operations: []
Exploring Operation: 59*2=118, Resulting Numbers: [88, 84, 118]
Generated Node #2: [88, 84, 118] from Operation: 59*2=118
Current State: 54:[88, 84, 118], Operations: ['59*2=118']
Exploring Operation: 88+84=172, Resulting Numbers: [118, 172]
Generated Node #3: [118, 172] from Operation: 88+84=172
Current State: 54:[118, 172], Operations: ['59*2=118', '88+84=172']
Exploring Operation: 172-118=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[59, 2, 88, 84], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [59, 2, 4]
Generated Node #0,0: 54:[59, 2, 4] Operation: 88-84=4
Exploring Operation: 88-59=29, Resulting Numbers: [2, 84, 29]
Generated Node #0,1: 54:[2, 84, 29] Operation: 88-59=29
Exploring Operation: 88/2=44, Resulting Numbers: [59, 84, 44]
Generated Node #0,2: 54:[59, 84, 44] Operation: 88/2=44
Exploring Operation: 84-59=25, Resulting Numbers: [2, 88, 25]
Generated Node #0,3: 54:[2, 88, 25] Operation: 84-59=25
Moving to Node #0,0
Current State: 54:[59, 2, 4], Operations: ['88-84=4']
Exploring Operation: 59-4=55, Resulting Numbers: [2, 55]
Generated Node #0,0,0: 54:[2, 55] Operation: 59-4=55
Exploring Operation: 4-2=2, Resulting Numbers: [59, 2]
Generated Node #0,0,1: 54:[59, 2] Operation: 4-2=2
Exploring Operation: 2+4=6, Resulting Numbers: [59, 6]
Generated Node #0,0,2: 54:[59, 6] Operation: 2+4=6
Exploring Operation: 59-2=57, Resulting Numbers: [4, 57]
Generated Node #0,0,3: 54:[4, 57] Operation: 59-2=57
Moving to Node #0,1
Current State: 54:[2, 84, 29], Operations: ['88-59=29']
Exploring Operation: 84-2=82, Resulting Numbers: [29, 82]
Generated Node #0,1,0: 54:[29, 82] Operation: 84-2=82
Exploring Operation: 29-2=27, Resulting Numbers: [84, 27]
Generated Node #0,1,1: 54:[84, 27] Operation: 29-2=27
Exploring Operation: 84-29=55, Resulting Numbers: [2, 55]
Generated Node #0,1,2: 54:[2, 55] Operation: 84-29=55
Exploring Operation: 84/2=42, Resulting Numbers: [29, 42]
Generated Node #0,1,3: 54:[29, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[2, 55], Operations: ['88-59=29', '84-29=55']
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,54 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[29, 42], Operations: ['88-59=29', '84/2=42']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,54 unequal: No Solution
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[29, 82], Operations: ['88-59=29', '84-2=82']
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,54 unequal: No Solution
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,54 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[84, 27], Operations: ['88-59=29', '29-2=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 84+27=111, Resulting Numbers: [111]
111,54 unequal: No Solution
Exploring Operation: 84*27=2268, Resulting Numbers: [2268]
2268,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 54:[2, 88, 25], Operations: ['84-59=25']
Exploring Operation: 2+25=27, Resulting Numbers: [88, 27]
Generated Node #0,3,0: 54:[88, 27] Operation: 2+25=27
Exploring Operation: 88-25=63, Resulting Numbers: [2, 63]
Generated Node #0,3,1: 54:[2, 63] Operation: 88-25=63
Exploring Operation: 88-2=86, Resulting Numbers: [25, 86]
Generated Node #0,3,2: 54:[25, 86] Operation: 88-2=86
Exploring Operation: 88/2=44, Resulting Numbers: [25, 44]
Generated Node #0,3,3: 54:[25, 44] Operation: 88/2=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[2, 63], Operations: ['84-59=25', '88-25=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[25, 44], Operations: ['84-59=25', '88/2=44']
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[88, 27], Operations: ['84-59=25', '2+25=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[25, 86], Operations: ['84-59=25', '88-2=86']
Exploring Operation: 25+86=111, Resulting Numbers: [111]
111,54 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 25*86=2150, Resulting Numbers: [2150]
2150,54 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: 54:[59, 84, 44], Operations: ['88/2=44']
Exploring Operation: 59+44=103, Resulting Numbers: [84, 103]
Generated Node #0,2,0: 54:[84, 103] Operation: 59+44=103
Exploring Operation: 59-44=15, Resulting Numbers: [84, 15]
Generated Node #0,2,1: 54:[84, 15] Operation: 59-44=15
Exploring Operation: 84-59=25, Resulting Numbers: [44, 25]
Generated Node #0,2,2: 54:[44, 25] Operation: 84-59=25
Exploring Operation: 84-44=40, Resulting Numbers: [59, 40]
Generated Node #0,2,3: 54:[59, 40] Operation: 84-44=40
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[44, 25], Operations: ['88/2=44', '84-59=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,54 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[59, 40], Operations: ['88/2=44', '84-44=40']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,54 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[84, 15], Operations: ['88/2=44', '59-44=15']
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 84*15=1260, Resulting Numbers: [1260]
1260,54 unequal: No Solution
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[84, 103], Operations: ['88/2=44', '59+44=103']
Exploring Operation: 84+103=187, Resulting Numbers: [187]
187,54 unequal: No Solution
Exploring Operation: 103-84=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 84*103=8652, Resulting Numbers: [8652]
8652,54 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: 54:[2, 55], Operations: ['88-84=4', '59-4=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[4, 57], Operations: ['88-84=4', '59-2=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,54 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[59, 6], Operations: ['88-84=4', '2+4=6']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[59, 2], Operations: ['88-84=4', '4-2=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,54 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,54 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
33,
44,
6,
29
] | 22 | [
"33-6=27",
"29-27=2",
"44/2=22"
] | Current State: 22:[33, 44, 6, 29], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [44, 29, 27]
Generated Node #2: [44, 29, 27] from Operation: 33-6=27
Current State: 22:[44, 29, 27], Operations: ['33-6=27']
Exploring Operation: 29-27=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 29-27=2
Current State: 22:[44, 2], Operations: ['33-6=27', '29-27=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[33, 44, 6, 29], Operations: []
Exploring Operation: 44-33=11, Resulting Numbers: [6, 29, 11]
Generated Node #0,0: 22:[6, 29, 11] Operation: 44-33=11
Exploring Operation: 44-29=15, Resulting Numbers: [33, 6, 15]
Generated Node #0,1: 22:[33, 6, 15] Operation: 44-29=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[6, 29, 11], Operations: ['44-33=11']
Exploring Operation: 29-6=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 22:[11, 23] Operation: 29-6=23
Exploring Operation: 29-11=18, Resulting Numbers: [6, 18]
Generated Node #0,0,1: 22:[6, 18] Operation: 29-11=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[11, 23], Operations: ['44-33=11', '29-6=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,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,0,1
Current State: 22:[6, 18], Operations: ['44-33=11', '29-11=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,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,1
Current State: 22:[33, 6, 15], Operations: ['44-29=15']
Exploring Operation: 33-15=18, Resulting Numbers: [6, 18]
Generated Node #0,1,0: 22:[6, 18] Operation: 33-15=18
Exploring Operation: 33-6=27, Resulting Numbers: [15, 27]
Generated Node #0,1,1: 22:[15, 27] Operation: 33-6=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[6, 18], Operations: ['44-29=15', '33-15=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,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,1,1
Current State: 22:[15, 27], Operations: ['44-29=15', '33-6=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,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
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.