nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5
values | heuristic stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
[
7,
2,
12,
20
] | 13 | [
"7-2=5",
"20-12=8",
"5+8=13"
] | Current State: 13:[7, 2, 12, 20], Operations: []
Exploring Operation: 7-2=5, Resulting Numbers: [12, 20, 5]
Generated Node #2: [12, 20, 5] from Operation: 7-2=5
Current State: 13:[12, 20, 5], Operations: ['7-2=5']
Exploring Operation: 20-12=8, Resulting Numbers: [5, 8]
Generated Node #3: [5, 8] from Operation: 20-12=8
Current State: 13:[5, 8], Operations: ['7-2=5', '20-12=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[7, 2, 12, 20], Operations: []
Exploring Operation: 7*2=14, Resulting Numbers: [12, 20, 14]
Generated Node #0,0: 13:[12, 20, 14] Operation: 7*2=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[12, 20, 14], Operations: ['7*2=14']
Exploring Operation: 20-12=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 13:[14, 8] Operation: 20-12=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[14, 8], Operations: ['7*2=14', '20-12=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,13 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 |
[
17,
80,
49,
61
] | 47 | [
"80-17=63",
"49+61=110",
"110-63=47"
] | Current State: 47:[17, 80, 49, 61], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [49, 61, 63]
Generated Node #2: [49, 61, 63] from Operation: 80-17=63
Current State: 47:[49, 61, 63], Operations: ['80-17=63']
Exploring Operation: 49+61=110, Resulting Numbers: [63, 110]
Generated Node #3: [63, 110] from Operation: 49+61=110
Current State: 47:[63, 110], Operations: ['80-17=63', '49+61=110']
Exploring Operation: 110-63=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[17, 80, 49, 61], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [49, 61, 63]
Generated Node #0,0: 47:[49, 61, 63] Operation: 80-17=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[49, 61, 63], Operations: ['80-17=63']
Exploring Operation: 63-49=14, Resulting Numbers: [61, 14]
Generated Node #0,0,0: 47:[61, 14] Operation: 63-49=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[61, 14], Operations: ['80-17=63', '63-49=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[17, 80, 49, 61], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [49, 61, 63]
Generated Node #0,0: 47:[49, 61, 63] Operation: 80-17=63
Moving to Node #0,0
Current State: 47:[49, 61, 63], Operations: ['80-17=63']
Exploring Operation: 63-49=14, Resulting Numbers: [61, 14]
Generated Node #0,0,0: 47:[61, 14] Operation: 63-49=14
Moving to Node #0,0,0
Current State: 47:[61, 14], Operations: ['80-17=63', '63-49=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
82,
3,
38,
2
] | 25 | [
"82-38=44",
"44/2=22",
"3+22=25"
] | Current State: 25:[82, 3, 38, 2], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [3, 2, 44]
Generated Node #2: [3, 2, 44] from Operation: 82-38=44
Current State: 25:[3, 2, 44], Operations: ['82-38=44']
Exploring Operation: 44/2=22, Resulting Numbers: [3, 22]
Generated Node #3: [3, 22] from Operation: 44/2=22
Current State: 25:[3, 22], Operations: ['82-38=44', '44/2=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[82, 3, 38, 2], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [3, 2, 44]
Generated Node #0,0: 25:[3, 2, 44] Operation: 82-38=44
Moving to Node #0,0
Current State: 25:[3, 2, 44], Operations: ['82-38=44']
Exploring Operation: 44/2=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 25:[3, 22] Operation: 44/2=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[3, 22], Operations: ['82-38=44', '44/2=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[82, 3, 38, 2], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [3, 2, 44]
Generated Node #0,0: 25:[3, 2, 44] Operation: 82-38=44
Moving to Node #0,0
Current State: 25:[3, 2, 44], Operations: ['82-38=44']
Exploring Operation: 44/2=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 25:[3, 22] Operation: 44/2=22
Moving to Node #0,0,0
Current State: 25:[3, 22], Operations: ['82-38=44', '44/2=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
43,
74,
51,
95
] | 75 | [
"74-43=31",
"95-51=44",
"31+44=75"
] | Current State: 75:[43, 74, 51, 95], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [51, 95, 31]
Generated Node #2: [51, 95, 31] from Operation: 74-43=31
Current State: 75:[51, 95, 31], Operations: ['74-43=31']
Exploring Operation: 95-51=44, Resulting Numbers: [31, 44]
Generated Node #3: [31, 44] from Operation: 95-51=44
Current State: 75:[31, 44], Operations: ['74-43=31', '95-51=44']
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[43, 74, 51, 95], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [74, 95, 8]
Generated Node #0,0: 75:[74, 95, 8] Operation: 51-43=8
Exploring Operation: 95-51=44, Resulting Numbers: [43, 74, 44]
Generated Node #0,1: 75:[43, 74, 44] Operation: 95-51=44
Exploring Operation: 74-51=23, Resulting Numbers: [43, 95, 23]
Generated Node #0,2: 75:[43, 95, 23] Operation: 74-51=23
Exploring Operation: 43+51=94, Resulting Numbers: [74, 95, 94]
Generated Node #0,3: 75:[74, 95, 94] Operation: 43+51=94
Moving to Node #0,0
Current State: 75:[74, 95, 8], Operations: ['51-43=8']
Exploring Operation: 74-8=66, Resulting Numbers: [95, 66]
Generated Node #0,0,0: 75:[95, 66] Operation: 74-8=66
Exploring Operation: 95-74=21, Resulting Numbers: [8, 21]
Generated Node #0,0,1: 75:[8, 21] Operation: 95-74=21
Exploring Operation: 95-8=87, Resulting Numbers: [74, 87]
Generated Node #0,0,2: 75:[74, 87] Operation: 95-8=87
Exploring Operation: 74+8=82, Resulting Numbers: [95, 82]
Generated Node #0,0,3: 75:[95, 82] Operation: 74+8=82
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[8, 21], Operations: ['51-43=8', '95-74=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[74, 87], Operations: ['51-43=8', '95-8=87']
Exploring Operation: 74*87=6438, Resulting Numbers: [6438]
6438,75 unequal: No Solution
Exploring Operation: 74+87=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[95, 82], Operations: ['51-43=8', '74+8=82']
Exploring Operation: 95+82=177, Resulting Numbers: [177]
177,75 unequal: No Solution
Exploring Operation: 95-82=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 95*82=7790, Resulting Numbers: [7790]
7790,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[95, 66], Operations: ['51-43=8', '74-8=66']
Exploring Operation: 95*66=6270, Resulting Numbers: [6270]
6270,75 unequal: No Solution
Exploring Operation: 95+66=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,75 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: 75:[43, 74, 44], Operations: ['95-51=44']
Exploring Operation: 74-44=30, Resulting Numbers: [43, 30]
Generated Node #0,1,0: 75:[43, 30] Operation: 74-44=30
Exploring Operation: 74-43=31, Resulting Numbers: [44, 31]
Generated Node #0,1,1: 75:[44, 31] Operation: 74-43=31
Exploring Operation: 43+44=87, Resulting Numbers: [74, 87]
Generated Node #0,1,2: 75:[74, 87] Operation: 43+44=87
Exploring Operation: 44-43=1, Resulting Numbers: [74, 1]
Generated Node #0,1,3: 75:[74, 1] Operation: 44-43=1
Moving to Node #0,3
Current State: 75:[74, 95, 94], Operations: ['43+51=94']
Exploring Operation: 95-74=21, Resulting Numbers: [94, 21]
Generated Node #0,3,0: 75:[94, 21] Operation: 95-74=21
Exploring Operation: 94-74=20, Resulting Numbers: [95, 20]
Generated Node #0,3,1: 75:[95, 20] Operation: 94-74=20
Exploring Operation: 74+95=169, Resulting Numbers: [94, 169]
Generated Node #0,3,2: 75:[94, 169] Operation: 74+95=169
Exploring Operation: 95-94=1, Resulting Numbers: [74, 1]
Generated Node #0,3,3: 75:[74, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[74, 1], Operations: ['43+51=94', '95-94=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,75 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[43, 74, 51, 95], Operations: []
Exploring Operation: 43+51=94, Resulting Numbers: [74, 95, 94]
Generated Node #0,3: 75:[74, 95, 94] Operation: 43+51=94
Moving to Node #0,3
Current State: 75:[74, 95, 94], Operations: ['43+51=94']
Exploring Operation: 95-94=1, Resulting Numbers: [74, 1]
Generated Node #0,3,3: 75:[74, 1] Operation: 95-94=1
Moving to Node #0,3,3
Current State: 75:[74, 1], Operations: ['43+51=94', '95-94=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
86,
36,
90,
48
] | 80 | [
"86+36=122",
"90-48=42",
"122-42=80"
] | Current State: 80:[86, 36, 90, 48], Operations: []
Exploring Operation: 86+36=122, Resulting Numbers: [90, 48, 122]
Generated Node #2: [90, 48, 122] from Operation: 86+36=122
Current State: 80:[90, 48, 122], Operations: ['86+36=122']
Exploring Operation: 90-48=42, Resulting Numbers: [122, 42]
Generated Node #3: [122, 42] from Operation: 90-48=42
Current State: 80:[122, 42], Operations: ['86+36=122', '90-48=42']
Exploring Operation: 122-42=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[86, 36, 90, 48], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [86, 36, 42]
Generated Node #0,0: 80:[86, 36, 42] Operation: 90-48=42
Exploring Operation: 90-86=4, Resulting Numbers: [36, 48, 4]
Generated Node #0,1: 80:[36, 48, 4] Operation: 90-86=4
Exploring Operation: 86-48=38, Resulting Numbers: [36, 90, 38]
Generated Node #0,2: 80:[36, 90, 38] Operation: 86-48=38
Exploring Operation: 48-36=12, Resulting Numbers: [86, 90, 12]
Generated Node #0,3: 80:[86, 90, 12] Operation: 48-36=12
Exploring Operation: 36+48=84, Resulting Numbers: [86, 90, 84]
Generated Node #0,4: 80:[86, 90, 84] Operation: 36+48=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[86, 36, 42], Operations: ['90-48=42']
Exploring Operation: 86-36=50, Resulting Numbers: [42, 50]
Generated Node #0,0,0: 80:[42, 50] Operation: 86-36=50
Exploring Operation: 86-42=44, Resulting Numbers: [36, 44]
Generated Node #0,0,1: 80:[36, 44] Operation: 86-42=44
Exploring Operation: 36+42=78, Resulting Numbers: [86, 78]
Generated Node #0,0,2: 80:[86, 78] Operation: 36+42=78
Exploring Operation: 86+36=122, Resulting Numbers: [42, 122]
Generated Node #0,0,3: 80:[42, 122] Operation: 86+36=122
Exploring Operation: 42-36=6, Resulting Numbers: [86, 6]
Generated Node #0,0,4: 80:[86, 6] Operation: 42-36=6
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 80:[86, 6], Operations: ['90-48=42', '42-36=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,80 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[86, 36, 90, 48], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [86, 36, 42]
Generated Node #0,0: 80:[86, 36, 42] Operation: 90-48=42
Moving to Node #0,0
Current State: 80:[86, 36, 42], Operations: ['90-48=42']
Exploring Operation: 42-36=6, Resulting Numbers: [86, 6]
Generated Node #0,0,4: 80:[86, 6] Operation: 42-36=6
Moving to Node #0,0,4
Current State: 80:[86, 6], Operations: ['90-48=42', '42-36=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
21,
84,
16,
56
] | 45 | [
"84*16=1344",
"1344/56=24",
"21+24=45"
] | Current State: 45:[21, 84, 16, 56], Operations: []
Exploring Operation: 84*16=1344, Resulting Numbers: [21, 56, 1344]
Generated Node #2: [21, 56, 1344] from Operation: 84*16=1344
Current State: 45:[21, 56, 1344], Operations: ['84*16=1344']
Exploring Operation: 1344/56=24, Resulting Numbers: [21, 24]
Generated Node #3: [21, 24] from Operation: 1344/56=24
Current State: 45:[21, 24], Operations: ['84*16=1344', '1344/56=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[21, 84, 16, 56], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [16, 56, 4]
Generated Node #0,0: 45:[16, 56, 4] Operation: 84/21=4
Exploring Operation: 84-56=28, Resulting Numbers: [21, 16, 28]
Generated Node #0,1: 45:[21, 16, 28] Operation: 84-56=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[16, 56, 4], Operations: ['84/21=4']
Exploring Operation: 56-16=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 45:[4, 40] Operation: 56-16=40
Exploring Operation: 56/4=14, Resulting Numbers: [16, 14]
Generated Node #0,0,1: 45:[16, 14] Operation: 56/4=14
Moving to Node #0,0,1
Current State: 45:[16, 14], Operations: ['84/21=4', '56/4=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[4, 40], Operations: ['84/21=4', '56-16=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[21, 16, 28], Operations: ['84-56=28']
Exploring Operation: 21+28=49, Resulting Numbers: [16, 49]
Generated Node #0,1,0: 45:[16, 49] Operation: 21+28=49
Exploring Operation: 28-21=7, Resulting Numbers: [16, 7]
Generated Node #0,1,1: 45:[16, 7] Operation: 28-21=7
Moving to Node #0,1,1
Current State: 45:[16, 7], Operations: ['84-56=28', '28-21=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[16, 49], Operations: ['84-56=28', '21+28=49']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 16+49=65, Resulting Numbers: [65]
65,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
73,
72,
68,
49
] | 18 | [
"73-72=1",
"68-49=19",
"19-1=18"
] | Current State: 18:[73, 72, 68, 49], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [68, 49, 1]
Generated Node #2: [68, 49, 1] from Operation: 73-72=1
Current State: 18:[68, 49, 1], Operations: ['73-72=1']
Exploring Operation: 68-49=19, Resulting Numbers: [1, 19]
Generated Node #3: [1, 19] from Operation: 68-49=19
Current State: 18:[1, 19], Operations: ['73-72=1', '68-49=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[73, 72, 68, 49], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [73, 49, 4]
Generated Node #0,0: 18:[73, 49, 4] Operation: 72-68=4
Exploring Operation: 73-49=24, Resulting Numbers: [72, 68, 24]
Generated Node #0,1: 18:[72, 68, 24] Operation: 73-49=24
Exploring Operation: 73-72=1, Resulting Numbers: [68, 49, 1]
Generated Node #0,2: 18:[68, 49, 1] Operation: 73-72=1
Exploring Operation: 73-68=5, Resulting Numbers: [72, 49, 5]
Generated Node #0,3: 18:[72, 49, 5] Operation: 73-68=5
Moving to Node #0,2
Current State: 18:[68, 49, 1], Operations: ['73-72=1']
Exploring Operation: 68-49=19, Resulting Numbers: [1, 19]
Generated Node #0,2,0: 18:[1, 19] Operation: 68-49=19
Exploring Operation: 49-1=48, Resulting Numbers: [68, 48]
Generated Node #0,2,1: 18:[68, 48] Operation: 49-1=48
Exploring Operation: 68*1=68, Resulting Numbers: [49, 68]
Generated Node #0,2,2: 18:[49, 68] Operation: 68*1=68
Exploring Operation: 68-1=67, Resulting Numbers: [49, 67]
Generated Node #0,2,3: 18:[49, 67] Operation: 68-1=67
Moving to Node #0,3
Current State: 18:[72, 49, 5], Operations: ['73-68=5']
Exploring Operation: 49-5=44, Resulting Numbers: [72, 44]
Generated Node #0,3,0: 18:[72, 44] Operation: 49-5=44
Exploring Operation: 72+5=77, Resulting Numbers: [49, 77]
Generated Node #0,3,1: 18:[49, 77] Operation: 72+5=77
Exploring Operation: 72-49=23, Resulting Numbers: [5, 23]
Generated Node #0,3,2: 18:[5, 23] Operation: 72-49=23
Exploring Operation: 72-5=67, Resulting Numbers: [49, 67]
Generated Node #0,3,3: 18:[49, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[5, 23], Operations: ['73-68=5', '72-49=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,18 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[73, 72, 68, 49], Operations: []
Exploring Operation: 73-68=5, Resulting Numbers: [72, 49, 5]
Generated Node #0,3: 18:[72, 49, 5] Operation: 73-68=5
Moving to Node #0,3
Current State: 18:[72, 49, 5], Operations: ['73-68=5']
Exploring Operation: 72-49=23, Resulting Numbers: [5, 23]
Generated Node #0,3,2: 18:[5, 23] Operation: 72-49=23
Moving to Node #0,3,2
Current State: 18:[5, 23], Operations: ['73-68=5', '72-49=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
51,
58,
45,
90
] | 80 | [
"58*45=2610",
"2610/90=29",
"51+29=80"
] | Current State: 80:[51, 58, 45, 90], Operations: []
Exploring Operation: 58*45=2610, Resulting Numbers: [51, 90, 2610]
Generated Node #2: [51, 90, 2610] from Operation: 58*45=2610
Current State: 80:[51, 90, 2610], Operations: ['58*45=2610']
Exploring Operation: 2610/90=29, Resulting Numbers: [51, 29]
Generated Node #3: [51, 29] from Operation: 2610/90=29
Current State: 80:[51, 29], Operations: ['58*45=2610', '2610/90=29']
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[51, 58, 45, 90], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [45, 90, 7]
Generated Node #0,0: 80:[45, 90, 7] Operation: 58-51=7
Exploring Operation: 58-45=13, Resulting Numbers: [51, 90, 13]
Generated Node #0,1: 80:[51, 90, 13] Operation: 58-45=13
Exploring Operation: 90-51=39, Resulting Numbers: [58, 45, 39]
Generated Node #0,2: 80:[58, 45, 39] Operation: 90-51=39
Exploring Operation: 90-58=32, Resulting Numbers: [51, 45, 32]
Generated Node #0,3: 80:[51, 45, 32] Operation: 90-58=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[45, 90, 7], Operations: ['58-51=7']
Exploring Operation: 90-45=45, Resulting Numbers: [7, 45]
Generated Node #0,0,0: 80:[7, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 80:[7, 2] Operation: 90/45=2
Exploring Operation: 90-7=83, Resulting Numbers: [45, 83]
Generated Node #0,0,2: 80:[45, 83] Operation: 90-7=83
Exploring Operation: 45-7=38, Resulting Numbers: [90, 38]
Generated Node #0,0,3: 80:[90, 38] Operation: 45-7=38
Moving to Node #0,0,1
Current State: 80:[7, 2], Operations: ['58-51=7', '90/45=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[7, 45], Operations: ['58-51=7', '90-45=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,80 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[45, 83], Operations: ['58-51=7', '90-7=83']
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,80 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[90, 38], Operations: ['58-51=7', '45-7=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[51, 90, 13], Operations: ['58-45=13']
Exploring Operation: 51+13=64, Resulting Numbers: [90, 64]
Generated Node #0,1,0: 80:[90, 64] Operation: 51+13=64
Exploring Operation: 90-51=39, Resulting Numbers: [13, 39]
Generated Node #0,1,1: 80:[13, 39] Operation: 90-51=39
Exploring Operation: 51-13=38, Resulting Numbers: [90, 38]
Generated Node #0,1,2: 80:[90, 38] Operation: 51-13=38
Exploring Operation: 90-13=77, Resulting Numbers: [51, 77]
Generated Node #0,1,3: 80:[51, 77] Operation: 90-13=77
Moving to Node #0,1,1
Current State: 80:[13, 39], Operations: ['58-45=13', '90-51=39']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[90, 38], Operations: ['58-45=13', '51-13=38']
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,80 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[51, 77], Operations: ['58-45=13', '90-13=77']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 51*77=3927, Resulting Numbers: [3927]
3927,80 unequal: No Solution
Exploring Operation: 51+77=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[90, 64], Operations: ['58-45=13', '51+13=64']
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,80 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[58, 45, 39], Operations: ['90-51=39']
Exploring Operation: 58+39=97, Resulting Numbers: [45, 97]
Generated Node #0,2,0: 80:[45, 97] Operation: 58+39=97
Exploring Operation: 45-39=6, Resulting Numbers: [58, 6]
Generated Node #0,2,1: 80:[58, 6] Operation: 45-39=6
Exploring Operation: 58-39=19, Resulting Numbers: [45, 19]
Generated Node #0,2,2: 80:[45, 19] Operation: 58-39=19
Exploring Operation: 58-45=13, Resulting Numbers: [39, 13]
Generated Node #0,2,3: 80:[39, 13] Operation: 58-45=13
Moving to Node #0,2,3
Current State: 80:[39, 13], Operations: ['90-51=39', '58-45=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,80 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[45, 19], Operations: ['90-51=39', '58-39=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,80 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[58, 6], Operations: ['90-51=39', '45-39=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[45, 97], Operations: ['90-51=39', '58+39=97']
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,80 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[51, 45, 32], Operations: ['90-58=32']
Exploring Operation: 51-45=6, Resulting Numbers: [32, 6]
Generated Node #0,3,0: 80:[32, 6] Operation: 51-45=6
Exploring Operation: 45+32=77, Resulting Numbers: [51, 77]
Generated Node #0,3,1: 80:[51, 77] Operation: 45+32=77
Exploring Operation: 51-32=19, Resulting Numbers: [45, 19]
Generated Node #0,3,2: 80:[45, 19] Operation: 51-32=19
Exploring Operation: 51+32=83, Resulting Numbers: [45, 83]
Generated Node #0,3,3: 80:[45, 83] Operation: 51+32=83
Moving to Node #0,3,2
Current State: 80:[45, 19], Operations: ['90-58=32', '51-32=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[45, 83], Operations: ['90-58=32', '51+32=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,80 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[32, 6], Operations: ['90-58=32', '51-45=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[51, 77], Operations: ['90-58=32', '45+32=77']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 51+77=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 51*77=3927, Resulting Numbers: [3927]
3927,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
5,
33,
92
] | 25 | [
"25/5=5",
"33+92=125",
"125/5=25"
] | Current State: 25:[25, 5, 33, 92], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [33, 92, 5]
Generated Node #2: [33, 92, 5] from Operation: 25/5=5
Current State: 25:[33, 92, 5], Operations: ['25/5=5']
Exploring Operation: 33+92=125, Resulting Numbers: [5, 125]
Generated Node #3: [5, 125] from Operation: 33+92=125
Current State: 25:[5, 125], Operations: ['25/5=5', '33+92=125']
Exploring Operation: 125/5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 5, 33, 92], Operations: []
Exploring Operation: 92-5=87, Resulting Numbers: [25, 33, 87]
Generated Node #0,0: 25:[25, 33, 87] Operation: 92-5=87
Exploring Operation: 33-25=8, Resulting Numbers: [5, 92, 8]
Generated Node #0,1: 25:[5, 92, 8] Operation: 33-25=8
Exploring Operation: 33-5=28, Resulting Numbers: [25, 92, 28]
Generated Node #0,2: 25:[25, 92, 28] Operation: 33-5=28
Exploring Operation: 92-25=67, Resulting Numbers: [5, 33, 67]
Generated Node #0,3: 25:[5, 33, 67] Operation: 92-25=67
Exploring Operation: 92-33=59, Resulting Numbers: [25, 5, 59]
Generated Node #0,4: 25:[25, 5, 59] Operation: 92-33=59
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[25, 5, 59], Operations: ['92-33=59']
Exploring Operation: 25-5=20, Resulting Numbers: [59, 20]
Generated Node #0,4,0: 25:[59, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [59, 5]
Generated Node #0,4,1: 25:[59, 5] Operation: 25/5=5
Exploring Operation: 59-25=34, Resulting Numbers: [5, 34]
Generated Node #0,4,2: 25:[5, 34] Operation: 59-25=34
Exploring Operation: 59-5=54, Resulting Numbers: [25, 54]
Generated Node #0,4,3: 25:[25, 54] Operation: 59-5=54
Exploring Operation: 25+5=30, Resulting Numbers: [59, 30]
Generated Node #0,4,4: 25:[59, 30] Operation: 25+5=30
Moving to Node #0,4,2
Current State: 25:[5, 34], Operations: ['92-33=59', '59-25=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[25, 54], Operations: ['92-33=59', '59-5=54']
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,25 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[59, 5], Operations: ['92-33=59', '25/5=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,25 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[59, 20], Operations: ['92-33=59', '25-5=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 59*20=1180, Resulting Numbers: [1180]
1180,25 unequal: No Solution
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[59, 30], Operations: ['92-33=59', '25+5=30']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,25 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,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,3
Current State: 25:[5, 33, 67], Operations: ['92-25=67']
Exploring Operation: 33-5=28, Resulting Numbers: [67, 28]
Generated Node #0,3,0: 25:[67, 28] Operation: 33-5=28
Exploring Operation: 5+67=72, Resulting Numbers: [33, 72]
Generated Node #0,3,1: 25:[33, 72] Operation: 5+67=72
Exploring Operation: 67-5=62, Resulting Numbers: [33, 62]
Generated Node #0,3,2: 25:[33, 62] Operation: 67-5=62
Exploring Operation: 5+33=38, Resulting Numbers: [67, 38]
Generated Node #0,3,3: 25:[67, 38] Operation: 5+33=38
Exploring Operation: 67-33=34, Resulting Numbers: [5, 34]
Generated Node #0,3,4: 25:[5, 34] Operation: 67-33=34
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 25:[5, 34], Operations: ['92-25=67', '67-33=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,25 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,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,3,0
Current State: 25:[67, 28], Operations: ['92-25=67', '33-5=28']
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,25 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,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,3,2
Current State: 25:[33, 62], Operations: ['92-25=67', '67-5=62']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 33*62=2046, Resulting Numbers: [2046]
2046,25 unequal: No Solution
Exploring Operation: 33+62=95, Resulting Numbers: [95]
95,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,3,1
Current State: 25:[33, 72], Operations: ['92-25=67', '5+67=72']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 33*72=2376, Resulting Numbers: [2376]
2376,25 unequal: No Solution
Exploring Operation: 33+72=105, Resulting Numbers: [105]
105,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,3,3
Current State: 25:[67, 38], Operations: ['92-25=67', '5+33=38']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,25 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[25, 33, 87], Operations: ['92-5=87']
Exploring Operation: 25+87=112, Resulting Numbers: [33, 112]
Generated Node #0,0,0: 25:[33, 112] Operation: 25+87=112
Exploring Operation: 87-33=54, Resulting Numbers: [25, 54]
Generated Node #0,0,1: 25:[25, 54] Operation: 87-33=54
Exploring Operation: 25+33=58, Resulting Numbers: [87, 58]
Generated Node #0,0,2: 25:[87, 58] Operation: 25+33=58
Exploring Operation: 87-25=62, Resulting Numbers: [33, 62]
Generated Node #0,0,3: 25:[33, 62] Operation: 87-25=62
Exploring Operation: 33-25=8, Resulting Numbers: [87, 8]
Generated Node #0,0,4: 25:[87, 8] Operation: 33-25=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[25, 54], Operations: ['92-5=87', '87-33=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,25 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,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:[33, 62], Operations: ['92-5=87', '87-25=62']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 33*62=2046, Resulting Numbers: [2046]
2046,25 unequal: No Solution
Exploring Operation: 33+62=95, Resulting Numbers: [95]
95,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,4
Current State: 25:[87, 8], Operations: ['92-5=87', '33-25=8']
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,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,0
Current State: 25:[33, 112], Operations: ['92-5=87', '25+87=112']
Exploring Operation: 33*112=3696, Resulting Numbers: [3696]
3696,25 unequal: No Solution
Exploring Operation: 33+112=145, Resulting Numbers: [145]
145,25 unequal: No Solution
Exploring Operation: 112-33=79, Resulting Numbers: [79]
79,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:[87, 58], Operations: ['92-5=87', '25+33=58']
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 87+58=145, Resulting Numbers: [145]
145,25 unequal: No Solution
Exploring Operation: 87*58=5046, Resulting Numbers: [5046]
5046,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,1
Current State: 25:[5, 92, 8], Operations: ['33-25=8']
Exploring Operation: 5+8=13, Resulting Numbers: [92, 13]
Generated Node #0,1,0: 25:[92, 13] Operation: 5+8=13
Exploring Operation: 8-5=3, Resulting Numbers: [92, 3]
Generated Node #0,1,1: 25:[92, 3] Operation: 8-5=3
Exploring Operation: 92-8=84, Resulting Numbers: [5, 84]
Generated Node #0,1,2: 25:[5, 84] Operation: 92-8=84
Exploring Operation: 5+92=97, Resulting Numbers: [8, 97]
Generated Node #0,1,3: 25:[8, 97] Operation: 5+92=97
Exploring Operation: 92-5=87, Resulting Numbers: [8, 87]
Generated Node #0,1,4: 25:[8, 87] Operation: 92-5=87
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[5, 84], Operations: ['33-25=8', '92-8=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,25 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,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,4
Current State: 25:[8, 87], Operations: ['33-25=8', '92-5=87']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 8+87=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Exploring Operation: 8*87=696, Resulting Numbers: [696]
696,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:[92, 3], Operations: ['33-25=8', '8-5=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,25 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,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:[92, 13], Operations: ['33-25=8', '5+8=13']
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,25 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,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,3
Current State: 25:[8, 97], Operations: ['33-25=8', '5+92=97']
Exploring Operation: 8+97=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,25 unequal: No Solution
Exploring Operation: 8*97=776, Resulting Numbers: [776]
776,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:[25, 92, 28], Operations: ['33-5=28']
Exploring Operation: 92-25=67, Resulting Numbers: [28, 67]
Generated Node #0,2,0: 25:[28, 67] Operation: 92-25=67
Exploring Operation: 25+28=53, Resulting Numbers: [92, 53]
Generated Node #0,2,1: 25:[92, 53] Operation: 25+28=53
Exploring Operation: 25+92=117, Resulting Numbers: [28, 117]
Generated Node #0,2,2: 25:[28, 117] Operation: 25+92=117
Exploring Operation: 28-25=3, Resulting Numbers: [92, 3]
Generated Node #0,2,3: 25:[92, 3] Operation: 28-25=3
Exploring Operation: 92-28=64, Resulting Numbers: [25, 64]
Generated Node #0,2,4: 25:[25, 64] Operation: 92-28=64
Moving to Node #0,2,4
Current State: 25:[25, 64], Operations: ['33-5=28', '92-28=64']
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,25 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[28, 67], Operations: ['33-5=28', '92-25=67']
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,25 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[92, 3], Operations: ['33-5=28', '28-25=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,25 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,25 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[92, 53], Operations: ['33-5=28', '25+28=53']
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 92+53=145, Resulting Numbers: [145]
145,25 unequal: No Solution
Exploring Operation: 92*53=4876, Resulting Numbers: [4876]
4876,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[28, 117], Operations: ['33-5=28', '25+92=117']
Exploring Operation: 28*117=3276, Resulting Numbers: [3276]
3276,25 unequal: No Solution
Exploring Operation: 117-28=89, Resulting Numbers: [89]
89,25 unequal: No Solution
Exploring Operation: 28+117=145, Resulting Numbers: [145]
145,25 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 |
[
24,
44,
57,
78
] | 47 | [
"24+44=68",
"78-57=21",
"68-21=47"
] | Current State: 47:[24, 44, 57, 78], Operations: []
Exploring Operation: 24+44=68, Resulting Numbers: [57, 78, 68]
Generated Node #2: [57, 78, 68] from Operation: 24+44=68
Current State: 47:[57, 78, 68], Operations: ['24+44=68']
Exploring Operation: 78-57=21, Resulting Numbers: [68, 21]
Generated Node #3: [68, 21] from Operation: 78-57=21
Current State: 47:[68, 21], Operations: ['24+44=68', '78-57=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[24, 44, 57, 78], Operations: []
Exploring Operation: 78-44=34, Resulting Numbers: [24, 57, 34]
Generated Node #0,0: 47:[24, 57, 34] Operation: 78-44=34
Exploring Operation: 57-24=33, Resulting Numbers: [44, 78, 33]
Generated Node #0,1: 47:[44, 78, 33] Operation: 57-24=33
Exploring Operation: 78-24=54, Resulting Numbers: [44, 57, 54]
Generated Node #0,2: 47:[44, 57, 54] Operation: 78-24=54
Moving to Node #0,2
Current State: 47:[44, 57, 54], Operations: ['78-24=54']
Exploring Operation: 57-44=13, Resulting Numbers: [54, 13]
Generated Node #0,2,0: 47:[54, 13] Operation: 57-44=13
Exploring Operation: 57-54=3, Resulting Numbers: [44, 3]
Generated Node #0,2,1: 47:[44, 3] Operation: 57-54=3
Exploring Operation: 54-44=10, Resulting Numbers: [57, 10]
Generated Node #0,2,2: 47:[57, 10] Operation: 54-44=10
Moving to Node #0,0
Current State: 47:[24, 57, 34], Operations: ['78-44=34']
Exploring Operation: 57-24=33, Resulting Numbers: [34, 33]
Generated Node #0,0,0: 47:[34, 33] Operation: 57-24=33
Exploring Operation: 24+34=58, Resulting Numbers: [57, 58]
Generated Node #0,0,1: 47:[57, 58] Operation: 24+34=58
Exploring Operation: 24+57=81, Resulting Numbers: [34, 81]
Generated Node #0,0,2: 47:[34, 81] Operation: 24+57=81
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[57, 58], Operations: ['78-44=34', '24+34=58']
Exploring Operation: 57+58=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 57*58=3306, Resulting Numbers: [3306]
3306,47 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[34, 33], Operations: ['78-44=34', '57-24=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[34, 81], Operations: ['78-44=34', '24+57=81']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[24, 44, 57, 78], Operations: []
Exploring Operation: 78-44=34, Resulting Numbers: [24, 57, 34]
Generated Node #0,0: 47:[24, 57, 34] Operation: 78-44=34
Moving to Node #0,0
Current State: 47:[24, 57, 34], Operations: ['78-44=34']
Exploring Operation: 24+57=81, Resulting Numbers: [34, 81]
Generated Node #0,0,2: 47:[34, 81] Operation: 24+57=81
Moving to Node #0,0,2
Current State: 47:[34, 81], Operations: ['78-44=34', '24+57=81']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | sum_heuristic |
[
52,
63,
99,
33
] | 73 | [
"63*33=2079",
"2079/99=21",
"52+21=73"
] | Current State: 73:[52, 63, 99, 33], Operations: []
Exploring Operation: 63*33=2079, Resulting Numbers: [52, 99, 2079]
Generated Node #2: [52, 99, 2079] from Operation: 63*33=2079
Current State: 73:[52, 99, 2079], Operations: ['63*33=2079']
Exploring Operation: 2079/99=21, Resulting Numbers: [52, 21]
Generated Node #3: [52, 21] from Operation: 2079/99=21
Current State: 73:[52, 21], Operations: ['63*33=2079', '2079/99=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[52, 63, 99, 33], Operations: []
Exploring Operation: 52+33=85, Resulting Numbers: [63, 99, 85]
Generated Node #0,0: 73:[63, 99, 85] Operation: 52+33=85
Exploring Operation: 99-33=66, Resulting Numbers: [52, 63, 66]
Generated Node #0,1: 73:[52, 63, 66] Operation: 99-33=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[52, 63, 66], Operations: ['99-33=66']
Exploring Operation: 52+63=115, Resulting Numbers: [66, 115]
Generated Node #0,1,0: 73:[66, 115] Operation: 52+63=115
Exploring Operation: 52+66=118, Resulting Numbers: [63, 118]
Generated Node #0,1,1: 73:[63, 118] Operation: 52+66=118
Moving to Node #0,1,0
Current State: 73:[66, 115], Operations: ['99-33=66', '52+63=115']
Exploring Operation: 115-66=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 66+115=181, Resulting Numbers: [181]
181,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[63, 118], Operations: ['99-33=66', '52+66=118']
Exploring Operation: 118-63=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 63+118=181, Resulting Numbers: [181]
181,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
Current State: 73:[63, 99, 85], Operations: ['52+33=85']
Exploring Operation: 99-63=36, Resulting Numbers: [85, 36]
Generated Node #0,0,0: 73:[85, 36] Operation: 99-63=36
Exploring Operation: 99-85=14, Resulting Numbers: [63, 14]
Generated Node #0,0,1: 73:[63, 14] Operation: 99-85=14
Moving to Node #0,0,0
Current State: 73:[85, 36], Operations: ['52+33=85', '99-63=36']
Exploring Operation: 85+36=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[63, 14], Operations: ['52+33=85', '99-85=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,73 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 |
[
80,
44,
40,
15
] | 11 | [
"80-44=36",
"40-15=25",
"36-25=11"
] | Current State: 11:[80, 44, 40, 15], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [40, 15, 36]
Generated Node #2: [40, 15, 36] from Operation: 80-44=36
Current State: 11:[40, 15, 36], Operations: ['80-44=36']
Exploring Operation: 40-15=25, Resulting Numbers: [36, 25]
Generated Node #3: [36, 25] from Operation: 40-15=25
Current State: 11:[36, 25], Operations: ['80-44=36', '40-15=25']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[80, 44, 40, 15], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [40, 15, 36]
Generated Node #0,0: 11:[40, 15, 36] Operation: 80-44=36
Exploring Operation: 80/40=2, Resulting Numbers: [44, 15, 2]
Generated Node #0,1: 11:[44, 15, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [44, 15, 40]
Generated Node #0,2: 11:[44, 15, 40] Operation: 80-40=40
Moving to Node #0,1
Current State: 11:[44, 15, 2], Operations: ['80/40=2']
Exploring Operation: 44-2=42, Resulting Numbers: [15, 42]
Generated Node #0,1,0: 11:[15, 42] Operation: 44-2=42
Exploring Operation: 44-15=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 11:[2, 29] Operation: 44-15=29
Exploring Operation: 44/2=22, Resulting Numbers: [15, 22]
Generated Node #0,1,2: 11:[15, 22] Operation: 44/2=22
Moving to Node #0,0
Current State: 11:[40, 15, 36], Operations: ['80-44=36']
Exploring Operation: 36-15=21, Resulting Numbers: [40, 21]
Generated Node #0,0,0: 11:[40, 21] Operation: 36-15=21
Exploring Operation: 40-36=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 11:[15, 4] Operation: 40-36=4
Exploring Operation: 40-15=25, Resulting Numbers: [36, 25]
Generated Node #0,0,2: 11:[36, 25] Operation: 40-15=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[15, 4], Operations: ['80-44=36', '40-36=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[80, 44, 40, 15], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [40, 15, 36]
Generated Node #0,0: 11:[40, 15, 36] Operation: 80-44=36
Moving to Node #0,0
Current State: 11:[40, 15, 36], Operations: ['80-44=36']
Exploring Operation: 40-36=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 11:[15, 4] Operation: 40-36=4
Moving to Node #0,0,1
Current State: 11:[15, 4], Operations: ['80-44=36', '40-36=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
74,
67,
76,
64
] | 94 | [
"74*67=4958",
"76*64=4864",
"4958-4864=94"
] | Current State: 94:[74, 67, 76, 64], Operations: []
Exploring Operation: 74*67=4958, Resulting Numbers: [76, 64, 4958]
Generated Node #2: [76, 64, 4958] from Operation: 74*67=4958
Current State: 94:[76, 64, 4958], Operations: ['74*67=4958']
Exploring Operation: 76*64=4864, Resulting Numbers: [4958, 4864]
Generated Node #3: [4958, 4864] from Operation: 76*64=4864
Current State: 94:[4958, 4864], Operations: ['74*67=4958', '76*64=4864']
Exploring Operation: 4958-4864=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[74, 67, 76, 64], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [74, 76, 3]
Generated Node #0,0: 94:[74, 76, 3] Operation: 67-64=3
Exploring Operation: 76-74=2, Resulting Numbers: [67, 64, 2]
Generated Node #0,1: 94:[67, 64, 2] Operation: 76-74=2
Exploring Operation: 74-67=7, Resulting Numbers: [76, 64, 7]
Generated Node #0,2: 94:[76, 64, 7] Operation: 74-67=7
Exploring Operation: 76-67=9, Resulting Numbers: [74, 64, 9]
Generated Node #0,3: 94:[74, 64, 9] Operation: 76-67=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[67, 64, 2], Operations: ['76-74=2']
Exploring Operation: 64/2=32, Resulting Numbers: [67, 32]
Generated Node #0,1,0: 94:[67, 32] Operation: 64/2=32
Exploring Operation: 67-2=65, Resulting Numbers: [64, 65]
Generated Node #0,1,1: 94:[64, 65] Operation: 67-2=65
Exploring Operation: 67-64=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 94:[2, 3] Operation: 67-64=3
Exploring Operation: 64-2=62, Resulting Numbers: [67, 62]
Generated Node #0,1,3: 94:[67, 62] Operation: 64-2=62
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[2, 3], Operations: ['76-74=2', '67-64=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No 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: 94:[67, 32], Operations: ['76-74=2', '64/2=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,94 unequal: No Solution
No 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: 94:[64, 65], Operations: ['76-74=2', '67-2=65']
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,94 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,94 unequal: No Solution
No 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: 94:[67, 62], Operations: ['76-74=2', '64-2=62']
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,94 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: 94:[74, 76, 3], Operations: ['67-64=3']
Exploring Operation: 74+3=77, Resulting Numbers: [76, 77]
Generated Node #0,0,0: 94:[76, 77] Operation: 74+3=77
Exploring Operation: 76-74=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 94:[3, 2] Operation: 76-74=2
Exploring Operation: 76+3=79, Resulting Numbers: [74, 79]
Generated Node #0,0,2: 94:[74, 79] Operation: 76+3=79
Exploring Operation: 74-3=71, Resulting Numbers: [76, 71]
Generated Node #0,0,3: 94:[76, 71] Operation: 74-3=71
Moving to Node #0,0,1
Current State: 94:[3, 2], Operations: ['67-64=3', '76-74=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[74, 79], Operations: ['67-64=3', '76+3=79']
Exploring Operation: 74*79=5846, Resulting Numbers: [5846]
5846,94 unequal: No Solution
Exploring Operation: 79-74=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 74+79=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[76, 77], Operations: ['67-64=3', '74+3=77']
Exploring Operation: 76*77=5852, Resulting Numbers: [5852]
5852,94 unequal: No Solution
Exploring Operation: 76+77=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[76, 71], Operations: ['67-64=3', '74-3=71']
Exploring Operation: 76+71=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 76*71=5396, Resulting Numbers: [5396]
5396,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[76, 64, 7], Operations: ['74-67=7']
Exploring Operation: 64-7=57, Resulting Numbers: [76, 57]
Generated Node #0,2,0: 94:[76, 57] Operation: 64-7=57
Exploring Operation: 76-64=12, Resulting Numbers: [7, 12]
Generated Node #0,2,1: 94:[7, 12] Operation: 76-64=12
Exploring Operation: 76+7=83, Resulting Numbers: [64, 83]
Generated Node #0,2,2: 94:[64, 83] Operation: 76+7=83
Exploring Operation: 76-7=69, Resulting Numbers: [64, 69]
Generated Node #0,2,3: 94:[64, 69] Operation: 76-7=69
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[7, 12], Operations: ['74-67=7', '76-64=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,94 unequal: No Solution
No 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: 94:[76, 57], Operations: ['74-67=7', '64-7=57']
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,94 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,94 unequal: No Solution
No 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: 94:[64, 83], Operations: ['74-67=7', '76+7=83']
Exploring Operation: 64+83=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 64*83=5312, Resulting Numbers: [5312]
5312,94 unequal: No Solution
No 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: 94:[64, 69], Operations: ['74-67=7', '76-7=69']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,94 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,94 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: 94:[74, 64, 9], Operations: ['76-67=9']
Exploring Operation: 74+9=83, Resulting Numbers: [64, 83]
Generated Node #0,3,0: 94:[64, 83] Operation: 74+9=83
Exploring Operation: 64-9=55, Resulting Numbers: [74, 55]
Generated Node #0,3,1: 94:[74, 55] Operation: 64-9=55
Exploring Operation: 74-9=65, Resulting Numbers: [64, 65]
Generated Node #0,3,2: 94:[64, 65] Operation: 74-9=65
Exploring Operation: 74-64=10, Resulting Numbers: [9, 10]
Generated Node #0,3,3: 94:[9, 10] Operation: 74-64=10
Moving to Node #0,3,3
Current State: 94:[9, 10], Operations: ['76-67=9', '74-64=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[74, 55], Operations: ['76-67=9', '64-9=55']
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,94 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[64, 83], Operations: ['76-67=9', '74+9=83']
Exploring Operation: 64*83=5312, Resulting Numbers: [5312]
5312,94 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 64+83=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[64, 65], Operations: ['76-67=9', '74-9=65']
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
48,
94,
22,
44
] | 76 | [
"48+94=142",
"22+44=66",
"142-66=76"
] | Current State: 76:[48, 94, 22, 44], Operations: []
Exploring Operation: 48+94=142, Resulting Numbers: [22, 44, 142]
Generated Node #2: [22, 44, 142] from Operation: 48+94=142
Current State: 76:[22, 44, 142], Operations: ['48+94=142']
Exploring Operation: 22+44=66, Resulting Numbers: [142, 66]
Generated Node #3: [142, 66] from Operation: 22+44=66
Current State: 76:[142, 66], Operations: ['48+94=142', '22+44=66']
Exploring Operation: 142-66=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[48, 94, 22, 44], Operations: []
Exploring Operation: 94-22=72, Resulting Numbers: [48, 44, 72]
Generated Node #0,0: 76:[48, 44, 72] Operation: 94-22=72
Exploring Operation: 94-48=46, Resulting Numbers: [22, 44, 46]
Generated Node #0,1: 76:[22, 44, 46] Operation: 94-48=46
Exploring Operation: 94-44=50, Resulting Numbers: [48, 22, 50]
Generated Node #0,2: 76:[48, 22, 50] Operation: 94-44=50
Exploring Operation: 48-44=4, Resulting Numbers: [94, 22, 4]
Generated Node #0,3: 76:[94, 22, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[22, 44, 46], Operations: ['94-48=46']
Exploring Operation: 44-22=22, Resulting Numbers: [46, 22]
Generated Node #0,1,0: 76:[46, 22] Operation: 44-22=22
Exploring Operation: 46-22=24, Resulting Numbers: [44, 24]
Generated Node #0,1,1: 76:[44, 24] Operation: 46-22=24
Exploring Operation: 44/22=2, Resulting Numbers: [46, 2]
Generated Node #0,1,2: 76:[46, 2] Operation: 44/22=2
Exploring Operation: 46-44=2, Resulting Numbers: [22, 2]
Generated Node #0,1,3: 76:[22, 2] Operation: 46-44=2
Moving to Node #0,1,3
Current State: 76:[22, 2], Operations: ['94-48=46', '46-44=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[46, 2], Operations: ['94-48=46', '44/22=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[44, 24], Operations: ['94-48=46', '46-22=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[46, 22], Operations: ['94-48=46', '44-22=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,76 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,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,0
Current State: 76:[48, 44, 72], Operations: ['94-22=72']
Exploring Operation: 48+44=92, Resulting Numbers: [72, 92]
Generated Node #0,0,0: 76:[72, 92] Operation: 48+44=92
Exploring Operation: 72-44=28, Resulting Numbers: [48, 28]
Generated Node #0,0,1: 76:[48, 28] Operation: 72-44=28
Exploring Operation: 72-48=24, Resulting Numbers: [44, 24]
Generated Node #0,0,2: 76:[44, 24] Operation: 72-48=24
Exploring Operation: 48-44=4, Resulting Numbers: [72, 4]
Generated Node #0,0,3: 76:[72, 4] Operation: 48-44=4
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[72, 4], Operations: ['94-22=72', '48-44=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[48, 94, 22, 44], Operations: []
Exploring Operation: 94-22=72, Resulting Numbers: [48, 44, 72]
Generated Node #0,0: 76:[48, 44, 72] Operation: 94-22=72
Moving to Node #0,0
Current State: 76:[48, 44, 72], Operations: ['94-22=72']
Exploring Operation: 48-44=4, Resulting Numbers: [72, 4]
Generated Node #0,0,3: 76:[72, 4] Operation: 48-44=4
Moving to Node #0,0,3
Current State: 76:[72, 4], Operations: ['94-22=72', '48-44=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
24,
4,
9,
88
] | 32 | [
"24*9=216",
"216-88=128",
"128/4=32"
] | Current State: 32:[24, 4, 9, 88], Operations: []
Exploring Operation: 24*9=216, Resulting Numbers: [4, 88, 216]
Generated Node #2: [4, 88, 216] from Operation: 24*9=216
Current State: 32:[4, 88, 216], Operations: ['24*9=216']
Exploring Operation: 216-88=128, Resulting Numbers: [4, 128]
Generated Node #3: [4, 128] from Operation: 216-88=128
Current State: 32:[4, 128], Operations: ['24*9=216', '216-88=128']
Exploring Operation: 128/4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[24, 4, 9, 88], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [24, 9, 22]
Generated Node #0,0: 32:[24, 9, 22] Operation: 88/4=22
Exploring Operation: 24-9=15, Resulting Numbers: [4, 88, 15]
Generated Node #0,1: 32:[4, 88, 15] Operation: 24-9=15
Exploring Operation: 88-24=64, Resulting Numbers: [4, 9, 64]
Generated Node #0,2: 32:[4, 9, 64] Operation: 88-24=64
Exploring Operation: 88-9=79, Resulting Numbers: [24, 4, 79]
Generated Node #0,3: 32:[24, 4, 79] Operation: 88-9=79
Exploring Operation: 24+9=33, Resulting Numbers: [4, 88, 33]
Generated Node #0,4: 32:[4, 88, 33] Operation: 24+9=33
Moving to Node #0,0
Current State: 32:[24, 9, 22], Operations: ['88/4=22']
Exploring Operation: 9+22=31, Resulting Numbers: [24, 31]
Generated Node #0,0,0: 32:[24, 31] Operation: 9+22=31
Exploring Operation: 22-9=13, Resulting Numbers: [24, 13]
Generated Node #0,0,1: 32:[24, 13] Operation: 22-9=13
Exploring Operation: 24+9=33, Resulting Numbers: [22, 33]
Generated Node #0,0,2: 32:[22, 33] Operation: 24+9=33
Exploring Operation: 24-9=15, Resulting Numbers: [22, 15]
Generated Node #0,0,3: 32:[22, 15] Operation: 24-9=15
Exploring Operation: 24-22=2, Resulting Numbers: [9, 2]
Generated Node #0,0,4: 32:[9, 2] Operation: 24-22=2
Moving to Node #0,2
Current State: 32:[4, 9, 64], Operations: ['88-24=64']
Exploring Operation: 64/4=16, Resulting Numbers: [9, 16]
Generated Node #0,2,0: 32:[9, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [9, 60]
Generated Node #0,2,1: 32:[9, 60] Operation: 64-4=60
Exploring Operation: 9-4=5, Resulting Numbers: [64, 5]
Generated Node #0,2,2: 32:[64, 5] Operation: 9-4=5
Exploring Operation: 4+9=13, Resulting Numbers: [64, 13]
Generated Node #0,2,3: 32:[64, 13] Operation: 4+9=13
Exploring Operation: 64-9=55, Resulting Numbers: [4, 55]
Generated Node #0,2,4: 32:[4, 55] Operation: 64-9=55
Moving to Node #0,3
Current State: 32:[24, 4, 79], Operations: ['88-9=79']
Exploring Operation: 79-24=55, Resulting Numbers: [4, 55]
Generated Node #0,3,0: 32:[4, 55] Operation: 79-24=55
Exploring Operation: 24+4=28, Resulting Numbers: [79, 28]
Generated Node #0,3,1: 32:[79, 28] Operation: 24+4=28
Exploring Operation: 24/4=6, Resulting Numbers: [79, 6]
Generated Node #0,3,2: 32:[79, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [79, 20]
Generated Node #0,3,3: 32:[79, 20] Operation: 24-4=20
Exploring Operation: 79-4=75, Resulting Numbers: [24, 75]
Generated Node #0,3,4: 32:[24, 75] Operation: 79-4=75
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[4, 55], Operations: ['88-9=79', '79-24=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,32 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,32 unequal: No Solution
No 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: 32:[79, 6], Operations: ['88-9=79', '24/4=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,32 unequal: No Solution
No 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: 32:[79, 28], Operations: ['88-9=79', '24+4=28']
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,32 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,32 unequal: No Solution
No 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: 32:[79, 20], Operations: ['88-9=79', '24-4=20']
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,32 unequal: No Solution
No 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: 32:[24, 75], Operations: ['88-9=79', '79-4=75']
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,32 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,32 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: 32:[4, 88, 15], Operations: ['24-9=15']
Exploring Operation: 4+15=19, Resulting Numbers: [88, 19]
Generated Node #0,1,0: 32:[88, 19] Operation: 4+15=19
Exploring Operation: 88/4=22, Resulting Numbers: [15, 22]
Generated Node #0,1,1: 32:[15, 22] Operation: 88/4=22
Exploring Operation: 88-4=84, Resulting Numbers: [15, 84]
Generated Node #0,1,2: 32:[15, 84] Operation: 88-4=84
Exploring Operation: 88-15=73, Resulting Numbers: [4, 73]
Generated Node #0,1,3: 32:[4, 73] Operation: 88-15=73
Exploring Operation: 15-4=11, Resulting Numbers: [88, 11]
Generated Node #0,1,4: 32:[88, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[15, 22], Operations: ['24-9=15', '88/4=22']
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,32 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No 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: 32:[4, 73], Operations: ['24-9=15', '88-15=73']
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,32 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,32 unequal: No Solution
No 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: 32:[15, 84], Operations: ['24-9=15', '88-4=84']
Exploring Operation: 15+84=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 15*84=1260, Resulting Numbers: [1260]
1260,32 unequal: No Solution
No 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: 32:[88, 19], Operations: ['24-9=15', '4+15=19']
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,32 unequal: No Solution
No 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: 32:[88, 11], Operations: ['24-9=15', '15-4=11']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,32 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,32 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: 32:[4, 88, 33], Operations: ['24+9=33']
Exploring Operation: 33-4=29, Resulting Numbers: [88, 29]
Generated Node #0,4,0: 32:[88, 29] Operation: 33-4=29
Exploring Operation: 88/4=22, Resulting Numbers: [33, 22]
Generated Node #0,4,1: 32:[33, 22] Operation: 88/4=22
Exploring Operation: 88-33=55, Resulting Numbers: [4, 55]
Generated Node #0,4,2: 32:[4, 55] Operation: 88-33=55
Exploring Operation: 4+88=92, Resulting Numbers: [33, 92]
Generated Node #0,4,3: 32:[33, 92] Operation: 4+88=92
Exploring Operation: 88-4=84, Resulting Numbers: [33, 84]
Generated Node #0,4,4: 32:[33, 84] Operation: 88-4=84
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[33, 22], Operations: ['24+9=33', '88/4=22']
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,32 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No 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: 32:[4, 55], Operations: ['24+9=33', '88-33=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 32:[33, 84], Operations: ['24+9=33', '88-4=84']
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,32 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,32 unequal: No Solution
No 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: 32:[88, 29], Operations: ['24+9=33', '33-4=29']
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,32 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,32 unequal: No Solution
No 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: 32:[33, 92], Operations: ['24+9=33', '4+88=92']
Exploring Operation: 33*92=3036, Resulting Numbers: [3036]
3036,32 unequal: No Solution
Exploring Operation: 33+92=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 32:[9, 2], Operations: ['88/4=22', '24-22=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[9, 16], Operations: ['88-24=64', '64/4=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[22, 15], Operations: ['88/4=22', '24-9=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[22, 33], Operations: ['88/4=22', '24+9=33']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[24, 31], Operations: ['88/4=22', '9+22=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,32 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[24, 13], Operations: ['88/4=22', '22-9=13']
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,32 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[4, 55], Operations: ['88-24=64', '64-9=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,32 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[9, 60], Operations: ['88-24=64', '64-4=60']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[64, 5], Operations: ['88-24=64', '9-4=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[64, 13], Operations: ['88-24=64', '4+9=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
98,
47,
27
] | 30 | [
"98-88=10",
"47-27=20",
"10+20=30"
] | Current State: 30:[88, 98, 47, 27], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [47, 27, 10]
Generated Node #2: [47, 27, 10] from Operation: 98-88=10
Current State: 30:[47, 27, 10], Operations: ['98-88=10']
Exploring Operation: 47-27=20, Resulting Numbers: [10, 20]
Generated Node #3: [10, 20] from Operation: 47-27=20
Current State: 30:[10, 20], Operations: ['98-88=10', '47-27=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[88, 98, 47, 27], Operations: []
Exploring Operation: 98-47=51, Resulting Numbers: [88, 27, 51]
Generated Node #0,0: 30:[88, 27, 51] Operation: 98-47=51
Exploring Operation: 88-47=41, Resulting Numbers: [98, 27, 41]
Generated Node #0,1: 30:[98, 27, 41] Operation: 88-47=41
Exploring Operation: 98-88=10, Resulting Numbers: [47, 27, 10]
Generated Node #0,2: 30:[47, 27, 10] Operation: 98-88=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[47, 27, 10], Operations: ['98-88=10']
Exploring Operation: 27-10=17, Resulting Numbers: [47, 17]
Generated Node #0,2,0: 30:[47, 17] Operation: 27-10=17
Exploring Operation: 47-10=37, Resulting Numbers: [27, 37]
Generated Node #0,2,1: 30:[27, 37] Operation: 47-10=37
Exploring Operation: 47-27=20, Resulting Numbers: [10, 20]
Generated Node #0,2,2: 30:[10, 20] Operation: 47-27=20
Moving to Node #0,2,2
Current State: 30:[10, 20], Operations: ['98-88=10', '47-27=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[88, 98, 47, 27], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [47, 27, 10]
Generated Node #0,2: 30:[47, 27, 10] Operation: 98-88=10
Moving to Node #0,2
Current State: 30:[47, 27, 10], Operations: ['98-88=10']
Exploring Operation: 47-27=20, Resulting Numbers: [10, 20]
Generated Node #0,2,2: 30:[10, 20] Operation: 47-27=20
Moving to Node #0,2,2
Current State: 30:[10, 20], Operations: ['98-88=10', '47-27=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
55,
21,
40,
8
] | 10 | [
"55*8=440",
"440/40=11",
"21-11=10"
] | Current State: 10:[55, 21, 40, 8], Operations: []
Exploring Operation: 55*8=440, Resulting Numbers: [21, 40, 440]
Generated Node #2: [21, 40, 440] from Operation: 55*8=440
Current State: 10:[21, 40, 440], Operations: ['55*8=440']
Exploring Operation: 440/40=11, Resulting Numbers: [21, 11]
Generated Node #3: [21, 11] from Operation: 440/40=11
Current State: 10:[21, 11], Operations: ['55*8=440', '440/40=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[55, 21, 40, 8], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [40, 8, 34]
Generated Node #0,0: 10:[40, 8, 34] Operation: 55-21=34
Exploring Operation: 55-40=15, Resulting Numbers: [21, 8, 15]
Generated Node #0,1: 10:[21, 8, 15] Operation: 55-40=15
Exploring Operation: 40-21=19, Resulting Numbers: [55, 8, 19]
Generated Node #0,2: 10:[55, 8, 19] Operation: 40-21=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[21, 8, 15], Operations: ['55-40=15']
Exploring Operation: 15-8=7, Resulting Numbers: [21, 7]
Generated Node #0,1,0: 10:[21, 7] Operation: 15-8=7
Exploring Operation: 21-15=6, Resulting Numbers: [8, 6]
Generated Node #0,1,1: 10:[8, 6] Operation: 21-15=6
Exploring Operation: 21-8=13, Resulting Numbers: [15, 13]
Generated Node #0,1,2: 10:[15, 13] Operation: 21-8=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[8, 6], Operations: ['55-40=15', '21-15=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,10 unequal: No Solution
No 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: 10:[15, 13], Operations: ['55-40=15', '21-8=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,10 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No 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: 10:[21, 7], Operations: ['55-40=15', '15-8=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,10 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: 10:[40, 8, 34], Operations: ['55-21=34']
Exploring Operation: 40/8=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 10:[34, 5] Operation: 40/8=5
Exploring Operation: 40-34=6, Resulting Numbers: [8, 6]
Generated Node #0,0,1: 10:[8, 6] Operation: 40-34=6
Exploring Operation: 40-8=32, Resulting Numbers: [34, 32]
Generated Node #0,0,2: 10:[34, 32] Operation: 40-8=32
Moving to Node #0,0,1
Current State: 10:[8, 6], Operations: ['55-21=34', '40-34=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[34, 5], Operations: ['55-21=34', '40/8=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,10 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[34, 32], Operations: ['55-21=34', '40-8=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[55, 8, 19], Operations: ['40-21=19']
Exploring Operation: 55-19=36, Resulting Numbers: [8, 36]
Generated Node #0,2,0: 10:[8, 36] Operation: 55-19=36
Exploring Operation: 19-8=11, Resulting Numbers: [55, 11]
Generated Node #0,2,1: 10:[55, 11] Operation: 19-8=11
Exploring Operation: 55-8=47, Resulting Numbers: [19, 47]
Generated Node #0,2,2: 10:[19, 47] Operation: 55-8=47
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[8, 36], Operations: ['40-21=19', '55-19=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,10 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,10 unequal: No Solution
No 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: 10:[55, 11], Operations: ['40-21=19', '19-8=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,10 unequal: No Solution
No 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: 10:[19, 47], Operations: ['40-21=19', '55-8=47']
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,10 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
15,
76,
58
] | 63 | [
"56+15=71",
"76+58=134",
"134-71=63"
] | Current State: 63:[56, 15, 76, 58], Operations: []
Exploring Operation: 56+15=71, Resulting Numbers: [76, 58, 71]
Generated Node #2: [76, 58, 71] from Operation: 56+15=71
Current State: 63:[76, 58, 71], Operations: ['56+15=71']
Exploring Operation: 76+58=134, Resulting Numbers: [71, 134]
Generated Node #3: [71, 134] from Operation: 76+58=134
Current State: 63:[71, 134], Operations: ['56+15=71', '76+58=134']
Exploring Operation: 134-71=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[56, 15, 76, 58], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [56, 58, 61]
Generated Node #0,0: 63:[56, 58, 61] Operation: 76-15=61
Exploring Operation: 76-56=20, Resulting Numbers: [15, 58, 20]
Generated Node #0,1: 63:[15, 58, 20] Operation: 76-56=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[15, 58, 20], Operations: ['76-56=20']
Exploring Operation: 20-15=5, Resulting Numbers: [58, 5]
Generated Node #0,1,0: 63:[58, 5] Operation: 20-15=5
Exploring Operation: 15+58=73, Resulting Numbers: [20, 73]
Generated Node #0,1,1: 63:[20, 73] Operation: 15+58=73
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[58, 5], Operations: ['76-56=20', '20-15=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[56, 15, 76, 58], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [15, 58, 20]
Generated Node #0,1: 63:[15, 58, 20] Operation: 76-56=20
Moving to Node #0,1
Current State: 63:[15, 58, 20], Operations: ['76-56=20']
Exploring Operation: 20-15=5, Resulting Numbers: [58, 5]
Generated Node #0,1,0: 63:[58, 5] Operation: 20-15=5
Moving to Node #0,1,0
Current State: 63:[58, 5], Operations: ['76-56=20', '20-15=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
53,
30,
21,
98
] | 49 | [
"53-30=23",
"23-21=2",
"98/2=49"
] | Current State: 49:[53, 30, 21, 98], Operations: []
Exploring Operation: 53-30=23, Resulting Numbers: [21, 98, 23]
Generated Node #2: [21, 98, 23] from Operation: 53-30=23
Current State: 49:[21, 98, 23], Operations: ['53-30=23']
Exploring Operation: 23-21=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 23-21=2
Current State: 49:[98, 2], Operations: ['53-30=23', '23-21=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[53, 30, 21, 98], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [30, 21, 45]
Generated Node #0,0: 49:[30, 21, 45] Operation: 98-53=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[30, 21, 45], Operations: ['98-53=45']
Exploring Operation: 30+21=51, Resulting Numbers: [45, 51]
Generated Node #0,0,0: 49:[45, 51] Operation: 30+21=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[45, 51], Operations: ['98-53=45', '30+21=51']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
40,
77,
11
] | 24 | [
"2+40=42",
"77-11=66",
"66-42=24"
] | Current State: 24:[2, 40, 77, 11], Operations: []
Exploring Operation: 2+40=42, Resulting Numbers: [77, 11, 42]
Generated Node #2: [77, 11, 42] from Operation: 2+40=42
Current State: 24:[77, 11, 42], Operations: ['2+40=42']
Exploring Operation: 77-11=66, Resulting Numbers: [42, 66]
Generated Node #3: [42, 66] from Operation: 77-11=66
Current State: 24:[42, 66], Operations: ['2+40=42', '77-11=66']
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[2, 40, 77, 11], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [2, 11, 37]
Generated Node #0,0: 24:[2, 11, 37] Operation: 77-40=37
Exploring Operation: 77/11=7, Resulting Numbers: [2, 40, 7]
Generated Node #0,1: 24:[2, 40, 7] Operation: 77/11=7
Moving to Node #0,0
Current State: 24:[2, 11, 37], Operations: ['77-40=37']
Exploring Operation: 37-11=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 24:[2, 26] Operation: 37-11=26
Exploring Operation: 37-2=35, Resulting Numbers: [11, 35]
Generated Node #0,0,1: 24:[11, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[2, 26], Operations: ['77-40=37', '37-11=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[2, 40, 77, 11], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [2, 11, 37]
Generated Node #0,0: 24:[2, 11, 37] Operation: 77-40=37
Moving to Node #0,0
Current State: 24:[2, 11, 37], Operations: ['77-40=37']
Exploring Operation: 37-11=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 24:[2, 26] Operation: 37-11=26
Moving to Node #0,0,0
Current State: 24:[2, 26], Operations: ['77-40=37', '37-11=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
57,
18,
35,
77
] | 33 | [
"57+18=75",
"77-35=42",
"75-42=33"
] | Current State: 33:[57, 18, 35, 77], Operations: []
Exploring Operation: 57+18=75, Resulting Numbers: [35, 77, 75]
Generated Node #2: [35, 77, 75] from Operation: 57+18=75
Current State: 33:[35, 77, 75], Operations: ['57+18=75']
Exploring Operation: 77-35=42, Resulting Numbers: [75, 42]
Generated Node #3: [75, 42] from Operation: 77-35=42
Current State: 33:[75, 42], Operations: ['57+18=75', '77-35=42']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[57, 18, 35, 77], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [18, 35, 20]
Generated Node #0,0: 33:[18, 35, 20] Operation: 77-57=20
Moving to Node #0,0
Current State: 33:[18, 35, 20], Operations: ['77-57=20']
Exploring Operation: 20-18=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 20-18=2
Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['77-57=20', '20-18=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[57, 18, 35, 77], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [18, 35, 20]
Generated Node #0,0: 33:[18, 35, 20] Operation: 77-57=20
Moving to Node #0,0
Current State: 33:[18, 35, 20], Operations: ['77-57=20']
Exploring Operation: 20-18=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 20-18=2
Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['77-57=20', '20-18=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
57,
97,
1,
61
] | 93 | [
"57+97=154",
"1*61=61",
"154-61=93"
] | Current State: 93:[57, 97, 1, 61], Operations: []
Exploring Operation: 57+97=154, Resulting Numbers: [1, 61, 154]
Generated Node #2: [1, 61, 154] from Operation: 57+97=154
Current State: 93:[1, 61, 154], Operations: ['57+97=154']
Exploring Operation: 1*61=61, Resulting Numbers: [154, 61]
Generated Node #3: [154, 61] from Operation: 1*61=61
Current State: 93:[154, 61], Operations: ['57+97=154', '1*61=61']
Exploring Operation: 154-61=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[57, 97, 1, 61], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [97, 1, 4]
Generated Node #0,0: 93:[97, 1, 4] Operation: 61-57=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[97, 1, 4], Operations: ['61-57=4']
Exploring Operation: 97-4=93, Resulting Numbers: [1, 93]
Generated Node #0,0,0: 93:[1, 93] Operation: 97-4=93
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[1, 93], Operations: ['61-57=4', '97-4=93']
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[57, 97, 1, 61], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [97, 1, 4]
Generated Node #0,0: 93:[97, 1, 4] Operation: 61-57=4
Moving to Node #0,0
Current State: 93:[97, 1, 4], Operations: ['61-57=4']
Exploring Operation: 97-4=93, Resulting Numbers: [1, 93]
Generated Node #0,0,0: 93:[1, 93] Operation: 97-4=93
Moving to Node #0,0,0
Current State: 93:[1, 93], Operations: ['61-57=4', '97-4=93']
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
30,
6,
64,
80
] | 18 | [
"30*64=1920",
"1920/80=24",
"24-6=18"
] | Current State: 18:[30, 6, 64, 80], Operations: []
Exploring Operation: 30*64=1920, Resulting Numbers: [6, 80, 1920]
Generated Node #2: [6, 80, 1920] from Operation: 30*64=1920
Current State: 18:[6, 80, 1920], Operations: ['30*64=1920']
Exploring Operation: 1920/80=24, Resulting Numbers: [6, 24]
Generated Node #3: [6, 24] from Operation: 1920/80=24
Current State: 18:[6, 24], Operations: ['30*64=1920', '1920/80=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[30, 6, 64, 80], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [30, 6, 16]
Generated Node #0,0: 18:[30, 6, 16] Operation: 80-64=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[30, 6, 16], Operations: ['80-64=16']
Exploring Operation: 30/6=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 18:[16, 5] Operation: 30/6=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[16, 5], Operations: ['80-64=16', '30/6=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,18 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 |
[
84,
63,
4,
26
] | 68 | [
"84/4=21",
"63+26=89",
"89-21=68"
] | Current State: 68:[84, 63, 4, 26], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [63, 26, 21]
Generated Node #2: [63, 26, 21] from Operation: 84/4=21
Current State: 68:[63, 26, 21], Operations: ['84/4=21']
Exploring Operation: 63+26=89, Resulting Numbers: [21, 89]
Generated Node #3: [21, 89] from Operation: 63+26=89
Current State: 68:[21, 89], Operations: ['84/4=21', '63+26=89']
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[84, 63, 4, 26], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [4, 26, 21]
Generated Node #0,0: 68:[4, 26, 21] Operation: 84-63=21
Exploring Operation: 84-26=58, Resulting Numbers: [63, 4, 58]
Generated Node #0,1: 68:[63, 4, 58] Operation: 84-26=58
Exploring Operation: 84/4=21, Resulting Numbers: [63, 26, 21]
Generated Node #0,2: 68:[63, 26, 21] Operation: 84/4=21
Moving to Node #0,0
Current State: 68:[4, 26, 21], Operations: ['84-63=21']
Exploring Operation: 4+26=30, Resulting Numbers: [21, 30]
Generated Node #0,0,0: 68:[21, 30] Operation: 4+26=30
Exploring Operation: 26-21=5, Resulting Numbers: [4, 5]
Generated Node #0,0,1: 68:[4, 5] Operation: 26-21=5
Exploring Operation: 21-4=17, Resulting Numbers: [26, 17]
Generated Node #0,0,2: 68:[26, 17] Operation: 21-4=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[4, 5], Operations: ['84-63=21', '26-21=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[21, 30], Operations: ['84-63=21', '4+26=30']
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,68 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[26, 17], Operations: ['84-63=21', '21-4=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,68 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,68 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: 68:[63, 4, 58], Operations: ['84-26=58']
Exploring Operation: 4+58=62, Resulting Numbers: [63, 62]
Generated Node #0,1,0: 68:[63, 62] Operation: 4+58=62
Exploring Operation: 63+4=67, Resulting Numbers: [58, 67]
Generated Node #0,1,1: 68:[58, 67] Operation: 63+4=67
Exploring Operation: 63-58=5, Resulting Numbers: [4, 5]
Generated Node #0,1,2: 68:[4, 5] Operation: 63-58=5
Moving to Node #0,2
Current State: 68:[63, 26, 21], Operations: ['84/4=21']
Exploring Operation: 63/21=3, Resulting Numbers: [26, 3]
Generated Node #0,2,0: 68:[26, 3] Operation: 63/21=3
Exploring Operation: 63-26=37, Resulting Numbers: [21, 37]
Generated Node #0,2,1: 68:[21, 37] Operation: 63-26=37
Exploring Operation: 26-21=5, Resulting Numbers: [63, 5]
Generated Node #0,2,2: 68:[63, 5] Operation: 26-21=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[63, 5], Operations: ['84/4=21', '26-21=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,68 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[84, 63, 4, 26], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [63, 26, 21]
Generated Node #0,2: 68:[63, 26, 21] Operation: 84/4=21
Moving to Node #0,2
Current State: 68:[63, 26, 21], Operations: ['84/4=21']
Exploring Operation: 26-21=5, Resulting Numbers: [63, 5]
Generated Node #0,2,2: 68:[63, 5] Operation: 26-21=5
Moving to Node #0,2,2
Current State: 68:[63, 5], Operations: ['84/4=21', '26-21=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
84,
28,
60,
95
] | 99 | [
"84-28=56",
"60+95=155",
"155-56=99"
] | Current State: 99:[84, 28, 60, 95], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [60, 95, 56]
Generated Node #2: [60, 95, 56] from Operation: 84-28=56
Current State: 99:[60, 95, 56], Operations: ['84-28=56']
Exploring Operation: 60+95=155, Resulting Numbers: [56, 155]
Generated Node #3: [56, 155] from Operation: 60+95=155
Current State: 99:[56, 155], Operations: ['84-28=56', '60+95=155']
Exploring Operation: 155-56=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[84, 28, 60, 95], Operations: []
Exploring Operation: 60-28=32, Resulting Numbers: [84, 95, 32]
Generated Node #0,0: 99:[84, 95, 32] Operation: 60-28=32
Exploring Operation: 84-60=24, Resulting Numbers: [28, 95, 24]
Generated Node #0,1: 99:[28, 95, 24] Operation: 84-60=24
Exploring Operation: 28+60=88, Resulting Numbers: [84, 95, 88]
Generated Node #0,2: 99:[84, 95, 88] Operation: 28+60=88
Exploring Operation: 95-60=35, Resulting Numbers: [84, 28, 35]
Generated Node #0,3: 99:[84, 28, 35] Operation: 95-60=35
Exploring Operation: 84/28=3, Resulting Numbers: [60, 95, 3]
Generated Node #0,4: 99:[60, 95, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[28, 95, 24], Operations: ['84-60=24']
Exploring Operation: 95-24=71, Resulting Numbers: [28, 71]
Generated Node #0,1,0: 99:[28, 71] Operation: 95-24=71
Exploring Operation: 28+24=52, Resulting Numbers: [95, 52]
Generated Node #0,1,1: 99:[95, 52] Operation: 28+24=52
Exploring Operation: 95+24=119, Resulting Numbers: [28, 119]
Generated Node #0,1,2: 99:[28, 119] Operation: 95+24=119
Exploring Operation: 28-24=4, Resulting Numbers: [95, 4]
Generated Node #0,1,3: 99:[95, 4] Operation: 28-24=4
Exploring Operation: 28+95=123, Resulting Numbers: [24, 123]
Generated Node #0,1,4: 99:[24, 123] Operation: 28+95=123
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[95, 4], Operations: ['84-60=24', '28-24=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[84, 28, 60, 95], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [28, 95, 24]
Generated Node #0,1: 99:[28, 95, 24] Operation: 84-60=24
Moving to Node #0,1
Current State: 99:[28, 95, 24], Operations: ['84-60=24']
Exploring Operation: 28-24=4, Resulting Numbers: [95, 4]
Generated Node #0,1,3: 99:[95, 4] Operation: 28-24=4
Moving to Node #0,1,3
Current State: 99:[95, 4], Operations: ['84-60=24', '28-24=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
38,
78,
2,
57
] | 40 | [
"38/2=19",
"78-57=21",
"19+21=40"
] | Current State: 40:[38, 78, 2, 57], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [78, 57, 19]
Generated Node #2: [78, 57, 19] from Operation: 38/2=19
Current State: 40:[78, 57, 19], Operations: ['38/2=19']
Exploring Operation: 78-57=21, Resulting Numbers: [19, 21]
Generated Node #3: [19, 21] from Operation: 78-57=21
Current State: 40:[19, 21], Operations: ['38/2=19', '78-57=21']
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[38, 78, 2, 57], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [38, 2, 21]
Generated Node #0,0: 40:[38, 2, 21] Operation: 78-57=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[38, 2, 21], Operations: ['78-57=21']
Exploring Operation: 38+2=40, Resulting Numbers: [21, 40]
Generated Node #0,0,0: 40:[21, 40] Operation: 38+2=40
Moving to Node #0,0,0
Current State: 40:[21, 40], Operations: ['78-57=21', '38+2=40']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
9,
6,
4
] | 96 | [
"6+4=10",
"9*10=90",
"6+90=96"
] | Current State: 96:[6, 9, 6, 4], Operations: []
Exploring Operation: 6+4=10, Resulting Numbers: [9, 10]
Generated Node #2: [9, 10] from Operation: 6+4=10
Current State: 96:[9, 10], Operations: ['6+4=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,96 equal: Goal Reached
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[6, 9, 6, 4], Operations: []
Exploring Operation: 6+6=12, Resulting Numbers: [9, 4, 12]
Generated Node #0,0: 96:[9, 4, 12] Operation: 6+6=12
Exploring Operation: 6*4=24, Resulting Numbers: [9, 6, 24]
Generated Node #0,1: 96:[9, 6, 24] Operation: 6*4=24
Exploring Operation: 9-6=3, Resulting Numbers: [6, 4, 3]
Generated Node #0,2: 96:[6, 4, 3] Operation: 9-6=3
Exploring Operation: 6+9=15, Resulting Numbers: [6, 4, 15]
Generated Node #0,3: 96:[6, 4, 15] Operation: 6+9=15
Exploring Operation: 9-6=3, Resulting Numbers: [6, 4, 3]
Generated Node #0,4: 96:[6, 4, 3] Operation: 9-6=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[6, 4, 3], Operations: ['9-6=3']
Exploring Operation: 6-3=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 96:[4, 3] Operation: 6-3=3
Exploring Operation: 4*3=12, Resulting Numbers: [6, 12]
Generated Node #0,2,1: 96:[6, 12] Operation: 4*3=12
Exploring Operation: 6/3=2, Resulting Numbers: [4, 2]
Generated Node #0,2,2: 96:[4, 2] Operation: 6/3=2
Exploring Operation: 6*4=24, Resulting Numbers: [3, 24]
Generated Node #0,2,3: 96:[3, 24] Operation: 6*4=24
Exploring Operation: 6-4=2, Resulting Numbers: [3, 2]
Generated Node #0,2,4: 96:[3, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[4, 3], Operations: ['9-6=3', '6-3=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
No 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: 96:[6, 12], Operations: ['9-6=3', '4*3=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No 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: 96:[4, 2], Operations: ['9-6=3', '6/3=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No 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: 96:[3, 24], Operations: ['9-6=3', '6*4=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,96 unequal: No Solution
No 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: 96:[3, 2], Operations: ['9-6=3', '6-4=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,96 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: 96:[6, 4, 3], Operations: ['9-6=3']
Exploring Operation: 6*4=24, Resulting Numbers: [3, 24]
Generated Node #0,4,0: 96:[3, 24] Operation: 6*4=24
Exploring Operation: 4*3=12, Resulting Numbers: [6, 12]
Generated Node #0,4,1: 96:[6, 12] Operation: 4*3=12
Exploring Operation: 6/3=2, Resulting Numbers: [4, 2]
Generated Node #0,4,2: 96:[4, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [4, 3]
Generated Node #0,4,3: 96:[4, 3] Operation: 6-3=3
Exploring Operation: 6-4=2, Resulting Numbers: [3, 2]
Generated Node #0,4,4: 96:[3, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[3, 24], Operations: ['9-6=3', '6*4=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,96 unequal: No Solution
No 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: 96:[6, 12], Operations: ['9-6=3', '4*3=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No 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: 96:[4, 2], Operations: ['9-6=3', '6/3=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 96:[4, 3], Operations: ['9-6=3', '6-3=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
No 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: 96:[3, 2], Operations: ['9-6=3', '6-4=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,96 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: 96:[9, 4, 12], Operations: ['6+6=12']
Exploring Operation: 4+12=16, Resulting Numbers: [9, 16]
Generated Node #0,0,0: 96:[9, 16] Operation: 4+12=16
Exploring Operation: 4*12=48, Resulting Numbers: [9, 48]
Generated Node #0,0,1: 96:[9, 48] Operation: 4*12=48
Exploring Operation: 12-9=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 96:[4, 3] Operation: 12-9=3
Exploring Operation: 9-4=5, Resulting Numbers: [12, 5]
Generated Node #0,0,3: 96:[12, 5] Operation: 9-4=5
Exploring Operation: 9+4=13, Resulting Numbers: [12, 13]
Generated Node #0,0,4: 96:[12, 13] Operation: 9+4=13
Moving to Node #0,0,2
Current State: 96:[4, 3], Operations: ['6+6=12', '12-9=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[9, 48], Operations: ['6+6=12', '4*12=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,96 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[12, 13], Operations: ['6+6=12', '9+4=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[9, 16], Operations: ['6+6=12', '4+12=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[12, 5], Operations: ['6+6=12', '9-4=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,96 unequal: No Solution
No 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: 96:[9, 6, 24], Operations: ['6*4=24']
Exploring Operation: 24-9=15, Resulting Numbers: [6, 15]
Generated Node #0,1,0: 96:[6, 15] Operation: 24-9=15
Exploring Operation: 9+6=15, Resulting Numbers: [24, 15]
Generated Node #0,1,1: 96:[24, 15] Operation: 9+6=15
Exploring Operation: 9-6=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 96:[24, 3] Operation: 9-6=3
Exploring Operation: 9+24=33, Resulting Numbers: [6, 33]
Generated Node #0,1,3: 96:[6, 33] Operation: 9+24=33
Exploring Operation: 24/6=4, Resulting Numbers: [9, 4]
Generated Node #0,1,4: 96:[9, 4] Operation: 24/6=4
Moving to Node #0,1,2
Current State: 96:[24, 3], Operations: ['6*4=24', '9-6=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[24, 15], Operations: ['6*4=24', '9+6=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,96 unequal: No Solution
Moving to Node #0,1,4
Current State: 96:[9, 4], Operations: ['6*4=24', '24/6=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[6, 15], Operations: ['6*4=24', '24-9=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[6, 33], Operations: ['6*4=24', '9+24=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,96 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,96 unequal: No Solution
No 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: 96:[6, 4, 15], Operations: ['6+9=15']
Exploring Operation: 15-4=11, Resulting Numbers: [6, 11]
Generated Node #0,3,0: 96:[6, 11] Operation: 15-4=11
Exploring Operation: 15-6=9, Resulting Numbers: [4, 9]
Generated Node #0,3,1: 96:[4, 9] Operation: 15-6=9
Exploring Operation: 6+4=10, Resulting Numbers: [15, 10]
Generated Node #0,3,2: 96:[15, 10] Operation: 6+4=10
Exploring Operation: 6*4=24, Resulting Numbers: [15, 24]
Generated Node #0,3,3: 96:[15, 24] Operation: 6*4=24
Exploring Operation: 6-4=2, Resulting Numbers: [15, 2]
Generated Node #0,3,4: 96:[15, 2] Operation: 6-4=2
Moving to Node #0,3,0
Current State: 96:[6, 11], Operations: ['6+9=15', '15-4=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[15, 24], Operations: ['6+9=15', '6*4=24']
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,96 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[4, 9], Operations: ['6+9=15', '15-6=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[15, 2], Operations: ['6+9=15', '6-4=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[15, 10], Operations: ['6+9=15', '6+4=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,96 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,96 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 |
[
9,
60,
46,
30
] | 35 | [
"60-9=51",
"46-30=16",
"51-16=35"
] | Current State: 35:[9, 60, 46, 30], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [46, 30, 51]
Generated Node #2: [46, 30, 51] from Operation: 60-9=51
Current State: 35:[46, 30, 51], Operations: ['60-9=51']
Exploring Operation: 46-30=16, Resulting Numbers: [51, 16]
Generated Node #3: [51, 16] from Operation: 46-30=16
Current State: 35:[51, 16], Operations: ['60-9=51', '46-30=16']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[9, 60, 46, 30], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [9, 30, 14]
Generated Node #0,0: 35:[9, 30, 14] Operation: 60-46=14
Moving to Node #0,0
Current State: 35:[9, 30, 14], Operations: ['60-46=14']
Exploring Operation: 14-9=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 35:[30, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[30, 5], Operations: ['60-46=14', '14-9=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[9, 60, 46, 30], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [9, 30, 14]
Generated Node #0,0: 35:[9, 30, 14] Operation: 60-46=14
Moving to Node #0,0
Current State: 35:[9, 30, 14], Operations: ['60-46=14']
Exploring Operation: 14-9=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 35:[30, 5] Operation: 14-9=5
Moving to Node #0,0,0
Current State: 35:[30, 5], Operations: ['60-46=14', '14-9=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
3,
61,
63,
60
] | 100 | [
"63/3=21",
"61+60=121",
"121-21=100"
] | Current State: 100:[3, 61, 63, 60], Operations: []
Exploring Operation: 63/3=21, Resulting Numbers: [61, 60, 21]
Generated Node #2: [61, 60, 21] from Operation: 63/3=21
Current State: 100:[61, 60, 21], Operations: ['63/3=21']
Exploring Operation: 61+60=121, Resulting Numbers: [21, 121]
Generated Node #3: [21, 121] from Operation: 61+60=121
Current State: 100:[21, 121], Operations: ['63/3=21', '61+60=121']
Exploring Operation: 121-21=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[3, 61, 63, 60], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [3, 60, 2]
Generated Node #0,0: 100:[3, 60, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[3, 60, 2], Operations: ['63-61=2']
Exploring Operation: 60/3=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 100:[2, 20] Operation: 60/3=20
Moving to Node #0,0,0
Current State: 100:[2, 20], Operations: ['63-61=2', '60/3=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,100 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 |
[
15,
34,
10,
13
] | 99 | [
"15-10=5",
"13*5=65",
"34+65=99"
] | Current State: 99:[15, 34, 10, 13], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [34, 13, 5]
Generated Node #2: [34, 13, 5] from Operation: 15-10=5
Current State: 99:[34, 13, 5], Operations: ['15-10=5']
Exploring Operation: 13*5=65, Resulting Numbers: [34, 65]
Generated Node #3: [34, 65] from Operation: 13*5=65
Current State: 99:[34, 65], Operations: ['15-10=5', '13*5=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[15, 34, 10, 13], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [15, 34, 3]
Generated Node #0,0: 99:[15, 34, 3] Operation: 13-10=3
Exploring Operation: 15+13=28, Resulting Numbers: [34, 10, 28]
Generated Node #0,1: 99:[34, 10, 28] Operation: 15+13=28
Exploring Operation: 34-15=19, Resulting Numbers: [10, 13, 19]
Generated Node #0,2: 99:[10, 13, 19] Operation: 34-15=19
Exploring Operation: 15-13=2, Resulting Numbers: [34, 10, 2]
Generated Node #0,3: 99:[34, 10, 2] Operation: 15-13=2
Exploring Operation: 15-10=5, Resulting Numbers: [34, 13, 5]
Generated Node #0,4: 99:[34, 13, 5] Operation: 15-10=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[34, 10, 2], Operations: ['15-13=2']
Exploring Operation: 34+2=36, Resulting Numbers: [10, 36]
Generated Node #0,3,0: 99:[10, 36] Operation: 34+2=36
Exploring Operation: 34-2=32, Resulting Numbers: [10, 32]
Generated Node #0,3,1: 99:[10, 32] Operation: 34-2=32
Exploring Operation: 10-2=8, Resulting Numbers: [34, 8]
Generated Node #0,3,2: 99:[34, 8] Operation: 10-2=8
Exploring Operation: 10+2=12, Resulting Numbers: [34, 12]
Generated Node #0,3,3: 99:[34, 12] Operation: 10+2=12
Exploring Operation: 10/2=5, Resulting Numbers: [34, 5]
Generated Node #0,3,4: 99:[34, 5] Operation: 10/2=5
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 99:[10, 32], Operations: ['15-13=2', '34-2=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,99 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 99:[34, 8], Operations: ['15-13=2', '10-2=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,99 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[34, 12], Operations: ['15-13=2', '10+2=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,99 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 99:[34, 5], Operations: ['15-13=2', '10/2=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,99 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[10, 36], Operations: ['15-13=2', '34+2=36']
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,99 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,99 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[15, 34, 3], Operations: ['13-10=3']
Exploring Operation: 15/3=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 99:[34, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [34, 12]
Generated Node #0,0,1: 99:[34, 12] Operation: 15-3=12
Exploring Operation: 34-3=31, Resulting Numbers: [15, 31]
Generated Node #0,0,2: 99:[15, 31] Operation: 34-3=31
Exploring Operation: 34-15=19, Resulting Numbers: [3, 19]
Generated Node #0,0,3: 99:[3, 19] Operation: 34-15=19
Exploring Operation: 34*3=102, Resulting Numbers: [15, 102]
Generated Node #0,0,4: 99:[15, 102] Operation: 34*3=102
Moving to Node #0,0,1
Current State: 99:[34, 12], Operations: ['13-10=3', '15-3=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,99 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[34, 5], Operations: ['13-10=3', '15/3=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,99 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,99 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[15, 31], Operations: ['13-10=3', '34-3=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,99 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,99 unequal: No Solution
Moving to Node #0,0,4
Current State: 99:[15, 102], Operations: ['13-10=3', '34*3=102']
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,99 unequal: No Solution
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[3, 19], Operations: ['13-10=3', '34-15=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 19-3=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,4
Current State: 99:[34, 13, 5], Operations: ['15-10=5']
Exploring Operation: 34+5=39, Resulting Numbers: [13, 39]
Generated Node #0,4,0: 99:[13, 39] Operation: 34+5=39
Exploring Operation: 13+5=18, Resulting Numbers: [34, 18]
Generated Node #0,4,1: 99:[34, 18] Operation: 13+5=18
Exploring Operation: 34-5=29, Resulting Numbers: [13, 29]
Generated Node #0,4,2: 99:[13, 29] Operation: 34-5=29
Exploring Operation: 34-13=21, Resulting Numbers: [5, 21]
Generated Node #0,4,3: 99:[5, 21] Operation: 34-13=21
Exploring Operation: 13-5=8, Resulting Numbers: [34, 8]
Generated Node #0,4,4: 99:[34, 8] Operation: 13-5=8
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 99:[34, 8], Operations: ['15-10=5', '13-5=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,99 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,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,4,2
Current State: 99:[13, 29], Operations: ['15-10=5', '34-5=29']
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,99 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,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,4,0
Current State: 99:[13, 39], Operations: ['15-10=5', '34+5=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,99 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,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,4,1
Current State: 99:[34, 18], Operations: ['15-10=5', '13+5=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,99 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,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,4,3
Current State: 99:[5, 21], Operations: ['15-10=5', '34-13=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 21-5=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:[34, 10, 28], Operations: ['15+13=28']
Exploring Operation: 34-28=6, Resulting Numbers: [10, 6]
Generated Node #0,1,0: 99:[10, 6] Operation: 34-28=6
Exploring Operation: 34-10=24, Resulting Numbers: [28, 24]
Generated Node #0,1,1: 99:[28, 24] Operation: 34-10=24
Exploring Operation: 28-10=18, Resulting Numbers: [34, 18]
Generated Node #0,1,2: 99:[34, 18] Operation: 28-10=18
Exploring Operation: 10+28=38, Resulting Numbers: [34, 38]
Generated Node #0,1,3: 99:[34, 38] Operation: 10+28=38
Exploring Operation: 34+10=44, Resulting Numbers: [28, 44]
Generated Node #0,1,4: 99:[28, 44] Operation: 34+10=44
Moving to Node #0,1,0
Current State: 99:[10, 6], Operations: ['15+13=28', '34-28=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[34, 38], Operations: ['15+13=28', '10+28=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[34, 18], Operations: ['15+13=28', '28-10=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,99 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[28, 24], Operations: ['15+13=28', '34-10=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,99 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[28, 44], Operations: ['15+13=28', '34+10=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,99 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 44-28=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,2
Current State: 99:[10, 13, 19], Operations: ['34-15=19']
Exploring Operation: 13+19=32, Resulting Numbers: [10, 32]
Generated Node #0,2,0: 99:[10, 32] Operation: 13+19=32
Exploring Operation: 19-13=6, Resulting Numbers: [10, 6]
Generated Node #0,2,1: 99:[10, 6] Operation: 19-13=6
Exploring Operation: 10+19=29, Resulting Numbers: [13, 29]
Generated Node #0,2,2: 99:[13, 29] Operation: 10+19=29
Exploring Operation: 13-10=3, Resulting Numbers: [19, 3]
Generated Node #0,2,3: 99:[19, 3] Operation: 13-10=3
Exploring Operation: 19-10=9, Resulting Numbers: [13, 9]
Generated Node #0,2,4: 99:[13, 9] Operation: 19-10=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[10, 32], Operations: ['34-15=19', '13+19=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,99 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,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,4
Current State: 99:[13, 9], Operations: ['34-15=19', '19-10=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,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:[10, 6], Operations: ['34-15=19', '19-13=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,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:[13, 29], Operations: ['34-15=19', '10+19=29']
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,99 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,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,3
Current State: 99:[19, 3], Operations: ['34-15=19', '13-10=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
87,
51,
18,
48
] | 81 | [
"51-48=3",
"18/3=6",
"87-6=81"
] | Current State: 81:[87, 51, 18, 48], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [87, 18, 3]
Generated Node #2: [87, 18, 3] from Operation: 51-48=3
Current State: 81:[87, 18, 3], Operations: ['51-48=3']
Exploring Operation: 18/3=6, Resulting Numbers: [87, 6]
Generated Node #3: [87, 6] from Operation: 18/3=6
Current State: 81:[87, 6], Operations: ['51-48=3', '18/3=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[87, 51, 18, 48], Operations: []
Exploring Operation: 48-18=30, Resulting Numbers: [87, 51, 30]
Generated Node #0,0: 81:[87, 51, 30] Operation: 48-18=30
Exploring Operation: 51-48=3, Resulting Numbers: [87, 18, 3]
Generated Node #0,1: 81:[87, 18, 3] Operation: 51-48=3
Exploring Operation: 51-18=33, Resulting Numbers: [87, 48, 33]
Generated Node #0,2: 81:[87, 48, 33] Operation: 51-18=33
Exploring Operation: 87-51=36, Resulting Numbers: [18, 48, 36]
Generated Node #0,3: 81:[18, 48, 36] Operation: 87-51=36
Exploring Operation: 51+48=99, Resulting Numbers: [87, 18, 99]
Generated Node #0,4: 81:[87, 18, 99] Operation: 51+48=99
Moving to Node #0,1
Current State: 81:[87, 18, 3], Operations: ['51-48=3']
Exploring Operation: 87-3=84, Resulting Numbers: [18, 84]
Generated Node #0,1,0: 81:[18, 84] Operation: 87-3=84
Exploring Operation: 87-18=69, Resulting Numbers: [3, 69]
Generated Node #0,1,1: 81:[3, 69] Operation: 87-18=69
Exploring Operation: 18/3=6, Resulting Numbers: [87, 6]
Generated Node #0,1,2: 81:[87, 6] Operation: 18/3=6
Exploring Operation: 18+3=21, Resulting Numbers: [87, 21]
Generated Node #0,1,3: 81:[87, 21] Operation: 18+3=21
Exploring Operation: 87/3=29, Resulting Numbers: [18, 29]
Generated Node #0,1,4: 81:[18, 29] Operation: 87/3=29
Moving to Node #0,2
Current State: 81:[87, 48, 33], Operations: ['51-18=33']
Exploring Operation: 48+33=81, Resulting Numbers: [87, 81]
Generated Node #0,2,0: 81:[87, 81] Operation: 48+33=81
Exploring Operation: 48-33=15, Resulting Numbers: [87, 15]
Generated Node #0,2,1: 81:[87, 15] Operation: 48-33=15
Exploring Operation: 87-33=54, Resulting Numbers: [48, 54]
Generated Node #0,2,2: 81:[48, 54] Operation: 87-33=54
Exploring Operation: 87+48=135, Resulting Numbers: [33, 135]
Generated Node #0,2,3: 81:[33, 135] Operation: 87+48=135
Exploring Operation: 87-48=39, Resulting Numbers: [33, 39]
Generated Node #0,2,4: 81:[33, 39] Operation: 87-48=39
Moving to Node #0,0
Current State: 81:[87, 51, 30], Operations: ['48-18=30']
Exploring Operation: 51-30=21, Resulting Numbers: [87, 21]
Generated Node #0,0,0: 81:[87, 21] Operation: 51-30=21
Exploring Operation: 51+30=81, Resulting Numbers: [87, 81]
Generated Node #0,0,1: 81:[87, 81] Operation: 51+30=81
Exploring Operation: 87+51=138, Resulting Numbers: [30, 138]
Generated Node #0,0,2: 81:[30, 138] Operation: 87+51=138
Exploring Operation: 87-51=36, Resulting Numbers: [30, 36]
Generated Node #0,0,3: 81:[30, 36] Operation: 87-51=36
Exploring Operation: 87-30=57, Resulting Numbers: [51, 57]
Generated Node #0,0,4: 81:[51, 57] Operation: 87-30=57
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[87, 81], Operations: ['48-18=30', '51+30=81']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,81 unequal: No Solution
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[87, 21], Operations: ['48-18=30', '51-30=21']
Exploring Operation: 87*21=1827, Resulting Numbers: [1827]
1827,81 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[30, 36], Operations: ['48-18=30', '87-51=36']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 81:[51, 57], Operations: ['48-18=30', '87-30=57']
Exploring Operation: 51+57=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 51*57=2907, Resulting Numbers: [2907]
2907,81 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[30, 138], Operations: ['48-18=30', '87+51=138']
Exploring Operation: 30*138=4140, Resulting Numbers: [4140]
4140,81 unequal: No Solution
Exploring Operation: 30+138=168, Resulting Numbers: [168]
168,81 unequal: No Solution
Exploring Operation: 138-30=108, Resulting Numbers: [108]
108,81 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: 81:[87, 18, 99], Operations: ['51+48=99']
Exploring Operation: 87+18=105, Resulting Numbers: [99, 105]
Generated Node #0,4,0: 81:[99, 105] Operation: 87+18=105
Exploring Operation: 99-87=12, Resulting Numbers: [18, 12]
Generated Node #0,4,1: 81:[18, 12] Operation: 99-87=12
Exploring Operation: 99-18=81, Resulting Numbers: [87, 81]
Generated Node #0,4,2: 81:[87, 81] Operation: 99-18=81
Exploring Operation: 87-18=69, Resulting Numbers: [99, 69]
Generated Node #0,4,3: 81:[99, 69] Operation: 87-18=69
Exploring Operation: 18+99=117, Resulting Numbers: [87, 117]
Generated Node #0,4,4: 81:[87, 117] Operation: 18+99=117
Moving to Node #0,3
Current State: 81:[18, 48, 36], Operations: ['87-51=36']
Exploring Operation: 48+36=84, Resulting Numbers: [18, 84]
Generated Node #0,3,0: 81:[18, 84] Operation: 48+36=84
Exploring Operation: 48-18=30, Resulting Numbers: [36, 30]
Generated Node #0,3,1: 81:[36, 30] Operation: 48-18=30
Exploring Operation: 48-36=12, Resulting Numbers: [18, 12]
Generated Node #0,3,2: 81:[18, 12] Operation: 48-36=12
Exploring Operation: 18+48=66, Resulting Numbers: [36, 66]
Generated Node #0,3,3: 81:[36, 66] Operation: 18+48=66
Exploring Operation: 36/18=2, Resulting Numbers: [48, 2]
Generated Node #0,3,4: 81:[48, 2] Operation: 36/18=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[18, 84], Operations: ['87-51=36', '48+36=84']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 18+84=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 18*84=1512, Resulting Numbers: [1512]
1512,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[36, 30], Operations: ['87-51=36', '48-18=30']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[18, 12], Operations: ['87-51=36', '48-36=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,81 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 81:[48, 2], Operations: ['87-51=36', '36/18=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,81 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[36, 66], Operations: ['87-51=36', '18+48=66']
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,81 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: 81:[87, 81], Operations: ['51-18=33', '48+33=81']
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,81 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[87, 81], Operations: ['51+48=99', '99-18=81']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,81 unequal: No Solution
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[87, 6], Operations: ['51-48=3', '18/3=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[87, 51, 18, 48], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [87, 18, 3]
Generated Node #0,1: 81:[87, 18, 3] Operation: 51-48=3
Moving to Node #0,1
Current State: 81:[87, 18, 3], Operations: ['51-48=3']
Exploring Operation: 18/3=6, Resulting Numbers: [87, 6]
Generated Node #0,1,2: 81:[87, 6] Operation: 18/3=6
Moving to Node #0,1,2
Current State: 81:[87, 6], Operations: ['51-48=3', '18/3=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.9375 | hs_5 | sum_heuristic |
[
56,
95,
76,
5
] | 91 | [
"76-56=20",
"20/5=4",
"95-4=91"
] | Current State: 91:[56, 95, 76, 5], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [95, 5, 20]
Generated Node #2: [95, 5, 20] from Operation: 76-56=20
Current State: 91:[95, 5, 20], Operations: ['76-56=20']
Exploring Operation: 20/5=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 20/5=4
Current State: 91:[95, 4], Operations: ['76-56=20', '20/5=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[56, 95, 76, 5], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [95, 5, 20]
Generated Node #0,0: 91:[95, 5, 20] Operation: 76-56=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[95, 5, 20], Operations: ['76-56=20']
Exploring Operation: 20-5=15, Resulting Numbers: [95, 15]
Generated Node #0,0,0: 91:[95, 15] Operation: 20-5=15
Moving to Node #0,0,0
Current State: 91:[95, 15], Operations: ['76-56=20', '20-5=15']
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,91 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 |
[
98,
47,
61,
36
] | 46 | [
"98-47=51",
"61+36=97",
"97-51=46"
] | Current State: 46:[98, 47, 61, 36], Operations: []
Exploring Operation: 98-47=51, Resulting Numbers: [61, 36, 51]
Generated Node #2: [61, 36, 51] from Operation: 98-47=51
Current State: 46:[61, 36, 51], Operations: ['98-47=51']
Exploring Operation: 61+36=97, Resulting Numbers: [51, 97]
Generated Node #3: [51, 97] from Operation: 61+36=97
Current State: 46:[51, 97], Operations: ['98-47=51', '61+36=97']
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[98, 47, 61, 36], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [47, 61, 62]
Generated Node #0,0: 46:[47, 61, 62] Operation: 98-36=62
Exploring Operation: 98-61=37, Resulting Numbers: [47, 36, 37]
Generated Node #0,1: 46:[47, 36, 37] Operation: 98-61=37
Exploring Operation: 98-47=51, Resulting Numbers: [61, 36, 51]
Generated Node #0,2: 46:[61, 36, 51] Operation: 98-47=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[47, 36, 37], Operations: ['98-61=37']
Exploring Operation: 37-36=1, Resulting Numbers: [47, 1]
Generated Node #0,1,0: 46:[47, 1] Operation: 37-36=1
Exploring Operation: 47-36=11, Resulting Numbers: [37, 11]
Generated Node #0,1,1: 46:[37, 11] Operation: 47-36=11
Exploring Operation: 47-37=10, Resulting Numbers: [36, 10]
Generated Node #0,1,2: 46:[36, 10] Operation: 47-37=10
Moving to Node #0,1,0
Current State: 46:[47, 1], Operations: ['98-61=37', '37-36=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[98, 47, 61, 36], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [47, 36, 37]
Generated Node #0,1: 46:[47, 36, 37] Operation: 98-61=37
Moving to Node #0,1
Current State: 46:[47, 36, 37], Operations: ['98-61=37']
Exploring Operation: 37-36=1, Resulting Numbers: [47, 1]
Generated Node #0,1,0: 46:[47, 1] Operation: 37-36=1
Moving to Node #0,1,0
Current State: 46:[47, 1], Operations: ['98-61=37', '37-36=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
41,
59,
13,
90
] | 59 | [
"59-41=18",
"90-13=77",
"77-18=59"
] | Current State: 59:[41, 59, 13, 90], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [13, 90, 18]
Generated Node #2: [13, 90, 18] from Operation: 59-41=18
Current State: 59:[13, 90, 18], Operations: ['59-41=18']
Exploring Operation: 90-13=77, Resulting Numbers: [18, 77]
Generated Node #3: [18, 77] from Operation: 90-13=77
Current State: 59:[18, 77], Operations: ['59-41=18', '90-13=77']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[41, 59, 13, 90], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [59, 13, 49]
Generated Node #0,0: 59:[59, 13, 49] Operation: 90-41=49
Exploring Operation: 41-13=28, Resulting Numbers: [59, 90, 28]
Generated Node #0,1: 59:[59, 90, 28] Operation: 41-13=28
Exploring Operation: 41+13=54, Resulting Numbers: [59, 90, 54]
Generated Node #0,2: 59:[59, 90, 54] Operation: 41+13=54
Exploring Operation: 90-13=77, Resulting Numbers: [41, 59, 77]
Generated Node #0,3: 59:[41, 59, 77] Operation: 90-13=77
Exploring Operation: 59+13=72, Resulting Numbers: [41, 90, 72]
Generated Node #0,4: 59:[41, 90, 72] Operation: 59+13=72
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[59, 90, 54], Operations: ['41+13=54']
Exploring Operation: 59-54=5, Resulting Numbers: [90, 5]
Generated Node #0,2,0: 59:[90, 5] Operation: 59-54=5
Exploring Operation: 90-59=31, Resulting Numbers: [54, 31]
Generated Node #0,2,1: 59:[54, 31] Operation: 90-59=31
Exploring Operation: 59+54=113, Resulting Numbers: [90, 113]
Generated Node #0,2,2: 59:[90, 113] Operation: 59+54=113
Exploring Operation: 90-54=36, Resulting Numbers: [59, 36]
Generated Node #0,2,3: 59:[59, 36] Operation: 90-54=36
Exploring Operation: 90+54=144, Resulting Numbers: [59, 144]
Generated Node #0,2,4: 59:[59, 144] Operation: 90+54=144
Moving to Node #0,2,3
Current State: 59:[59, 36], Operations: ['41+13=54', '90-54=36']
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,59 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[54, 31], Operations: ['41+13=54', '90-59=31']
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[90, 5], Operations: ['41+13=54', '59-54=5']
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,59 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[90, 113], Operations: ['41+13=54', '59+54=113']
Exploring Operation: 113-90=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 90*113=10170, Resulting Numbers: [10170]
10170,59 unequal: No Solution
Exploring Operation: 90+113=203, Resulting Numbers: [203]
203,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[59, 144], Operations: ['41+13=54', '90+54=144']
Exploring Operation: 144-59=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 59*144=8496, Resulting Numbers: [8496]
8496,59 unequal: No Solution
Exploring Operation: 59+144=203, Resulting Numbers: [203]
203,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,3
Current State: 59:[41, 59, 77], Operations: ['90-13=77']
Exploring Operation: 59-41=18, Resulting Numbers: [77, 18]
Generated Node #0,3,0: 59:[77, 18] Operation: 59-41=18
Exploring Operation: 41+59=100, Resulting Numbers: [77, 100]
Generated Node #0,3,1: 59:[77, 100] Operation: 41+59=100
Exploring Operation: 77-41=36, Resulting Numbers: [59, 36]
Generated Node #0,3,2: 59:[59, 36] Operation: 77-41=36
Exploring Operation: 41+77=118, Resulting Numbers: [59, 118]
Generated Node #0,3,3: 59:[59, 118] Operation: 41+77=118
Exploring Operation: 77-59=18, Resulting Numbers: [41, 18]
Generated Node #0,3,4: 59:[41, 18] Operation: 77-59=18
Moving to Node #0,3,2
Current State: 59:[59, 36], Operations: ['90-13=77', '77-41=36']
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,59 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[77, 100], Operations: ['90-13=77', '41+59=100']
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[41, 18], Operations: ['90-13=77', '77-59=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[41, 59, 13, 90], Operations: []
Exploring Operation: 90-13=77, Resulting Numbers: [41, 59, 77]
Generated Node #0,3: 59:[41, 59, 77] Operation: 90-13=77
Moving to Node #0,3
Current State: 59:[41, 59, 77], Operations: ['90-13=77']
Exploring Operation: 77-59=18, Resulting Numbers: [41, 18]
Generated Node #0,3,4: 59:[41, 18] Operation: 77-59=18
Moving to Node #0,3,4
Current State: 59:[41, 18], Operations: ['90-13=77', '77-59=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
61,
30,
63,
69
] | 37 | [
"61-30=31",
"69-63=6",
"31+6=37"
] | Current State: 37:[61, 30, 63, 69], Operations: []
Exploring Operation: 61-30=31, Resulting Numbers: [63, 69, 31]
Generated Node #2: [63, 69, 31] from Operation: 61-30=31
Current State: 37:[63, 69, 31], Operations: ['61-30=31']
Exploring Operation: 69-63=6, Resulting Numbers: [31, 6]
Generated Node #3: [31, 6] from Operation: 69-63=6
Current State: 37:[31, 6], Operations: ['61-30=31', '69-63=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[61, 30, 63, 69], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [61, 63, 39]
Generated Node #0,0: 37:[61, 63, 39] Operation: 69-30=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[61, 63, 39], Operations: ['69-30=39']
Exploring Operation: 63-61=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 37:[39, 2] Operation: 63-61=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[39, 2], Operations: ['69-30=39', '63-61=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[61, 30, 63, 69], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [61, 63, 39]
Generated Node #0,0: 37:[61, 63, 39] Operation: 69-30=39
Moving to Node #0,0
Current State: 37:[61, 63, 39], Operations: ['69-30=39']
Exploring Operation: 63-61=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 37:[39, 2] Operation: 63-61=2
Moving to Node #0,0,0
Current State: 37:[39, 2], Operations: ['69-30=39', '63-61=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
59,
61,
7,
66
] | 57 | [
"61-59=2",
"66-7=59",
"59-2=57"
] | Current State: 57:[59, 61, 7, 66], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [7, 66, 2]
Generated Node #2: [7, 66, 2] from Operation: 61-59=2
Current State: 57:[7, 66, 2], Operations: ['61-59=2']
Exploring Operation: 66-7=59, Resulting Numbers: [2, 59]
Generated Node #3: [2, 59] from Operation: 66-7=59
Current State: 57:[2, 59], Operations: ['61-59=2', '66-7=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[59, 61, 7, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [59, 7, 5]
Generated Node #0,0: 57:[59, 7, 5] Operation: 66-61=5
Exploring Operation: 66-7=59, Resulting Numbers: [59, 61, 59]
Generated Node #0,1: 57:[59, 61, 59] Operation: 66-7=59
Moving to Node #0,0
Current State: 57:[59, 7, 5], Operations: ['66-61=5']
Exploring Operation: 59-7=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 57:[5, 52] Operation: 59-7=52
Exploring Operation: 7-5=2, Resulting Numbers: [59, 2]
Generated Node #0,0,1: 57:[59, 2] Operation: 7-5=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[59, 2], Operations: ['66-61=5', '7-5=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[59, 61, 7, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [59, 7, 5]
Generated Node #0,0: 57:[59, 7, 5] Operation: 66-61=5
Moving to Node #0,0
Current State: 57:[59, 7, 5], Operations: ['66-61=5']
Exploring Operation: 7-5=2, Resulting Numbers: [59, 2]
Generated Node #0,0,1: 57:[59, 2] Operation: 7-5=2
Moving to Node #0,0,1
Current State: 57:[59, 2], Operations: ['66-61=5', '7-5=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
19,
75,
80,
16
] | 15 | [
"19-16=3",
"80-75=5",
"3*5=15"
] | Current State: 15:[19, 75, 80, 16], Operations: []
Exploring Operation: 19-16=3, Resulting Numbers: [75, 80, 3]
Generated Node #2: [75, 80, 3] from Operation: 19-16=3
Current State: 15:[75, 80, 3], Operations: ['19-16=3']
Exploring Operation: 80-75=5, Resulting Numbers: [3, 5]
Generated Node #3: [3, 5] from Operation: 80-75=5
Current State: 15:[3, 5], Operations: ['19-16=3', '80-75=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[19, 75, 80, 16], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [19, 16, 5]
Generated Node #0,0: 15:[19, 16, 5] Operation: 80-75=5
Moving to Node #0,0
Current State: 15:[19, 16, 5], Operations: ['80-75=5']
Exploring Operation: 19-16=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 15:[5, 3] Operation: 19-16=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[5, 3], Operations: ['80-75=5', '19-16=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[19, 75, 80, 16], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [19, 16, 5]
Generated Node #0,0: 15:[19, 16, 5] Operation: 80-75=5
Moving to Node #0,0
Current State: 15:[19, 16, 5], Operations: ['80-75=5']
Exploring Operation: 19-16=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 15:[5, 3] Operation: 19-16=3
Moving to Node #0,0,0
Current State: 15:[5, 3], Operations: ['80-75=5', '19-16=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
96,
68,
20,
3
] | 32 | [
"96-68=28",
"20*3=60",
"60-28=32"
] | Current State: 32:[96, 68, 20, 3], Operations: []
Exploring Operation: 96-68=28, Resulting Numbers: [20, 3, 28]
Generated Node #2: [20, 3, 28] from Operation: 96-68=28
Current State: 32:[20, 3, 28], Operations: ['96-68=28']
Exploring Operation: 20*3=60, Resulting Numbers: [28, 60]
Generated Node #3: [28, 60] from Operation: 20*3=60
Current State: 32:[28, 60], Operations: ['96-68=28', '20*3=60']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[96, 68, 20, 3], Operations: []
Exploring Operation: 96-20=76, Resulting Numbers: [68, 3, 76]
Generated Node #0,0: 32:[68, 3, 76] Operation: 96-20=76
Exploring Operation: 96-68=28, Resulting Numbers: [20, 3, 28]
Generated Node #0,1: 32:[20, 3, 28] Operation: 96-68=28
Exploring Operation: 96/3=32, Resulting Numbers: [68, 20, 32]
Generated Node #0,2: 32:[68, 20, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[20, 3, 28], Operations: ['96-68=28']
Exploring Operation: 20-3=17, Resulting Numbers: [28, 17]
Generated Node #0,1,0: 32:[28, 17] Operation: 20-3=17
Exploring Operation: 28-20=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 32:[3, 8] Operation: 28-20=8
Exploring Operation: 3+28=31, Resulting Numbers: [20, 31]
Generated Node #0,1,2: 32:[20, 31] Operation: 3+28=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[3, 8], Operations: ['96-68=28', '28-20=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[28, 17], Operations: ['96-68=28', '20-3=17']
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,32 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[20, 31], Operations: ['96-68=28', '3+28=31']
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,32 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[68, 20, 32], Operations: ['96/3=32']
Exploring Operation: 68-20=48, Resulting Numbers: [32, 48]
Generated Node #0,2,0: 32:[32, 48] Operation: 68-20=48
Exploring Operation: 68-32=36, Resulting Numbers: [20, 36]
Generated Node #0,2,1: 32:[20, 36] Operation: 68-32=36
Exploring Operation: 32-20=12, Resulting Numbers: [68, 12]
Generated Node #0,2,2: 32:[68, 12] Operation: 32-20=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[20, 36], Operations: ['96/3=32', '68-32=36']
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[32, 48], Operations: ['96/3=32', '68-20=48']
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,32 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[68, 12], Operations: ['96/3=32', '32-20=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[68, 3, 76], Operations: ['96-20=76']
Exploring Operation: 76-68=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 32:[3, 8] Operation: 76-68=8
Exploring Operation: 76-3=73, Resulting Numbers: [68, 73]
Generated Node #0,0,1: 32:[68, 73] Operation: 76-3=73
Exploring Operation: 68-3=65, Resulting Numbers: [76, 65]
Generated Node #0,0,2: 32:[76, 65] Operation: 68-3=65
Moving to Node #0,0,0
Current State: 32:[3, 8], Operations: ['96-20=76', '76-68=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[68, 73], Operations: ['96-20=76', '76-3=73']
Exploring Operation: 68*73=4964, Resulting Numbers: [4964]
4964,32 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 68+73=141, Resulting Numbers: [141]
141,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[76, 65], Operations: ['96-20=76', '68-3=65']
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,32 unequal: No Solution
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,32 unequal: No Solution
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,32 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 |
[
6,
14,
1,
35
] | 16 | [
"6+14=20",
"1+35=36",
"36-20=16"
] | Current State: 16:[6, 14, 1, 35], Operations: []
Exploring Operation: 6+14=20, Resulting Numbers: [1, 35, 20]
Generated Node #2: [1, 35, 20] from Operation: 6+14=20
Current State: 16:[1, 35, 20], Operations: ['6+14=20']
Exploring Operation: 1+35=36, Resulting Numbers: [20, 36]
Generated Node #3: [20, 36] from Operation: 1+35=36
Current State: 16:[20, 36], Operations: ['6+14=20', '1+35=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[6, 14, 1, 35], Operations: []
Exploring Operation: 35-14=21, Resulting Numbers: [6, 1, 21]
Generated Node #0,0: 16:[6, 1, 21] Operation: 35-14=21
Exploring Operation: 35-6=29, Resulting Numbers: [14, 1, 29]
Generated Node #0,1: 16:[14, 1, 29] Operation: 35-6=29
Moving to Node #0,0
Current State: 16:[6, 1, 21], Operations: ['35-14=21']
Exploring Operation: 21-6=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 16:[1, 15] Operation: 21-6=15
Exploring Operation: 6+1=7, Resulting Numbers: [21, 7]
Generated Node #0,0,1: 16:[21, 7] Operation: 6+1=7
Moving to Node #0,1
Current State: 16:[14, 1, 29], Operations: ['35-6=29']
Exploring Operation: 29-14=15, Resulting Numbers: [1, 15]
Generated Node #0,1,0: 16:[1, 15] Operation: 29-14=15
Exploring Operation: 14+1=15, Resulting Numbers: [29, 15]
Generated Node #0,1,1: 16:[29, 15] Operation: 14+1=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[1, 15], Operations: ['35-6=29', '29-14=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[6, 14, 1, 35], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [14, 1, 29]
Generated Node #0,1: 16:[14, 1, 29] Operation: 35-6=29
Moving to Node #0,1
Current State: 16:[14, 1, 29], Operations: ['35-6=29']
Exploring Operation: 29-14=15, Resulting Numbers: [1, 15]
Generated Node #0,1,0: 16:[1, 15] Operation: 29-14=15
Moving to Node #0,1,0
Current State: 16:[1, 15], Operations: ['35-6=29', '29-14=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
56,
52,
29,
60
] | 85 | [
"56-52=4",
"29+60=89",
"89-4=85"
] | Current State: 85:[56, 52, 29, 60], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [29, 60, 4]
Generated Node #2: [29, 60, 4] from Operation: 56-52=4
Current State: 85:[29, 60, 4], Operations: ['56-52=4']
Exploring Operation: 29+60=89, Resulting Numbers: [4, 89]
Generated Node #3: [4, 89] from Operation: 29+60=89
Current State: 85:[4, 89], Operations: ['56-52=4', '29+60=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[56, 52, 29, 60], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [56, 29, 8]
Generated Node #0,0: 85:[56, 29, 8] Operation: 60-52=8
Exploring Operation: 60-56=4, Resulting Numbers: [52, 29, 4]
Generated Node #0,1: 85:[52, 29, 4] Operation: 60-56=4
Exploring Operation: 56-52=4, Resulting Numbers: [29, 60, 4]
Generated Node #0,2: 85:[29, 60, 4] Operation: 56-52=4
Exploring Operation: 56+29=85, Resulting Numbers: [52, 60, 85]
Generated Node #0,3: 85:[52, 60, 85] Operation: 56+29=85
Moving to Node #0,2
Current State: 85:[29, 60, 4], Operations: ['56-52=4']
Exploring Operation: 29-4=25, Resulting Numbers: [60, 25]
Generated Node #0,2,0: 85:[60, 25] Operation: 29-4=25
Exploring Operation: 60-29=31, Resulting Numbers: [4, 31]
Generated Node #0,2,1: 85:[4, 31] Operation: 60-29=31
Exploring Operation: 60/4=15, Resulting Numbers: [29, 15]
Generated Node #0,2,2: 85:[29, 15] Operation: 60/4=15
Exploring Operation: 29+60=89, Resulting Numbers: [4, 89]
Generated Node #0,2,3: 85:[4, 89] Operation: 29+60=89
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[4, 89], Operations: ['56-52=4', '29+60=89']
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,85 unequal: No Solution
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[56, 52, 29, 60], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [29, 60, 4]
Generated Node #0,2: 85:[29, 60, 4] Operation: 56-52=4
Moving to Node #0,2
Current State: 85:[29, 60, 4], Operations: ['56-52=4']
Exploring Operation: 29+60=89, Resulting Numbers: [4, 89]
Generated Node #0,2,3: 85:[4, 89] Operation: 29+60=89
Moving to Node #0,2,3
Current State: 85:[4, 89], Operations: ['56-52=4', '29+60=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
18,
9,
9,
24
] | 66 | [
"18/9=2",
"9+24=33",
"2*33=66"
] | Current State: 66:[18, 9, 9, 24], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [24, 2]
Generated Node #2: [24, 2] from Operation: 18/9=2
Current State: 66:[24, 2], Operations: ['18/9=2']
Exploring Operation: 9+24=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 9+24=33
Current State: 66:[2, 33], Operations: ['18/9=2', '9+24=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[18, 9, 9, 24], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [9, 24, 2]
Generated Node #0,0: 66:[9, 24, 2] Operation: 18/9=2
Moving to Node #0,0
Current State: 66:[9, 24, 2], Operations: ['18/9=2']
Exploring Operation: 9+24=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 66:[2, 33] Operation: 9+24=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[2, 33], Operations: ['18/9=2', '9+24=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[18, 9, 9, 24], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [9, 24, 2]
Generated Node #0,0: 66:[9, 24, 2] Operation: 18/9=2
Moving to Node #0,0
Current State: 66:[9, 24, 2], Operations: ['18/9=2']
Exploring Operation: 9+24=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 66:[2, 33] Operation: 9+24=33
Moving to Node #0,0,0
Current State: 66:[2, 33], Operations: ['18/9=2', '9+24=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
67,
79,
98,
10
] | 11 | [
"79-67=12",
"98+12=110",
"110/10=11"
] | Current State: 11:[67, 79, 98, 10], Operations: []
Exploring Operation: 79-67=12, Resulting Numbers: [98, 10, 12]
Generated Node #2: [98, 10, 12] from Operation: 79-67=12
Current State: 11:[98, 10, 12], Operations: ['79-67=12']
Exploring Operation: 98+12=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 98+12=110
Current State: 11:[10, 110], Operations: ['79-67=12', '98+12=110']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[67, 79, 98, 10], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [67, 10, 19]
Generated Node #0,0: 11:[67, 10, 19] Operation: 98-79=19
Exploring Operation: 79-67=12, Resulting Numbers: [98, 10, 12]
Generated Node #0,1: 11:[98, 10, 12] Operation: 79-67=12
Exploring Operation: 98-67=31, Resulting Numbers: [79, 10, 31]
Generated Node #0,2: 11:[79, 10, 31] Operation: 98-67=31
Exploring Operation: 67-10=57, Resulting Numbers: [79, 98, 57]
Generated Node #0,3: 11:[79, 98, 57] Operation: 67-10=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[67, 10, 19], Operations: ['98-79=19']
Exploring Operation: 19-10=9, Resulting Numbers: [67, 9]
Generated Node #0,0,0: 11:[67, 9] Operation: 19-10=9
Exploring Operation: 67-10=57, Resulting Numbers: [19, 57]
Generated Node #0,0,1: 11:[19, 57] Operation: 67-10=57
Exploring Operation: 67+10=77, Resulting Numbers: [19, 77]
Generated Node #0,0,2: 11:[19, 77] Operation: 67+10=77
Exploring Operation: 67-19=48, Resulting Numbers: [10, 48]
Generated Node #0,0,3: 11:[10, 48] Operation: 67-19=48
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 11:[10, 48], Operations: ['98-79=19', '67-19=48']
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,11 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,11 unequal: No Solution
No 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: 11:[19, 57], Operations: ['98-79=19', '67-10=57']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,11 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,11 unequal: No Solution
No 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: 11:[67, 9], Operations: ['98-79=19', '19-10=9']
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,11 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,11 unequal: No Solution
No 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: 11:[19, 77], Operations: ['98-79=19', '67+10=77']
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,11 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,11 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: 11:[98, 10, 12], Operations: ['79-67=12']
Exploring Operation: 12-10=2, Resulting Numbers: [98, 2]
Generated Node #0,1,0: 11:[98, 2] Operation: 12-10=2
Exploring Operation: 98+10=108, Resulting Numbers: [12, 108]
Generated Node #0,1,1: 11:[12, 108] Operation: 98+10=108
Exploring Operation: 98-12=86, Resulting Numbers: [10, 86]
Generated Node #0,1,2: 11:[10, 86] Operation: 98-12=86
Exploring Operation: 98-10=88, Resulting Numbers: [12, 88]
Generated Node #0,1,3: 11:[12, 88] Operation: 98-10=88
Moving to Node #0,1,2
Current State: 11:[10, 86], Operations: ['79-67=12', '98-12=86']
Exploring Operation: 10+86=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Exploring Operation: 10*86=860, Resulting Numbers: [860]
860,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[12, 88], Operations: ['79-67=12', '98-10=88']
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 12*88=1056, Resulting Numbers: [1056]
1056,11 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[98, 2], Operations: ['79-67=12', '12-10=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[12, 108], Operations: ['79-67=12', '98+10=108']
Exploring Operation: 12*108=1296, Resulting Numbers: [1296]
1296,11 unequal: No Solution
Exploring Operation: 12+108=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 108/12=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 108-12=96, Resulting Numbers: [96]
96,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[79, 10, 31], Operations: ['98-67=31']
Exploring Operation: 31-10=21, Resulting Numbers: [79, 21]
Generated Node #0,2,0: 11:[79, 21] Operation: 31-10=21
Exploring Operation: 79-31=48, Resulting Numbers: [10, 48]
Generated Node #0,2,1: 11:[10, 48] Operation: 79-31=48
Exploring Operation: 79-10=69, Resulting Numbers: [31, 69]
Generated Node #0,2,2: 11:[31, 69] Operation: 79-10=69
Exploring Operation: 79+10=89, Resulting Numbers: [31, 89]
Generated Node #0,2,3: 11:[31, 89] Operation: 79+10=89
Moving to Node #0,2,1
Current State: 11:[10, 48], Operations: ['98-67=31', '79-31=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,11 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[31, 69], Operations: ['98-67=31', '79-10=69']
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 31*69=2139, Resulting Numbers: [2139]
2139,11 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[79, 21], Operations: ['98-67=31', '31-10=21']
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 79*21=1659, Resulting Numbers: [1659]
1659,11 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[31, 89], Operations: ['98-67=31', '79+10=89']
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 31*89=2759, Resulting Numbers: [2759]
2759,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,3
Current State: 11:[79, 98, 57], Operations: ['67-10=57']
Exploring Operation: 79+98=177, Resulting Numbers: [57, 177]
Generated Node #0,3,0: 11:[57, 177] Operation: 79+98=177
Exploring Operation: 98-57=41, Resulting Numbers: [79, 41]
Generated Node #0,3,1: 11:[79, 41] Operation: 98-57=41
Exploring Operation: 98-79=19, Resulting Numbers: [57, 19]
Generated Node #0,3,2: 11:[57, 19] Operation: 98-79=19
Exploring Operation: 79-57=22, Resulting Numbers: [98, 22]
Generated Node #0,3,3: 11:[98, 22] Operation: 79-57=22
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 11:[57, 19], Operations: ['67-10=57', '98-79=19']
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,11 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,11 unequal: No Solution
No 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: 11:[79, 41], Operations: ['67-10=57', '98-57=41']
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,11 unequal: No Solution
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,11 unequal: No Solution
No 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: 11:[98, 22], Operations: ['67-10=57', '79-57=22']
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Exploring Operation: 98*22=2156, Resulting Numbers: [2156]
2156,11 unequal: No Solution
Exploring Operation: 98+22=120, Resulting Numbers: [120]
120,11 unequal: No Solution
No 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: 11:[57, 177], Operations: ['67-10=57', '79+98=177']
Exploring Operation: 57*177=10089, Resulting Numbers: [10089]
10089,11 unequal: No Solution
Exploring Operation: 177-57=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 57+177=234, Resulting Numbers: [234]
234,11 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 |
[
84,
50,
95,
80
] | 68 | [
"95*80=7600",
"7600/50=152",
"152-84=68"
] | Current State: 68:[84, 50, 95, 80], Operations: []
Exploring Operation: 95*80=7600, Resulting Numbers: [84, 50, 7600]
Generated Node #2: [84, 50, 7600] from Operation: 95*80=7600
Current State: 68:[84, 50, 7600], Operations: ['95*80=7600']
Exploring Operation: 7600/50=152, Resulting Numbers: [84, 152]
Generated Node #3: [84, 152] from Operation: 7600/50=152
Current State: 68:[84, 152], Operations: ['95*80=7600', '7600/50=152']
Exploring Operation: 152-84=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[84, 50, 95, 80], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [50, 80, 11]
Generated Node #0,0: 68:[50, 80, 11] Operation: 95-84=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[50, 80, 11], Operations: ['95-84=11']
Exploring Operation: 80-50=30, Resulting Numbers: [11, 30]
Generated Node #0,0,0: 68:[11, 30] Operation: 80-50=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[11, 30], Operations: ['95-84=11', '80-50=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,68 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 |
[
89,
48,
65,
2
] | 72 | [
"89-65=24",
"48*2=96",
"96-24=72"
] | Current State: 72:[89, 48, 65, 2], Operations: []
Exploring Operation: 89-65=24, Resulting Numbers: [48, 2, 24]
Generated Node #2: [48, 2, 24] from Operation: 89-65=24
Current State: 72:[48, 2, 24], Operations: ['89-65=24']
Exploring Operation: 48*2=96, Resulting Numbers: [24, 96]
Generated Node #3: [24, 96] from Operation: 48*2=96
Current State: 72:[24, 96], Operations: ['89-65=24', '48*2=96']
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[89, 48, 65, 2], Operations: []
Exploring Operation: 89-48=41, Resulting Numbers: [65, 2, 41]
Generated Node #0,0: 72:[65, 2, 41] Operation: 89-48=41
Exploring Operation: 89-65=24, Resulting Numbers: [48, 2, 24]
Generated Node #0,1: 72:[48, 2, 24] Operation: 89-65=24
Moving to Node #0,0
Current State: 72:[65, 2, 41], Operations: ['89-48=41']
Exploring Operation: 65+2=67, Resulting Numbers: [41, 67]
Generated Node #0,0,0: 72:[41, 67] Operation: 65+2=67
Exploring Operation: 65-41=24, Resulting Numbers: [2, 24]
Generated Node #0,0,1: 72:[2, 24] Operation: 65-41=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[2, 24], Operations: ['89-48=41', '65-41=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No 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: 72:[41, 67], Operations: ['89-48=41', '65+2=67']
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,72 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,72 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: 72:[48, 2, 24], Operations: ['89-65=24']
Exploring Operation: 48/2=24, Resulting Numbers: [24, 24]
Generated Node #0,1,0: 72:[24, 24] Operation: 48/2=24
Exploring Operation: 48+24=72, Resulting Numbers: [2, 72]
Generated Node #0,1,1: 72:[2, 72] Operation: 48+24=72
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[24, 24], Operations: ['89-65=24', '48/2=24']
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,72 unequal: No Solution
No 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: 72:[2, 72], Operations: ['89-65=24', '48+24=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
65,
28,
27,
56
] | 65 | [
"28+27=55",
"56-55=1",
"65*1=65"
] | Current State: 65:[65, 28, 27, 56], Operations: []
Exploring Operation: 28+27=55, Resulting Numbers: [65, 56, 55]
Generated Node #2: [65, 56, 55] from Operation: 28+27=55
Current State: 65:[65, 56, 55], Operations: ['28+27=55']
Exploring Operation: 56-55=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 56-55=1
Current State: 65:[65, 1], Operations: ['28+27=55', '56-55=1']
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[65, 28, 27, 56], Operations: []
Exploring Operation: 28+27=55, Resulting Numbers: [65, 56, 55]
Generated Node #0,0: 65:[65, 56, 55] Operation: 28+27=55
Exploring Operation: 56-28=28, Resulting Numbers: [65, 27, 28]
Generated Node #0,1: 65:[65, 27, 28] Operation: 56-28=28
Exploring Operation: 28-27=1, Resulting Numbers: [65, 56, 1]
Generated Node #0,2: 65:[65, 56, 1] Operation: 28-27=1
Exploring Operation: 56/28=2, Resulting Numbers: [65, 27, 2]
Generated Node #0,3: 65:[65, 27, 2] Operation: 56/28=2
Moving to Node #0,2
Current State: 65:[65, 56, 1], Operations: ['28-27=1']
Exploring Operation: 56+1=57, Resulting Numbers: [65, 57]
Generated Node #0,2,0: 65:[65, 57] Operation: 56+1=57
Exploring Operation: 65*1=65, Resulting Numbers: [56, 65]
Generated Node #0,2,1: 65:[56, 65] Operation: 65*1=65
Exploring Operation: 65-56=9, Resulting Numbers: [1, 9]
Generated Node #0,2,2: 65:[1, 9] Operation: 65-56=9
Exploring Operation: 65/1=65, Resulting Numbers: [56, 65]
Generated Node #0,2,3: 65:[56, 65] Operation: 65/1=65
Moving to Node #0,3
Current State: 65:[65, 27, 2], Operations: ['56/28=2']
Exploring Operation: 27-2=25, Resulting Numbers: [65, 25]
Generated Node #0,3,0: 65:[65, 25] Operation: 27-2=25
Exploring Operation: 65-2=63, Resulting Numbers: [27, 63]
Generated Node #0,3,1: 65:[27, 63] Operation: 65-2=63
Exploring Operation: 27*2=54, Resulting Numbers: [65, 54]
Generated Node #0,3,2: 65:[65, 54] Operation: 27*2=54
Exploring Operation: 65+2=67, Resulting Numbers: [27, 67]
Generated Node #0,3,3: 65:[27, 67] Operation: 65+2=67
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[65, 54], Operations: ['56/28=2', '27*2=54']
Exploring Operation: 65*54=3510, Resulting Numbers: [3510]
3510,65 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,65 unequal: No Solution
No 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: 65:[65, 25], Operations: ['56/28=2', '27-2=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,65 unequal: No Solution
No 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: 65:[27, 63], Operations: ['56/28=2', '65-2=63']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,65 unequal: No Solution
No 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: 65:[27, 67], Operations: ['56/28=2', '65+2=67']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,65 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: 65:[65, 56, 55], Operations: ['28+27=55']
Exploring Operation: 56+55=111, Resulting Numbers: [65, 111]
Generated Node #0,0,0: 65:[65, 111] Operation: 56+55=111
Exploring Operation: 56-55=1, Resulting Numbers: [65, 1]
Generated Node #0,0,1: 65:[65, 1] Operation: 56-55=1
Exploring Operation: 65-56=9, Resulting Numbers: [55, 9]
Generated Node #0,0,2: 65:[55, 9] Operation: 65-56=9
Exploring Operation: 65-55=10, Resulting Numbers: [56, 10]
Generated Node #0,0,3: 65:[56, 10] Operation: 65-55=10
Moving to Node #0,1
Current State: 65:[65, 27, 28], Operations: ['56-28=28']
Exploring Operation: 28-27=1, Resulting Numbers: [65, 1]
Generated Node #0,1,0: 65:[65, 1] Operation: 28-27=1
Exploring Operation: 65-27=38, Resulting Numbers: [28, 38]
Generated Node #0,1,1: 65:[28, 38] Operation: 65-27=38
Exploring Operation: 27+28=55, Resulting Numbers: [65, 55]
Generated Node #0,1,2: 65:[65, 55] Operation: 27+28=55
Exploring Operation: 65-28=37, Resulting Numbers: [27, 37]
Generated Node #0,1,3: 65:[27, 37] Operation: 65-28=37
Moving to Node #0,0,1
Current State: 65:[65, 1], Operations: ['28+27=55', '56-55=1']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[65, 28, 27, 56], Operations: []
Exploring Operation: 28+27=55, Resulting Numbers: [65, 56, 55]
Generated Node #0,0: 65:[65, 56, 55] Operation: 28+27=55
Moving to Node #0,0
Current State: 65:[65, 56, 55], Operations: ['28+27=55']
Exploring Operation: 56-55=1, Resulting Numbers: [65, 1]
Generated Node #0,0,1: 65:[65, 1] Operation: 56-55=1
Moving to Node #0,0,1
Current State: 65:[65, 1], Operations: ['28+27=55', '56-55=1']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
97,
67,
99,
27
] | 20 | [
"99-97=2",
"67-27=40",
"40/2=20"
] | Current State: 20:[97, 67, 99, 27], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [67, 27, 2]
Generated Node #2: [67, 27, 2] from Operation: 99-97=2
Current State: 20:[67, 27, 2], Operations: ['99-97=2']
Exploring Operation: 67-27=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 67-27=40
Current State: 20:[2, 40], Operations: ['99-97=2', '67-27=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[97, 67, 99, 27], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [67, 27, 2]
Generated Node #0,0: 20:[67, 27, 2] Operation: 99-97=2
Exploring Operation: 97-67=30, Resulting Numbers: [99, 27, 30]
Generated Node #0,1: 20:[99, 27, 30] Operation: 97-67=30
Exploring Operation: 99-67=32, Resulting Numbers: [97, 27, 32]
Generated Node #0,2: 20:[97, 27, 32] Operation: 99-67=32
Moving to Node #0,0
Current State: 20:[67, 27, 2], Operations: ['99-97=2']
Exploring Operation: 67-2=65, Resulting Numbers: [27, 65]
Generated Node #0,0,0: 20:[27, 65] Operation: 67-2=65
Exploring Operation: 27-2=25, Resulting Numbers: [67, 25]
Generated Node #0,0,1: 20:[67, 25] Operation: 27-2=25
Exploring Operation: 67-27=40, Resulting Numbers: [2, 40]
Generated Node #0,0,2: 20:[2, 40] Operation: 67-27=40
Moving to Node #0,1
Current State: 20:[99, 27, 30], Operations: ['97-67=30']
Exploring Operation: 99-30=69, Resulting Numbers: [27, 69]
Generated Node #0,1,0: 20:[27, 69] Operation: 99-30=69
Exploring Operation: 30-27=3, Resulting Numbers: [99, 3]
Generated Node #0,1,1: 20:[99, 3] Operation: 30-27=3
Exploring Operation: 99-27=72, Resulting Numbers: [30, 72]
Generated Node #0,1,2: 20:[30, 72] Operation: 99-27=72
Moving to Node #0,2
Current State: 20:[97, 27, 32], Operations: ['99-67=32']
Exploring Operation: 97-32=65, Resulting Numbers: [27, 65]
Generated Node #0,2,0: 20:[27, 65] Operation: 97-32=65
Exploring Operation: 32-27=5, Resulting Numbers: [97, 5]
Generated Node #0,2,1: 20:[97, 5] Operation: 32-27=5
Exploring Operation: 97-27=70, Resulting Numbers: [32, 70]
Generated Node #0,2,2: 20:[32, 70] Operation: 97-27=70
Moving to Node #0,0,2
Current State: 20:[2, 40], Operations: ['99-97=2', '67-27=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[97, 67, 99, 27], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [67, 27, 2]
Generated Node #0,0: 20:[67, 27, 2] Operation: 99-97=2
Moving to Node #0,0
Current State: 20:[67, 27, 2], Operations: ['99-97=2']
Exploring Operation: 67-27=40, Resulting Numbers: [2, 40]
Generated Node #0,0,2: 20:[2, 40] Operation: 67-27=40
Moving to Node #0,0,2
Current State: 20:[2, 40], Operations: ['99-97=2', '67-27=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
38,
18,
69,
32
] | 26 | [
"38*32=1216",
"18*69=1242",
"1242-1216=26"
] | Current State: 26:[38, 18, 69, 32], Operations: []
Exploring Operation: 38*32=1216, Resulting Numbers: [18, 69, 1216]
Generated Node #2: [18, 69, 1216] from Operation: 38*32=1216
Current State: 26:[18, 69, 1216], Operations: ['38*32=1216']
Exploring Operation: 18*69=1242, Resulting Numbers: [1216, 1242]
Generated Node #3: [1216, 1242] from Operation: 18*69=1242
Current State: 26:[1216, 1242], Operations: ['38*32=1216', '18*69=1242']
Exploring Operation: 1242-1216=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[38, 18, 69, 32], Operations: []
Exploring Operation: 69-18=51, Resulting Numbers: [38, 32, 51]
Generated Node #0,0: 26:[38, 32, 51] Operation: 69-18=51
Exploring Operation: 38-32=6, Resulting Numbers: [18, 69, 6]
Generated Node #0,1: 26:[18, 69, 6] Operation: 38-32=6
Exploring Operation: 69-32=37, Resulting Numbers: [38, 18, 37]
Generated Node #0,2: 26:[38, 18, 37] Operation: 69-32=37
Exploring Operation: 69-38=31, Resulting Numbers: [18, 32, 31]
Generated Node #0,3: 26:[18, 32, 31] Operation: 69-38=31
Moving to Node #0,3
Current State: 26:[18, 32, 31], Operations: ['69-38=31']
Exploring Operation: 32-18=14, Resulting Numbers: [31, 14]
Generated Node #0,3,0: 26:[31, 14] Operation: 32-18=14
Exploring Operation: 31-18=13, Resulting Numbers: [32, 13]
Generated Node #0,3,1: 26:[32, 13] Operation: 31-18=13
Exploring Operation: 32-31=1, Resulting Numbers: [18, 1]
Generated Node #0,3,2: 26:[18, 1] Operation: 32-31=1
Exploring Operation: 18+32=50, Resulting Numbers: [31, 50]
Generated Node #0,3,3: 26:[31, 50] Operation: 18+32=50
Moving to Node #0,2
Current State: 26:[38, 18, 37], Operations: ['69-32=37']
Exploring Operation: 38+18=56, Resulting Numbers: [37, 56]
Generated Node #0,2,0: 26:[37, 56] Operation: 38+18=56
Exploring Operation: 38-37=1, Resulting Numbers: [18, 1]
Generated Node #0,2,1: 26:[18, 1] Operation: 38-37=1
Exploring Operation: 38-18=20, Resulting Numbers: [37, 20]
Generated Node #0,2,2: 26:[37, 20] Operation: 38-18=20
Exploring Operation: 37-18=19, Resulting Numbers: [38, 19]
Generated Node #0,2,3: 26:[38, 19] Operation: 37-18=19
Moving to Node #0,0
Current State: 26:[38, 32, 51], Operations: ['69-18=51']
Exploring Operation: 51-32=19, Resulting Numbers: [38, 19]
Generated Node #0,0,0: 26:[38, 19] Operation: 51-32=19
Exploring Operation: 38+32=70, Resulting Numbers: [51, 70]
Generated Node #0,0,1: 26:[51, 70] Operation: 38+32=70
Exploring Operation: 38-32=6, Resulting Numbers: [51, 6]
Generated Node #0,0,2: 26:[51, 6] Operation: 38-32=6
Exploring Operation: 51-38=13, Resulting Numbers: [32, 13]
Generated Node #0,0,3: 26:[32, 13] Operation: 51-38=13
Moving to Node #0,1
Current State: 26:[18, 69, 6], Operations: ['38-32=6']
Exploring Operation: 18-6=12, Resulting Numbers: [69, 12]
Generated Node #0,1,0: 26:[69, 12] Operation: 18-6=12
Exploring Operation: 69-18=51, Resulting Numbers: [6, 51]
Generated Node #0,1,1: 26:[6, 51] Operation: 69-18=51
Exploring Operation: 69-6=63, Resulting Numbers: [18, 63]
Generated Node #0,1,2: 26:[18, 63] Operation: 69-6=63
Exploring Operation: 18/6=3, Resulting Numbers: [69, 3]
Generated Node #0,1,3: 26:[69, 3] Operation: 18/6=3
Moving to Node #0,3,0
Current State: 26:[31, 14], Operations: ['69-38=31', '32-18=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[18, 1], Operations: ['69-38=31', '32-31=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[32, 13], Operations: ['69-38=31', '31-18=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[18, 1], Operations: ['69-32=37', '38-37=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[32, 13], Operations: ['69-18=51', '51-38=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,26 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[37, 20], Operations: ['69-32=37', '38-18=20']
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,26 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[38, 19], Operations: ['69-32=37', '37-18=19']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,26 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[38, 19], Operations: ['69-18=51', '51-32=19']
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,26 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[6, 51], Operations: ['38-32=6', '69-18=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,26 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[51, 6], Operations: ['69-18=51', '38-32=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[31, 50], Operations: ['69-38=31', '18+32=50']
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[37, 56], Operations: ['69-32=37', '38+18=56']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[18, 63], Operations: ['38-32=6', '69-6=63']
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,26 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[69, 3], Operations: ['38-32=6', '18/6=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,26 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[69, 12], Operations: ['38-32=6', '18-6=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[51, 70], Operations: ['69-18=51', '38+32=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,26 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,26 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
93,
30,
70
] | 82 | [
"30*70=2100",
"2100/12=175",
"175-93=82"
] | Current State: 82:[12, 93, 30, 70], Operations: []
Exploring Operation: 30*70=2100, Resulting Numbers: [12, 93, 2100]
Generated Node #2: [12, 93, 2100] from Operation: 30*70=2100
Current State: 82:[12, 93, 2100], Operations: ['30*70=2100']
Exploring Operation: 2100/12=175, Resulting Numbers: [93, 175]
Generated Node #3: [93, 175] from Operation: 2100/12=175
Current State: 82:[93, 175], Operations: ['30*70=2100', '2100/12=175']
Exploring Operation: 175-93=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[12, 93, 30, 70], Operations: []
Exploring Operation: 12+70=82, Resulting Numbers: [93, 30, 82]
Generated Node #0,0: 82:[93, 30, 82] Operation: 12+70=82
Moving to Node #0,0
Current State: 82:[93, 30, 82], Operations: ['12+70=82']
Exploring Operation: 93-30=63, Resulting Numbers: [82, 63]
Generated Node #0,0,0: 82:[82, 63] Operation: 93-30=63
Moving to Node #0,0,0
Current State: 82:[82, 63], Operations: ['12+70=82', '93-30=63']
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,82 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
46,
97,
48
] | 95 | [
"92-46=46",
"97-48=49",
"46+49=95"
] | Current State: 95:[92, 46, 97, 48], Operations: []
Exploring Operation: 92-46=46, Resulting Numbers: [97, 48, 46]
Generated Node #2: [97, 48, 46] from Operation: 92-46=46
Current State: 95:[97, 48, 46], Operations: ['92-46=46']
Exploring Operation: 97-48=49, Resulting Numbers: [46, 49]
Generated Node #3: [46, 49] from Operation: 97-48=49
Current State: 95:[46, 49], Operations: ['92-46=46', '97-48=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[92, 46, 97, 48], Operations: []
Exploring Operation: 46+48=94, Resulting Numbers: [92, 97, 94]
Generated Node #0,0: 95:[92, 97, 94] Operation: 46+48=94
Moving to Node #0,0
Current State: 95:[92, 97, 94], Operations: ['46+48=94']
Exploring Operation: 97-92=5, Resulting Numbers: [94, 5]
Generated Node #0,0,0: 95:[94, 5] Operation: 97-92=5
Moving to Node #0,0,0
Current State: 95:[94, 5], Operations: ['46+48=94', '97-92=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,95 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
14,
33,
67
] | 86 | [
"28-14=14",
"33+67=100",
"100-14=86"
] | Current State: 86:[28, 14, 33, 67], Operations: []
Exploring Operation: 28-14=14, Resulting Numbers: [33, 67, 14]
Generated Node #2: [33, 67, 14] from Operation: 28-14=14
Current State: 86:[33, 67, 14], Operations: ['28-14=14']
Exploring Operation: 33+67=100, Resulting Numbers: [14, 100]
Generated Node #3: [14, 100] from Operation: 33+67=100
Current State: 86:[14, 100], Operations: ['28-14=14', '33+67=100']
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[28, 14, 33, 67], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [14, 33, 39]
Generated Node #0,0: 86:[14, 33, 39] Operation: 67-28=39
Exploring Operation: 28/14=2, Resulting Numbers: [33, 67, 2]
Generated Node #0,1: 86:[33, 67, 2] Operation: 28/14=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[14, 33, 39], Operations: ['67-28=39']
Exploring Operation: 39-33=6, Resulting Numbers: [14, 6]
Generated Node #0,0,0: 86:[14, 6] Operation: 39-33=6
Exploring Operation: 14+33=47, Resulting Numbers: [39, 47]
Generated Node #0,0,1: 86:[39, 47] Operation: 14+33=47
Moving to Node #0,0,1
Current State: 86:[39, 47], Operations: ['67-28=39', '14+33=47']
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[28, 14, 33, 67], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [14, 33, 39]
Generated Node #0,0: 86:[14, 33, 39] Operation: 67-28=39
Moving to Node #0,0
Current State: 86:[14, 33, 39], Operations: ['67-28=39']
Exploring Operation: 14+33=47, Resulting Numbers: [39, 47]
Generated Node #0,0,1: 86:[39, 47] Operation: 14+33=47
Moving to Node #0,0,1
Current State: 86:[39, 47], Operations: ['67-28=39', '14+33=47']
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
7,
14,
89,
91
] | 88 | [
"91/7=13",
"89-14=75",
"13+75=88"
] | Current State: 88:[7, 14, 89, 91], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [14, 89, 13]
Generated Node #2: [14, 89, 13] from Operation: 91/7=13
Current State: 88:[14, 89, 13], Operations: ['91/7=13']
Exploring Operation: 89-14=75, Resulting Numbers: [13, 75]
Generated Node #3: [13, 75] from Operation: 89-14=75
Current State: 88:[13, 75], Operations: ['91/7=13', '89-14=75']
Exploring Operation: 13+75=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[7, 14, 89, 91], Operations: []
Exploring Operation: 7+14=21, Resulting Numbers: [89, 91, 21]
Generated Node #0,0: 88:[89, 91, 21] Operation: 7+14=21
Exploring Operation: 91-89=2, Resulting Numbers: [7, 14, 2]
Generated Node #0,1: 88:[7, 14, 2] Operation: 91-89=2
Exploring Operation: 14/7=2, Resulting Numbers: [89, 91, 2]
Generated Node #0,2: 88:[89, 91, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[7, 14, 2], Operations: ['91-89=2']
Exploring Operation: 14/7=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 88:[2, 2] Operation: 14/7=2
Exploring Operation: 7+14=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 88:[2, 21] Operation: 7+14=21
Exploring Operation: 14-7=7, Resulting Numbers: [2, 7]
Generated Node #0,1,2: 88:[2, 7] Operation: 14-7=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[2, 2], Operations: ['91-89=2', '14/7=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
No 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: 88:[2, 21], Operations: ['91-89=2', '7+14=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No 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: 88:[2, 7], Operations: ['91-89=2', '14-7=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,88 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: 88:[89, 91, 2], Operations: ['14/7=2']
Exploring Operation: 89-2=87, Resulting Numbers: [91, 87]
Generated Node #0,2,0: 88:[91, 87] Operation: 89-2=87
Exploring Operation: 91-2=89, Resulting Numbers: [89, 89]
Generated Node #0,2,1: 88:[89, 89] Operation: 91-2=89
Exploring Operation: 91-89=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 88:[2, 2] Operation: 91-89=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[2, 2], Operations: ['14/7=2', '91-89=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,88 unequal: No Solution
No 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: 88:[89, 89], Operations: ['14/7=2', '91-2=89']
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,88 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,88 unequal: No Solution
No 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: 88:[91, 87], Operations: ['14/7=2', '89-2=87']
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 91*87=7917, Resulting Numbers: [7917]
7917,88 unequal: No Solution
Exploring Operation: 91+87=178, Resulting Numbers: [178]
178,88 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: 88:[89, 91, 21], Operations: ['7+14=21']
Exploring Operation: 91-89=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 88:[21, 2] Operation: 91-89=2
Exploring Operation: 91-21=70, Resulting Numbers: [89, 70]
Generated Node #0,0,1: 88:[89, 70] Operation: 91-21=70
Exploring Operation: 89-21=68, Resulting Numbers: [91, 68]
Generated Node #0,0,2: 88:[91, 68] Operation: 89-21=68
Moving to Node #0,0,0
Current State: 88:[21, 2], Operations: ['7+14=21', '91-89=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[89, 70], Operations: ['7+14=21', '91-21=70']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 89+70=159, Resulting Numbers: [159]
159,88 unequal: No Solution
Exploring Operation: 89*70=6230, Resulting Numbers: [6230]
6230,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[91, 68], Operations: ['7+14=21', '89-21=68']
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 91+68=159, Resulting Numbers: [159]
159,88 unequal: No Solution
Exploring Operation: 91*68=6188, Resulting Numbers: [6188]
6188,88 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 |
[
58,
74,
9,
5
] | 99 | [
"74-58=16",
"16-5=11",
"9*11=99"
] | Current State: 99:[58, 74, 9, 5], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [9, 5, 16]
Generated Node #2: [9, 5, 16] from Operation: 74-58=16
Current State: 99:[9, 5, 16], Operations: ['74-58=16']
Exploring Operation: 16-5=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 16-5=11
Current State: 99:[9, 11], Operations: ['74-58=16', '16-5=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[58, 74, 9, 5], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [9, 5, 16]
Generated Node #0,0: 99:[9, 5, 16] Operation: 74-58=16
Exploring Operation: 58+74=132, Resulting Numbers: [9, 5, 132]
Generated Node #0,1: 99:[9, 5, 132] Operation: 58+74=132
Exploring Operation: 58-9=49, Resulting Numbers: [74, 5, 49]
Generated Node #0,2: 99:[74, 5, 49] Operation: 58-9=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[9, 5, 16], Operations: ['74-58=16']
Exploring Operation: 9-5=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 99:[16, 4] Operation: 9-5=4
Exploring Operation: 16-9=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 99:[5, 7] Operation: 16-9=7
Exploring Operation: 16-5=11, Resulting Numbers: [9, 11]
Generated Node #0,0,2: 99:[9, 11] Operation: 16-5=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[9, 11], Operations: ['74-58=16', '16-5=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[58, 74, 9, 5], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [9, 5, 16]
Generated Node #0,0: 99:[9, 5, 16] Operation: 74-58=16
Moving to Node #0,0
Current State: 99:[9, 5, 16], Operations: ['74-58=16']
Exploring Operation: 16-5=11, Resulting Numbers: [9, 11]
Generated Node #0,0,2: 99:[9, 11] Operation: 16-5=11
Moving to Node #0,0,2
Current State: 99:[9, 11], Operations: ['74-58=16', '16-5=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
56,
4,
1,
93
] | 42 | [
"56-4=52",
"1+93=94",
"94-52=42"
] | Current State: 42:[56, 4, 1, 93], Operations: []
Exploring Operation: 56-4=52, Resulting Numbers: [1, 93, 52]
Generated Node #2: [1, 93, 52] from Operation: 56-4=52
Current State: 42:[1, 93, 52], Operations: ['56-4=52']
Exploring Operation: 1+93=94, Resulting Numbers: [52, 94]
Generated Node #3: [52, 94] from Operation: 1+93=94
Current State: 42:[52, 94], Operations: ['56-4=52', '1+93=94']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[56, 4, 1, 93], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [1, 93, 14]
Generated Node #0,0: 42:[1, 93, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [1, 93, 52]
Generated Node #0,1: 42:[1, 93, 52] Operation: 56-4=52
Exploring Operation: 93-56=37, Resulting Numbers: [4, 1, 37]
Generated Node #0,2: 42:[4, 1, 37] Operation: 93-56=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[4, 1, 37], Operations: ['93-56=37']
Exploring Operation: 4-1=3, Resulting Numbers: [37, 3]
Generated Node #0,2,0: 42:[37, 3] Operation: 4-1=3
Exploring Operation: 4+37=41, Resulting Numbers: [1, 41]
Generated Node #0,2,1: 42:[1, 41] Operation: 4+37=41
Exploring Operation: 1+37=38, Resulting Numbers: [4, 38]
Generated Node #0,2,2: 42:[4, 38] Operation: 1+37=38
Moving to Node #0,2,1
Current State: 42:[1, 41], Operations: ['93-56=37', '4+37=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[56, 4, 1, 93], Operations: []
Exploring Operation: 93-56=37, Resulting Numbers: [4, 1, 37]
Generated Node #0,2: 42:[4, 1, 37] Operation: 93-56=37
Moving to Node #0,2
Current State: 42:[4, 1, 37], Operations: ['93-56=37']
Exploring Operation: 4+37=41, Resulting Numbers: [1, 41]
Generated Node #0,2,1: 42:[1, 41] Operation: 4+37=41
Moving to Node #0,2,1
Current State: 42:[1, 41], Operations: ['93-56=37', '4+37=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
18,
2,
40,
82
] | 86 | [
"18*2=36",
"40+82=122",
"122-36=86"
] | Current State: 86:[18, 2, 40, 82], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [40, 82, 36]
Generated Node #2: [40, 82, 36] from Operation: 18*2=36
Current State: 86:[40, 82, 36], Operations: ['18*2=36']
Exploring Operation: 40+82=122, Resulting Numbers: [36, 122]
Generated Node #3: [36, 122] from Operation: 40+82=122
Current State: 86:[36, 122], Operations: ['18*2=36', '40+82=122']
Exploring Operation: 122-36=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[18, 2, 40, 82], Operations: []
Exploring Operation: 18/2=9, Resulting Numbers: [40, 82, 9]
Generated Node #0,0: 86:[40, 82, 9] Operation: 18/2=9
Exploring Operation: 18*2=36, Resulting Numbers: [40, 82, 36]
Generated Node #0,1: 86:[40, 82, 36] Operation: 18*2=36
Moving to Node #0,0
Current State: 86:[40, 82, 9], Operations: ['18/2=9']
Exploring Operation: 82+9=91, Resulting Numbers: [40, 91]
Generated Node #0,0,0: 86:[40, 91] Operation: 82+9=91
Exploring Operation: 82-40=42, Resulting Numbers: [9, 42]
Generated Node #0,0,1: 86:[9, 42] Operation: 82-40=42
Moving to Node #0,1
Current State: 86:[40, 82, 36], Operations: ['18*2=36']
Exploring Operation: 40-36=4, Resulting Numbers: [82, 4]
Generated Node #0,1,0: 86:[82, 4] Operation: 40-36=4
Exploring Operation: 82-36=46, Resulting Numbers: [40, 46]
Generated Node #0,1,1: 86:[40, 46] Operation: 82-36=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[82, 4], Operations: ['18*2=36', '40-36=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[18, 2, 40, 82], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [40, 82, 36]
Generated Node #0,1: 86:[40, 82, 36] Operation: 18*2=36
Moving to Node #0,1
Current State: 86:[40, 82, 36], Operations: ['18*2=36']
Exploring Operation: 40-36=4, Resulting Numbers: [82, 4]
Generated Node #0,1,0: 86:[82, 4] Operation: 40-36=4
Moving to Node #0,1,0
Current State: 86:[82, 4], Operations: ['18*2=36', '40-36=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
15,
35,
27,
51
] | 58 | [
"35-15=20",
"27+51=78",
"78-20=58"
] | Current State: 58:[15, 35, 27, 51], Operations: []
Exploring Operation: 35-15=20, Resulting Numbers: [27, 51, 20]
Generated Node #2: [27, 51, 20] from Operation: 35-15=20
Current State: 58:[27, 51, 20], Operations: ['35-15=20']
Exploring Operation: 27+51=78, Resulting Numbers: [20, 78]
Generated Node #3: [20, 78] from Operation: 27+51=78
Current State: 58:[20, 78], Operations: ['35-15=20', '27+51=78']
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[15, 35, 27, 51], Operations: []
Exploring Operation: 51-15=36, Resulting Numbers: [35, 27, 36]
Generated Node #0,0: 58:[35, 27, 36] Operation: 51-15=36
Exploring Operation: 15+51=66, Resulting Numbers: [35, 27, 66]
Generated Node #0,1: 58:[35, 27, 66] Operation: 15+51=66
Moving to Node #0,0
Current State: 58:[35, 27, 36], Operations: ['51-15=36']
Exploring Operation: 36-35=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 58:[27, 1] Operation: 36-35=1
Exploring Operation: 35+27=62, Resulting Numbers: [36, 62]
Generated Node #0,0,1: 58:[36, 62] Operation: 35+27=62
Moving to Node #0,1
Current State: 58:[35, 27, 66], Operations: ['15+51=66']
Exploring Operation: 66-35=31, Resulting Numbers: [27, 31]
Generated Node #0,1,0: 58:[27, 31] Operation: 66-35=31
Exploring Operation: 35+27=62, Resulting Numbers: [66, 62]
Generated Node #0,1,1: 58:[66, 62] Operation: 35+27=62
Moving to Node #0,0,0
Current State: 58:[27, 1], Operations: ['51-15=36', '36-35=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[27, 31], Operations: ['15+51=66', '66-35=31']
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[15, 35, 27, 51], Operations: []
Exploring Operation: 15+51=66, Resulting Numbers: [35, 27, 66]
Generated Node #0,1: 58:[35, 27, 66] Operation: 15+51=66
Moving to Node #0,1
Current State: 58:[35, 27, 66], Operations: ['15+51=66']
Exploring Operation: 66-35=31, Resulting Numbers: [27, 31]
Generated Node #0,1,0: 58:[27, 31] Operation: 66-35=31
Moving to Node #0,1,0
Current State: 58:[27, 31], Operations: ['15+51=66', '66-35=31']
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
76,
75,
25,
75
] | 51 | [
"76+75=151",
"25+75=100",
"151-100=51"
] | Current State: 51:[76, 75, 25, 75], Operations: []
Exploring Operation: 76+75=151, Resulting Numbers: [25, 151]
Generated Node #2: [25, 151] from Operation: 76+75=151
Current State: 51:[25, 151], Operations: ['76+75=151']
Exploring Operation: 25+75=100, Resulting Numbers: [151, 100]
Generated Node #3: [151, 100] from Operation: 25+75=100
Current State: 51:[151, 100], Operations: ['76+75=151', '25+75=100']
Exploring Operation: 151-100=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[76, 75, 25, 75], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [25, 75, 1]
Generated Node #0,0: 51:[25, 75, 1] Operation: 76-75=1
Exploring Operation: 75-75=0, Resulting Numbers: [76, 25, 0]
Generated Node #0,1: 51:[76, 25, 0] Operation: 75-75=0
Exploring Operation: 75/75=1, Resulting Numbers: [76, 25, 1]
Generated Node #0,2: 51:[76, 25, 1] Operation: 75/75=1
Exploring Operation: 76-75=1, Resulting Numbers: [75, 25, 1]
Generated Node #0,3: 51:[75, 25, 1] Operation: 76-75=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[25, 75, 1], Operations: ['76-75=1']
Exploring Operation: 75-1=74, Resulting Numbers: [25, 74]
Generated Node #0,0,0: 51:[25, 74] Operation: 75-1=74
Exploring Operation: 25-1=24, Resulting Numbers: [75, 24]
Generated Node #0,0,1: 51:[75, 24] Operation: 25-1=24
Exploring Operation: 75-25=50, Resulting Numbers: [1, 50]
Generated Node #0,0,2: 51:[1, 50] Operation: 75-25=50
Exploring Operation: 75/25=3, Resulting Numbers: [1, 3]
Generated Node #0,0,3: 51:[1, 3] Operation: 75/25=3
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[1, 3], Operations: ['76-75=1', '75/25=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[1, 50], Operations: ['76-75=1', '75-25=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[76, 75, 25, 75], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [25, 75, 1]
Generated Node #0,0: 51:[25, 75, 1] Operation: 76-75=1
Moving to Node #0,0
Current State: 51:[25, 75, 1], Operations: ['76-75=1']
Exploring Operation: 75-25=50, Resulting Numbers: [1, 50]
Generated Node #0,0,2: 51:[1, 50] Operation: 75-25=50
Moving to Node #0,0,2
Current State: 51:[1, 50], Operations: ['76-75=1', '75-25=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
22,
85,
37,
11
] | 96 | [
"22/11=2",
"85-37=48",
"2*48=96"
] | Current State: 96:[22, 85, 37, 11], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [85, 37, 2]
Generated Node #2: [85, 37, 2] from Operation: 22/11=2
Current State: 96:[85, 37, 2], Operations: ['22/11=2']
Exploring Operation: 85-37=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 85-37=48
Current State: 96:[2, 48], Operations: ['22/11=2', '85-37=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[22, 85, 37, 11], Operations: []
Exploring Operation: 37-11=26, Resulting Numbers: [22, 85, 26]
Generated Node #0,0: 96:[22, 85, 26] Operation: 37-11=26
Exploring Operation: 37+11=48, Resulting Numbers: [22, 85, 48]
Generated Node #0,1: 96:[22, 85, 48] Operation: 37+11=48
Exploring Operation: 85-37=48, Resulting Numbers: [22, 11, 48]
Generated Node #0,2: 96:[22, 11, 48] Operation: 85-37=48
Exploring Operation: 85+11=96, Resulting Numbers: [22, 37, 96]
Generated Node #0,3: 96:[22, 37, 96] Operation: 85+11=96
Exploring Operation: 37-22=15, Resulting Numbers: [85, 11, 15]
Generated Node #0,4: 96:[85, 11, 15] Operation: 37-22=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[22, 11, 48], Operations: ['85-37=48']
Exploring Operation: 22/11=2, Resulting Numbers: [48, 2]
Generated Node #0,2,0: 96:[48, 2] Operation: 22/11=2
Exploring Operation: 48-11=37, Resulting Numbers: [22, 37]
Generated Node #0,2,1: 96:[22, 37] Operation: 48-11=37
Exploring Operation: 22-11=11, Resulting Numbers: [48, 11]
Generated Node #0,2,2: 96:[48, 11] Operation: 22-11=11
Exploring Operation: 22+11=33, Resulting Numbers: [48, 33]
Generated Node #0,2,3: 96:[48, 33] Operation: 22+11=33
Exploring Operation: 48-22=26, Resulting Numbers: [11, 26]
Generated Node #0,2,4: 96:[11, 26] Operation: 48-22=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[48, 2], Operations: ['85-37=48', '22/11=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[22, 85, 37, 11], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [22, 11, 48]
Generated Node #0,2: 96:[22, 11, 48] Operation: 85-37=48
Moving to Node #0,2
Current State: 96:[22, 11, 48], Operations: ['85-37=48']
Exploring Operation: 22/11=2, Resulting Numbers: [48, 2]
Generated Node #0,2,0: 96:[48, 2] Operation: 22/11=2
Moving to Node #0,2,0
Current State: 96:[48, 2], Operations: ['85-37=48', '22/11=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
11,
89,
17,
18
] | 92 | [
"17-11=6",
"18/6=3",
"89+3=92"
] | Current State: 92:[11, 89, 17, 18], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [89, 18, 6]
Generated Node #2: [89, 18, 6] from Operation: 17-11=6
Current State: 92:[89, 18, 6], Operations: ['17-11=6']
Exploring Operation: 18/6=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 18/6=3
Current State: 92:[89, 3], Operations: ['17-11=6', '18/6=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[11, 89, 17, 18], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [89, 18, 6]
Generated Node #0,0: 92:[89, 18, 6] Operation: 17-11=6
Moving to Node #0,0
Current State: 92:[89, 18, 6], Operations: ['17-11=6']
Exploring Operation: 18+6=24, Resulting Numbers: [89, 24]
Generated Node #0,0,0: 92:[89, 24] Operation: 18+6=24
Moving to Node #0,0,0
Current State: 92:[89, 24], Operations: ['17-11=6', '18+6=24']
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
70,
22,
2
] | 26 | [
"78-70=8",
"8/2=4",
"22+4=26"
] | Current State: 26:[78, 70, 22, 2], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [22, 2, 8]
Generated Node #2: [22, 2, 8] from Operation: 78-70=8
Current State: 26:[22, 2, 8], Operations: ['78-70=8']
Exploring Operation: 8/2=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 8/2=4
Current State: 26:[22, 4], Operations: ['78-70=8', '8/2=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[78, 70, 22, 2], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [78, 22, 35]
Generated Node #0,0: 26:[78, 22, 35] Operation: 70/2=35
Exploring Operation: 78/2=39, Resulting Numbers: [70, 22, 39]
Generated Node #0,1: 26:[70, 22, 39] Operation: 78/2=39
Exploring Operation: 78-70=8, Resulting Numbers: [22, 2, 8]
Generated Node #0,2: 26:[22, 2, 8] Operation: 78-70=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[22, 2, 8], Operations: ['78-70=8']
Exploring Operation: 22+8=30, Resulting Numbers: [2, 30]
Generated Node #0,2,0: 26:[2, 30] Operation: 22+8=30
Exploring Operation: 22-8=14, Resulting Numbers: [2, 14]
Generated Node #0,2,1: 26:[2, 14] Operation: 22-8=14
Exploring Operation: 8/2=4, Resulting Numbers: [22, 4]
Generated Node #0,2,2: 26:[22, 4] Operation: 8/2=4
Moving to Node #0,2,1
Current State: 26:[2, 14], Operations: ['78-70=8', '22-8=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[2, 30], Operations: ['78-70=8', '22+8=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[22, 4], Operations: ['78-70=8', '8/2=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,26 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[78, 70, 22, 2], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [22, 2, 8]
Generated Node #0,2: 26:[22, 2, 8] Operation: 78-70=8
Moving to Node #0,2
Current State: 26:[22, 2, 8], Operations: ['78-70=8']
Exploring Operation: 8/2=4, Resulting Numbers: [22, 4]
Generated Node #0,2,2: 26:[22, 4] Operation: 8/2=4
Moving to Node #0,2,2
Current State: 26:[22, 4], Operations: ['78-70=8', '8/2=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
90,
27,
24,
83
] | 44 | [
"90-27=63",
"24+83=107",
"107-63=44"
] | Current State: 44:[90, 27, 24, 83], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [24, 83, 63]
Generated Node #2: [24, 83, 63] from Operation: 90-27=63
Current State: 44:[24, 83, 63], Operations: ['90-27=63']
Exploring Operation: 24+83=107, Resulting Numbers: [63, 107]
Generated Node #3: [63, 107] from Operation: 24+83=107
Current State: 44:[63, 107], Operations: ['90-27=63', '24+83=107']
Exploring Operation: 107-63=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[90, 27, 24, 83], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [27, 24, 7]
Generated Node #0,0: 44:[27, 24, 7] Operation: 90-83=7
Moving to Node #0,0
Current State: 44:[27, 24, 7], Operations: ['90-83=7']
Exploring Operation: 27-24=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 44:[7, 3] Operation: 27-24=3
Moving to Node #0,0,0
Current State: 44:[7, 3], Operations: ['90-83=7', '27-24=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
43,
61,
61,
16
] | 26 | [
"43-16=27",
"61/61=1",
"27-1=26"
] | Current State: 26:[43, 61, 61, 16], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [61, 61, 27]
Generated Node #2: [61, 61, 27] from Operation: 43-16=27
Current State: 26:[61, 61, 27], Operations: ['43-16=27']
Exploring Operation: 61/61=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 61/61=1
Current State: 26:[27, 1], Operations: ['43-16=27', '61/61=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[43, 61, 61, 16], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [43, 16, 1]
Generated Node #0,0: 26:[43, 16, 1] Operation: 61/61=1
Exploring Operation: 61-43=18, Resulting Numbers: [61, 16, 18]
Generated Node #0,1: 26:[61, 16, 18] Operation: 61-43=18
Exploring Operation: 61-43=18, Resulting Numbers: [61, 16, 18]
Generated Node #0,2: 26:[61, 16, 18] Operation: 61-43=18
Exploring Operation: 61-61=0, Resulting Numbers: [43, 16, 0]
Generated Node #0,3: 26:[43, 16, 0] Operation: 61-61=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[43, 16, 1], Operations: ['61/61=1']
Exploring Operation: 43-1=42, Resulting Numbers: [16, 42]
Generated Node #0,0,0: 26:[16, 42] Operation: 43-1=42
Exploring Operation: 16-1=15, Resulting Numbers: [43, 15]
Generated Node #0,0,1: 26:[43, 15] Operation: 16-1=15
Exploring Operation: 43*1=43, Resulting Numbers: [16, 43]
Generated Node #0,0,2: 26:[16, 43] Operation: 43*1=43
Exploring Operation: 43-16=27, Resulting Numbers: [1, 27]
Generated Node #0,0,3: 26:[1, 27] Operation: 43-16=27
Moving to Node #0,0,3
Current State: 26:[1, 27], Operations: ['61/61=1', '43-16=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[43, 61, 61, 16], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [43, 16, 1]
Generated Node #0,0: 26:[43, 16, 1] Operation: 61/61=1
Moving to Node #0,0
Current State: 26:[43, 16, 1], Operations: ['61/61=1']
Exploring Operation: 43-16=27, Resulting Numbers: [1, 27]
Generated Node #0,0,3: 26:[1, 27] Operation: 43-16=27
Moving to Node #0,0,3
Current State: 26:[1, 27], Operations: ['61/61=1', '43-16=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
69,
29,
6,
11
] | 35 | [
"69-29=40",
"11-6=5",
"40-5=35"
] | Current State: 35:[69, 29, 6, 11], Operations: []
Exploring Operation: 69-29=40, Resulting Numbers: [6, 11, 40]
Generated Node #2: [6, 11, 40] from Operation: 69-29=40
Current State: 35:[6, 11, 40], Operations: ['69-29=40']
Exploring Operation: 11-6=5, Resulting Numbers: [40, 5]
Generated Node #3: [40, 5] from Operation: 11-6=5
Current State: 35:[40, 5], Operations: ['69-29=40', '11-6=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[69, 29, 6, 11], Operations: []
Exploring Operation: 29+6=35, Resulting Numbers: [69, 11, 35]
Generated Node #0,0: 35:[69, 11, 35] Operation: 29+6=35
Exploring Operation: 29+11=40, Resulting Numbers: [69, 6, 40]
Generated Node #0,1: 35:[69, 6, 40] Operation: 29+11=40
Exploring Operation: 69-29=40, Resulting Numbers: [6, 11, 40]
Generated Node #0,2: 35:[6, 11, 40] Operation: 69-29=40
Exploring Operation: 69-11=58, Resulting Numbers: [29, 6, 58]
Generated Node #0,3: 35:[29, 6, 58] Operation: 69-11=58
Exploring Operation: 69-6=63, Resulting Numbers: [29, 11, 63]
Generated Node #0,4: 35:[29, 11, 63] Operation: 69-6=63
Moving to Node #0,2
Current State: 35:[6, 11, 40], Operations: ['69-29=40']
Exploring Operation: 40-6=34, Resulting Numbers: [11, 34]
Generated Node #0,2,0: 35:[11, 34] Operation: 40-6=34
Exploring Operation: 40-11=29, Resulting Numbers: [6, 29]
Generated Node #0,2,1: 35:[6, 29] Operation: 40-11=29
Exploring Operation: 6+11=17, Resulting Numbers: [40, 17]
Generated Node #0,2,2: 35:[40, 17] Operation: 6+11=17
Exploring Operation: 6+40=46, Resulting Numbers: [11, 46]
Generated Node #0,2,3: 35:[11, 46] Operation: 6+40=46
Exploring Operation: 11-6=5, Resulting Numbers: [40, 5]
Generated Node #0,2,4: 35:[40, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[11, 34], Operations: ['69-29=40', '40-6=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,35 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[40, 5], Operations: ['69-29=40', '11-6=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[69, 29, 6, 11], Operations: []
Exploring Operation: 69-29=40, Resulting Numbers: [6, 11, 40]
Generated Node #0,2: 35:[6, 11, 40] Operation: 69-29=40
Moving to Node #0,2
Current State: 35:[6, 11, 40], Operations: ['69-29=40']
Exploring Operation: 11-6=5, Resulting Numbers: [40, 5]
Generated Node #0,2,4: 35:[40, 5] Operation: 11-6=5
Moving to Node #0,2,4
Current State: 35:[40, 5], Operations: ['69-29=40', '11-6=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
46,
96,
4,
62
] | 10 | [
"62-46=16",
"96/16=6",
"4+6=10"
] | Current State: 10:[46, 96, 4, 62], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [96, 4, 16]
Generated Node #2: [96, 4, 16] from Operation: 62-46=16
Current State: 10:[96, 4, 16], Operations: ['62-46=16']
Exploring Operation: 96/16=6, Resulting Numbers: [4, 6]
Generated Node #3: [4, 6] from Operation: 96/16=6
Current State: 10:[4, 6], Operations: ['62-46=16', '96/16=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[46, 96, 4, 62], Operations: []
Exploring Operation: 96-46=50, Resulting Numbers: [4, 62, 50]
Generated Node #0,0: 10:[4, 62, 50] Operation: 96-46=50
Exploring Operation: 62-46=16, Resulting Numbers: [96, 4, 16]
Generated Node #0,1: 10:[96, 4, 16] Operation: 62-46=16
Exploring Operation: 96-62=34, Resulting Numbers: [46, 4, 34]
Generated Node #0,2: 10:[46, 4, 34] Operation: 96-62=34
Moving to Node #0,2
Current State: 10:[46, 4, 34], Operations: ['96-62=34']
Exploring Operation: 46-4=42, Resulting Numbers: [34, 42]
Generated Node #0,2,0: 10:[34, 42] Operation: 46-4=42
Exploring Operation: 34-4=30, Resulting Numbers: [46, 30]
Generated Node #0,2,1: 10:[46, 30] Operation: 34-4=30
Exploring Operation: 46-34=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 10:[4, 12] Operation: 46-34=12
Moving to Node #0,0
Current State: 10:[4, 62, 50], Operations: ['96-46=50']
Exploring Operation: 62-4=58, Resulting Numbers: [50, 58]
Generated Node #0,0,0: 10:[50, 58] Operation: 62-4=58
Exploring Operation: 62-50=12, Resulting Numbers: [4, 12]
Generated Node #0,0,1: 10:[4, 12] Operation: 62-50=12
Exploring Operation: 50-4=46, Resulting Numbers: [62, 46]
Generated Node #0,0,2: 10:[62, 46] Operation: 50-4=46
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[4, 12], Operations: ['96-46=50', '62-50=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[50, 58], Operations: ['96-46=50', '62-4=58']
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 50*58=2900, Resulting Numbers: [2900]
2900,10 unequal: No Solution
Exploring Operation: 50+58=108, Resulting Numbers: [108]
108,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[62, 46], Operations: ['96-46=50', '50-4=46']
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,10 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,10 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: 10:[96, 4, 16], Operations: ['62-46=16']
Exploring Operation: 96-16=80, Resulting Numbers: [4, 80]
Generated Node #0,1,0: 10:[4, 80] Operation: 96-16=80
Exploring Operation: 96/4=24, Resulting Numbers: [16, 24]
Generated Node #0,1,1: 10:[16, 24] Operation: 96/4=24
Exploring Operation: 96/16=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 10:[4, 6] Operation: 96/16=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[4, 6], Operations: ['62-46=16', '96/16=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[46, 96, 4, 62], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [96, 4, 16]
Generated Node #0,1: 10:[96, 4, 16] Operation: 62-46=16
Moving to Node #0,1
Current State: 10:[96, 4, 16], Operations: ['62-46=16']
Exploring Operation: 96/16=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 10:[4, 6] Operation: 96/16=6
Moving to Node #0,1,2
Current State: 10:[4, 6], Operations: ['62-46=16', '96/16=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
44,
89,
54,
5
] | 63 | [
"89-44=45",
"45/5=9",
"54+9=63"
] | Current State: 63:[44, 89, 54, 5], Operations: []
Exploring Operation: 89-44=45, Resulting Numbers: [54, 5, 45]
Generated Node #2: [54, 5, 45] from Operation: 89-44=45
Current State: 63:[54, 5, 45], Operations: ['89-44=45']
Exploring Operation: 45/5=9, Resulting Numbers: [54, 9]
Generated Node #3: [54, 9] from Operation: 45/5=9
Current State: 63:[54, 9], Operations: ['89-44=45', '45/5=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[44, 89, 54, 5], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [89, 5, 10]
Generated Node #0,0: 63:[89, 5, 10] Operation: 54-44=10
Exploring Operation: 44+5=49, Resulting Numbers: [89, 54, 49]
Generated Node #0,1: 63:[89, 54, 49] Operation: 44+5=49
Exploring Operation: 89-54=35, Resulting Numbers: [44, 5, 35]
Generated Node #0,2: 63:[44, 5, 35] Operation: 89-54=35
Exploring Operation: 89-44=45, Resulting Numbers: [54, 5, 45]
Generated Node #0,3: 63:[54, 5, 45] Operation: 89-44=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[89, 5, 10], Operations: ['54-44=10']
Exploring Operation: 10-5=5, Resulting Numbers: [89, 5]
Generated Node #0,0,0: 63:[89, 5] Operation: 10-5=5
Exploring Operation: 89-5=84, Resulting Numbers: [10, 84]
Generated Node #0,0,1: 63:[10, 84] Operation: 89-5=84
Exploring Operation: 10/5=2, Resulting Numbers: [89, 2]
Generated Node #0,0,2: 63:[89, 2] Operation: 10/5=2
Exploring Operation: 89-10=79, Resulting Numbers: [5, 79]
Generated Node #0,0,3: 63:[5, 79] Operation: 89-10=79
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[5, 79], Operations: ['54-44=10', '89-10=79']
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,63 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[10, 84], Operations: ['54-44=10', '89-5=84']
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 10*84=840, Resulting Numbers: [840]
840,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[89, 2], Operations: ['54-44=10', '10/5=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,63 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[89, 5], Operations: ['54-44=10', '10-5=5']
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,63 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[54, 5, 45], Operations: ['89-44=45']
Exploring Operation: 5+45=50, Resulting Numbers: [54, 50]
Generated Node #0,3,0: 63:[54, 50] Operation: 5+45=50
Exploring Operation: 54+5=59, Resulting Numbers: [45, 59]
Generated Node #0,3,1: 63:[45, 59] Operation: 54+5=59
Exploring Operation: 45/5=9, Resulting Numbers: [54, 9]
Generated Node #0,3,2: 63:[54, 9] Operation: 45/5=9
Exploring Operation: 54-45=9, Resulting Numbers: [5, 9]
Generated Node #0,3,3: 63:[5, 9] Operation: 54-45=9
Moving to Node #0,3,3
Current State: 63:[5, 9], Operations: ['89-44=45', '54-45=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[54, 9], Operations: ['89-44=45', '45/5=9']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,63 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[44, 89, 54, 5], Operations: []
Exploring Operation: 89-44=45, Resulting Numbers: [54, 5, 45]
Generated Node #0,3: 63:[54, 5, 45] Operation: 89-44=45
Moving to Node #0,3
Current State: 63:[54, 5, 45], Operations: ['89-44=45']
Exploring Operation: 45/5=9, Resulting Numbers: [54, 9]
Generated Node #0,3,2: 63:[54, 9] Operation: 45/5=9
Moving to Node #0,3,2
Current State: 63:[54, 9], Operations: ['89-44=45', '45/5=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
55,
5,
3,
8
] | 74 | [
"55-5=50",
"3*8=24",
"50+24=74"
] | Current State: 74:[55, 5, 3, 8], Operations: []
Exploring Operation: 55-5=50, Resulting Numbers: [3, 8, 50]
Generated Node #2: [3, 8, 50] from Operation: 55-5=50
Current State: 74:[3, 8, 50], Operations: ['55-5=50']
Exploring Operation: 3*8=24, Resulting Numbers: [50, 24]
Generated Node #3: [50, 24] from Operation: 3*8=24
Current State: 74:[50, 24], Operations: ['55-5=50', '3*8=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[55, 5, 3, 8], Operations: []
Exploring Operation: 55-8=47, Resulting Numbers: [5, 3, 47]
Generated Node #0,0: 74:[5, 3, 47] Operation: 55-8=47
Exploring Operation: 55+8=63, Resulting Numbers: [5, 3, 63]
Generated Node #0,1: 74:[5, 3, 63] Operation: 55+8=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[5, 3, 47], Operations: ['55-8=47']
Exploring Operation: 5-3=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 74:[47, 2] Operation: 5-3=2
Exploring Operation: 47-5=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 74:[3, 42] Operation: 47-5=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[3, 42], Operations: ['55-8=47', '47-5=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[47, 2], Operations: ['55-8=47', '5-3=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[5, 3, 63], Operations: ['55+8=63']
Exploring Operation: 5-3=2, Resulting Numbers: [63, 2]
Generated Node #0,1,0: 74:[63, 2] Operation: 5-3=2
Exploring Operation: 5+63=68, Resulting Numbers: [3, 68]
Generated Node #0,1,1: 74:[3, 68] Operation: 5+63=68
Moving to Node #0,1,1
Current State: 74:[3, 68], Operations: ['55+8=63', '5+63=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[63, 2], Operations: ['55+8=63', '5-3=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,74 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 |
[
5,
70,
51,
52
] | 66 | [
"70-5=65",
"52-51=1",
"65+1=66"
] | Current State: 66:[5, 70, 51, 52], Operations: []
Exploring Operation: 70-5=65, Resulting Numbers: [51, 52, 65]
Generated Node #2: [51, 52, 65] from Operation: 70-5=65
Current State: 66:[51, 52, 65], Operations: ['70-5=65']
Exploring Operation: 52-51=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 52-51=1
Current State: 66:[65, 1], Operations: ['70-5=65', '52-51=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[5, 70, 51, 52], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [5, 51, 18]
Generated Node #0,0: 66:[5, 51, 18] Operation: 70-52=18
Exploring Operation: 70-51=19, Resulting Numbers: [5, 52, 19]
Generated Node #0,1: 66:[5, 52, 19] Operation: 70-51=19
Exploring Operation: 52-51=1, Resulting Numbers: [5, 70, 1]
Generated Node #0,2: 66:[5, 70, 1] Operation: 52-51=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[5, 70, 1], Operations: ['52-51=1']
Exploring Operation: 70-5=65, Resulting Numbers: [1, 65]
Generated Node #0,2,0: 66:[1, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [1, 14]
Generated Node #0,2,1: 66:[1, 14] Operation: 70/5=14
Exploring Operation: 5+1=6, Resulting Numbers: [70, 6]
Generated Node #0,2,2: 66:[70, 6] Operation: 5+1=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[1, 65], Operations: ['52-51=1', '70-5=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[5, 70, 51, 52], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [5, 70, 1]
Generated Node #0,2: 66:[5, 70, 1] Operation: 52-51=1
Moving to Node #0,2
Current State: 66:[5, 70, 1], Operations: ['52-51=1']
Exploring Operation: 70-5=65, Resulting Numbers: [1, 65]
Generated Node #0,2,0: 66:[1, 65] Operation: 70-5=65
Moving to Node #0,2,0
Current State: 66:[1, 65], Operations: ['52-51=1', '70-5=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
28,
63,
66,
60
] | 50 | [
"63-60=3",
"66/3=22",
"28+22=50"
] | Current State: 50:[28, 63, 66, 60], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [28, 66, 3]
Generated Node #2: [28, 66, 3] from Operation: 63-60=3
Current State: 50:[28, 66, 3], Operations: ['63-60=3']
Exploring Operation: 66/3=22, Resulting Numbers: [28, 22]
Generated Node #3: [28, 22] from Operation: 66/3=22
Current State: 50:[28, 22], Operations: ['63-60=3', '66/3=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[28, 63, 66, 60], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [28, 60, 3]
Generated Node #0,0: 50:[28, 60, 3] Operation: 66-63=3
Moving to Node #0,0
Current State: 50:[28, 60, 3], Operations: ['66-63=3']
Exploring Operation: 60-28=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 50:[3, 32] Operation: 60-28=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[3, 32], Operations: ['66-63=3', '60-28=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,50 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 |
[
54,
49,
90,
40
] | 10 | [
"54-49=5",
"90-40=50",
"50/5=10"
] | Current State: 10:[54, 49, 90, 40], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [90, 40, 5]
Generated Node #2: [90, 40, 5] from Operation: 54-49=5
Current State: 10:[90, 40, 5], Operations: ['54-49=5']
Exploring Operation: 90-40=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 90-40=50
Current State: 10:[5, 50], Operations: ['54-49=5', '90-40=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[54, 49, 90, 40], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [54, 40, 41]
Generated Node #0,0: 10:[54, 40, 41] Operation: 90-49=41
Exploring Operation: 90-54=36, Resulting Numbers: [49, 40, 36]
Generated Node #0,1: 10:[49, 40, 36] Operation: 90-54=36
Moving to Node #0,1
Current State: 10:[49, 40, 36], Operations: ['90-54=36']
Exploring Operation: 49-40=9, Resulting Numbers: [36, 9]
Generated Node #0,1,0: 10:[36, 9] Operation: 49-40=9
Exploring Operation: 49-36=13, Resulting Numbers: [40, 13]
Generated Node #0,1,1: 10:[40, 13] Operation: 49-36=13
Moving to Node #0,0
Current State: 10:[54, 40, 41], Operations: ['90-49=41']
Exploring Operation: 54-40=14, Resulting Numbers: [41, 14]
Generated Node #0,0,0: 10:[41, 14] Operation: 54-40=14
Exploring Operation: 54-41=13, Resulting Numbers: [40, 13]
Generated Node #0,0,1: 10:[40, 13] Operation: 54-41=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[40, 13], Operations: ['90-49=41', '54-41=13']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[41, 14], Operations: ['90-49=41', '54-40=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 10:[36, 9], Operations: ['90-54=36', '49-40=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[40, 13], Operations: ['90-54=36', '49-36=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,10 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
9,
7,
23
] | 10 | [
"82+9=91",
"91/7=13",
"23-13=10"
] | Current State: 10:[82, 9, 7, 23], Operations: []
Exploring Operation: 82+9=91, Resulting Numbers: [7, 23, 91]
Generated Node #2: [7, 23, 91] from Operation: 82+9=91
Current State: 10:[7, 23, 91], Operations: ['82+9=91']
Exploring Operation: 91/7=13, Resulting Numbers: [23, 13]
Generated Node #3: [23, 13] from Operation: 91/7=13
Current State: 10:[23, 13], Operations: ['82+9=91', '91/7=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[82, 9, 7, 23], Operations: []
Exploring Operation: 82-7=75, Resulting Numbers: [9, 23, 75]
Generated Node #0,0: 10:[9, 23, 75] Operation: 82-7=75
Exploring Operation: 82-23=59, Resulting Numbers: [9, 7, 59]
Generated Node #0,1: 10:[9, 7, 59] Operation: 82-23=59
Exploring Operation: 23-7=16, Resulting Numbers: [82, 9, 16]
Generated Node #0,2: 10:[82, 9, 16] Operation: 23-7=16
Exploring Operation: 23-9=14, Resulting Numbers: [82, 7, 14]
Generated Node #0,3: 10:[82, 7, 14] Operation: 23-9=14
Exploring Operation: 82-9=73, Resulting Numbers: [7, 23, 73]
Generated Node #0,4: 10:[7, 23, 73] Operation: 82-9=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[9, 7, 59], Operations: ['82-23=59']
Exploring Operation: 59-7=52, Resulting Numbers: [9, 52]
Generated Node #0,1,0: 10:[9, 52] Operation: 59-7=52
Exploring Operation: 7+59=66, Resulting Numbers: [9, 66]
Generated Node #0,1,1: 10:[9, 66] Operation: 7+59=66
Exploring Operation: 9+7=16, Resulting Numbers: [59, 16]
Generated Node #0,1,2: 10:[59, 16] Operation: 9+7=16
Exploring Operation: 9-7=2, Resulting Numbers: [59, 2]
Generated Node #0,1,3: 10:[59, 2] Operation: 9-7=2
Exploring Operation: 59-9=50, Resulting Numbers: [7, 50]
Generated Node #0,1,4: 10:[7, 50] Operation: 59-9=50
Moving to Node #0,1,4
Current State: 10:[7, 50], Operations: ['82-23=59', '59-9=50']
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,10 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[9, 52], Operations: ['82-23=59', '59-7=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,10 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[59, 2], Operations: ['82-23=59', '9-7=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,10 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[59, 16], Operations: ['82-23=59', '9+7=16']
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,10 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[9, 66], Operations: ['82-23=59', '7+59=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[82, 7, 14], Operations: ['23-9=14']
Exploring Operation: 14/7=2, Resulting Numbers: [82, 2]
Generated Node #0,3,0: 10:[82, 2] Operation: 14/7=2
Exploring Operation: 82-7=75, Resulting Numbers: [14, 75]
Generated Node #0,3,1: 10:[14, 75] Operation: 82-7=75
Exploring Operation: 82-14=68, Resulting Numbers: [7, 68]
Generated Node #0,3,2: 10:[7, 68] Operation: 82-14=68
Exploring Operation: 14-7=7, Resulting Numbers: [82, 7]
Generated Node #0,3,3: 10:[82, 7] Operation: 14-7=7
Exploring Operation: 82+7=89, Resulting Numbers: [14, 89]
Generated Node #0,3,4: 10:[14, 89] Operation: 82+7=89
Moving to Node #0,3,2
Current State: 10:[7, 68], Operations: ['23-9=14', '82-14=68']
Exploring Operation: 7*68=476, Resulting Numbers: [476]
476,10 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[14, 75], Operations: ['23-9=14', '82-7=75']
Exploring Operation: 14*75=1050, Resulting Numbers: [1050]
1050,10 unequal: No Solution
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[82, 2], Operations: ['23-9=14', '14/7=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,10 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[82, 7], Operations: ['23-9=14', '14-7=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,10 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[14, 89], Operations: ['23-9=14', '82+7=89']
Exploring Operation: 14*89=1246, Resulting Numbers: [1246]
1246,10 unequal: No Solution
Exploring Operation: 14+89=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[7, 23, 73], Operations: ['82-9=73']
Exploring Operation: 73-7=66, Resulting Numbers: [23, 66]
Generated Node #0,4,0: 10:[23, 66] Operation: 73-7=66
Exploring Operation: 7+23=30, Resulting Numbers: [73, 30]
Generated Node #0,4,1: 10:[73, 30] Operation: 7+23=30
Exploring Operation: 73-23=50, Resulting Numbers: [7, 50]
Generated Node #0,4,2: 10:[7, 50] Operation: 73-23=50
Exploring Operation: 23-7=16, Resulting Numbers: [73, 16]
Generated Node #0,4,3: 10:[73, 16] Operation: 23-7=16
Exploring Operation: 7+73=80, Resulting Numbers: [23, 80]
Generated Node #0,4,4: 10:[23, 80] Operation: 7+73=80
Moving to Node #0,4,2
Current State: 10:[7, 50], Operations: ['82-9=73', '73-23=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,10 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Moving to Node #0,4,3
Current State: 10:[73, 16], Operations: ['82-9=73', '23-7=16']
Exploring Operation: 73*16=1168, Resulting Numbers: [1168]
1168,10 unequal: No Solution
Exploring Operation: 73+16=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Moving to Node #0,4,0
Current State: 10:[23, 66], Operations: ['82-9=73', '73-7=66']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,10 unequal: No Solution
Moving to Node #0,4,1
Current State: 10:[73, 30], Operations: ['82-9=73', '7+23=30']
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,10 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Moving to Node #0,4,4
Current State: 10:[23, 80], Operations: ['82-9=73', '7+73=80']
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,10 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[9, 23, 75], Operations: ['82-7=75']
Exploring Operation: 23-9=14, Resulting Numbers: [75, 14]
Generated Node #0,0,0: 10:[75, 14] Operation: 23-9=14
Exploring Operation: 75-9=66, Resulting Numbers: [23, 66]
Generated Node #0,0,1: 10:[23, 66] Operation: 75-9=66
Exploring Operation: 9+75=84, Resulting Numbers: [23, 84]
Generated Node #0,0,2: 10:[23, 84] Operation: 9+75=84
Exploring Operation: 75-23=52, Resulting Numbers: [9, 52]
Generated Node #0,0,3: 10:[9, 52] Operation: 75-23=52
Exploring Operation: 9+23=32, Resulting Numbers: [75, 32]
Generated Node #0,0,4: 10:[75, 32] Operation: 9+23=32
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 10:[9, 52], Operations: ['82-7=75', '75-23=52']
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,10 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No 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: 10:[75, 14], Operations: ['82-7=75', '23-9=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,10 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No 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: 10:[23, 66], Operations: ['82-7=75', '75-9=66']
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,10 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,10 unequal: No Solution
No 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: 10:[23, 84], Operations: ['82-7=75', '9+75=84']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 23+84=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Exploring Operation: 23*84=1932, Resulting Numbers: [1932]
1932,10 unequal: No Solution
No 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: 10:[75, 32], Operations: ['82-7=75', '9+23=32']
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,10 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: 10:[82, 9, 16], Operations: ['23-7=16']
Exploring Operation: 16-9=7, Resulting Numbers: [82, 7]
Generated Node #0,2,0: 10:[82, 7] Operation: 16-9=7
Exploring Operation: 82-16=66, Resulting Numbers: [9, 66]
Generated Node #0,2,1: 10:[9, 66] Operation: 82-16=66
Exploring Operation: 9+16=25, Resulting Numbers: [82, 25]
Generated Node #0,2,2: 10:[82, 25] Operation: 9+16=25
Exploring Operation: 82-9=73, Resulting Numbers: [16, 73]
Generated Node #0,2,3: 10:[16, 73] Operation: 82-9=73
Exploring Operation: 82+9=91, Resulting Numbers: [16, 91]
Generated Node #0,2,4: 10:[16, 91] Operation: 82+9=91
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[9, 66], Operations: ['23-7=16', '82-16=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,10 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,10 unequal: No Solution
No 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: 10:[16, 73], Operations: ['23-7=16', '82-9=73']
Exploring Operation: 16+73=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 16*73=1168, Resulting Numbers: [1168]
1168,10 unequal: No Solution
No 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: 10:[82, 7], Operations: ['23-7=16', '16-9=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,10 unequal: No Solution
No 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: 10:[82, 25], Operations: ['23-7=16', '9+16=25']
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,10 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,10 unequal: No Solution
No 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: 10:[16, 91], Operations: ['23-7=16', '82+9=91']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,10 unequal: No Solution
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,10 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 |
[
42,
51,
24,
9
] | 78 | [
"42+51=93",
"24-9=15",
"93-15=78"
] | Current State: 78:[42, 51, 24, 9], Operations: []
Exploring Operation: 42+51=93, Resulting Numbers: [24, 9, 93]
Generated Node #2: [24, 9, 93] from Operation: 42+51=93
Current State: 78:[24, 9, 93], Operations: ['42+51=93']
Exploring Operation: 24-9=15, Resulting Numbers: [93, 15]
Generated Node #3: [93, 15] from Operation: 24-9=15
Current State: 78:[93, 15], Operations: ['42+51=93', '24-9=15']
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[42, 51, 24, 9], Operations: []
Exploring Operation: 51-24=27, Resulting Numbers: [42, 9, 27]
Generated Node #0,0: 78:[42, 9, 27] Operation: 51-24=27
Exploring Operation: 51-42=9, Resulting Numbers: [24, 9, 9]
Generated Node #0,1: 78:[24, 9, 9] Operation: 51-42=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[42, 9, 27], Operations: ['51-24=27']
Exploring Operation: 42-27=15, Resulting Numbers: [9, 15]
Generated Node #0,0,0: 78:[9, 15] Operation: 42-27=15
Exploring Operation: 27/9=3, Resulting Numbers: [42, 3]
Generated Node #0,0,1: 78:[42, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[42, 3], Operations: ['51-24=27', '27/9=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,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,0
Current State: 78:[9, 15], Operations: ['51-24=27', '42-27=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[24, 9, 9], Operations: ['51-42=9']
Exploring Operation: 9-9=0, Resulting Numbers: [24, 0]
Generated Node #0,1,0: 78:[24, 0] Operation: 9-9=0
Exploring Operation: 9/9=1, Resulting Numbers: [24, 1]
Generated Node #0,1,1: 78:[24, 1] Operation: 9/9=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[24, 1], Operations: ['51-42=9', '9/9=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[24, 0], Operations: ['51-42=9', '9-9=0']
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 24*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
84,
50,
5
] | 78 | [
"84-51=33",
"50-5=45",
"33+45=78"
] | Current State: 78:[51, 84, 50, 5], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [50, 5, 33]
Generated Node #2: [50, 5, 33] from Operation: 84-51=33
Current State: 78:[50, 5, 33], Operations: ['84-51=33']
Exploring Operation: 50-5=45, Resulting Numbers: [33, 45]
Generated Node #3: [33, 45] from Operation: 50-5=45
Current State: 78:[33, 45], Operations: ['84-51=33', '50-5=45']
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[51, 84, 50, 5], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [50, 5, 33]
Generated Node #0,0: 78:[50, 5, 33] Operation: 84-51=33
Exploring Operation: 84-50=34, Resulting Numbers: [51, 5, 34]
Generated Node #0,1: 78:[51, 5, 34] Operation: 84-50=34
Exploring Operation: 51-50=1, Resulting Numbers: [84, 5, 1]
Generated Node #0,2: 78:[84, 5, 1] Operation: 51-50=1
Moving to Node #0,2
Current State: 78:[84, 5, 1], Operations: ['51-50=1']
Exploring Operation: 84-5=79, Resulting Numbers: [1, 79]
Generated Node #0,2,0: 78:[1, 79] Operation: 84-5=79
Exploring Operation: 84-1=83, Resulting Numbers: [5, 83]
Generated Node #0,2,1: 78:[5, 83] Operation: 84-1=83
Exploring Operation: 5+1=6, Resulting Numbers: [84, 6]
Generated Node #0,2,2: 78:[84, 6] Operation: 5+1=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[1, 79], Operations: ['51-50=1', '84-5=79']
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[51, 84, 50, 5], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [84, 5, 1]
Generated Node #0,2: 78:[84, 5, 1] Operation: 51-50=1
Moving to Node #0,2
Current State: 78:[84, 5, 1], Operations: ['51-50=1']
Exploring Operation: 84-5=79, Resulting Numbers: [1, 79]
Generated Node #0,2,0: 78:[1, 79] Operation: 84-5=79
Moving to Node #0,2,0
Current State: 78:[1, 79], Operations: ['51-50=1', '84-5=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
5,
45,
30,
6
] | 70 | [
"5*30=150",
"150/6=25",
"45+25=70"
] | Current State: 70:[5, 45, 30, 6], Operations: []
Exploring Operation: 5*30=150, Resulting Numbers: [45, 6, 150]
Generated Node #2: [45, 6, 150] from Operation: 5*30=150
Current State: 70:[45, 6, 150], Operations: ['5*30=150']
Exploring Operation: 150/6=25, Resulting Numbers: [45, 25]
Generated Node #3: [45, 25] from Operation: 150/6=25
Current State: 70:[45, 25], Operations: ['5*30=150', '150/6=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[5, 45, 30, 6], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [5, 6, 15]
Generated Node #0,0: 70:[5, 6, 15] Operation: 45-30=15
Exploring Operation: 45+30=75, Resulting Numbers: [5, 6, 75]
Generated Node #0,1: 70:[5, 6, 75] Operation: 45+30=75
Moving to Node #0,0
Current State: 70:[5, 6, 15], Operations: ['45-30=15']
Exploring Operation: 15-5=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 70:[6, 10] Operation: 15-5=10
Exploring Operation: 15-6=9, Resulting Numbers: [5, 9]
Generated Node #0,0,1: 70:[5, 9] Operation: 15-6=9
Moving to Node #0,1
Current State: 70:[5, 6, 75], Operations: ['45+30=75']
Exploring Operation: 75-6=69, Resulting Numbers: [5, 69]
Generated Node #0,1,0: 70:[5, 69] Operation: 75-6=69
Exploring Operation: 75-5=70, Resulting Numbers: [6, 70]
Generated Node #0,1,1: 70:[6, 70] Operation: 75-5=70
Moving to Node #0,0,0
Current State: 70:[6, 10], Operations: ['45-30=15', '15-5=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[5, 69], Operations: ['45+30=75', '75-6=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[5, 9], Operations: ['45-30=15', '15-6=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[6, 70], Operations: ['45+30=75', '75-5=70']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,70 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
28,
15,
25
] | 37 | [
"28-1=27",
"25-15=10",
"27+10=37"
] | Current State: 37:[1, 28, 15, 25], Operations: []
Exploring Operation: 28-1=27, Resulting Numbers: [15, 25, 27]
Generated Node #2: [15, 25, 27] from Operation: 28-1=27
Current State: 37:[15, 25, 27], Operations: ['28-1=27']
Exploring Operation: 25-15=10, Resulting Numbers: [27, 10]
Generated Node #3: [27, 10] from Operation: 25-15=10
Current State: 37:[27, 10], Operations: ['28-1=27', '25-15=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[1, 28, 15, 25], Operations: []
Exploring Operation: 1*28=28, Resulting Numbers: [15, 25, 28]
Generated Node #0,0: 37:[15, 25, 28] Operation: 1*28=28
Exploring Operation: 1+25=26, Resulting Numbers: [28, 15, 26]
Generated Node #0,1: 37:[28, 15, 26] Operation: 1+25=26
Exploring Operation: 1+15=16, Resulting Numbers: [28, 25, 16]
Generated Node #0,2: 37:[28, 25, 16] Operation: 1+15=16
Exploring Operation: 1+28=29, Resulting Numbers: [15, 25, 29]
Generated Node #0,3: 37:[15, 25, 29] Operation: 1+28=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[28, 15, 26], Operations: ['1+25=26']
Exploring Operation: 15+26=41, Resulting Numbers: [28, 41]
Generated Node #0,1,0: 37:[28, 41] Operation: 15+26=41
Exploring Operation: 28-15=13, Resulting Numbers: [26, 13]
Generated Node #0,1,1: 37:[26, 13] Operation: 28-15=13
Exploring Operation: 26-15=11, Resulting Numbers: [28, 11]
Generated Node #0,1,2: 37:[28, 11] Operation: 26-15=11
Exploring Operation: 28+15=43, Resulting Numbers: [26, 43]
Generated Node #0,1,3: 37:[26, 43] Operation: 28+15=43
Moving to Node #0,1,0
Current State: 37:[28, 41], Operations: ['1+25=26', '15+26=41']
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,37 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[26, 43], Operations: ['1+25=26', '28+15=43']
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,37 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[28, 11], Operations: ['1+25=26', '26-15=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,37 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[26, 13], Operations: ['1+25=26', '28-15=13']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,37 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[28, 25, 16], Operations: ['1+15=16']
Exploring Operation: 28+16=44, Resulting Numbers: [25, 44]
Generated Node #0,2,0: 37:[25, 44] Operation: 28+16=44
Exploring Operation: 28+25=53, Resulting Numbers: [16, 53]
Generated Node #0,2,1: 37:[16, 53] Operation: 28+25=53
Exploring Operation: 25+16=41, Resulting Numbers: [28, 41]
Generated Node #0,2,2: 37:[28, 41] Operation: 25+16=41
Exploring Operation: 28-16=12, Resulting Numbers: [25, 12]
Generated Node #0,2,3: 37:[25, 12] Operation: 28-16=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[28, 41], Operations: ['1+15=16', '25+16=41']
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,37 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[25, 44], Operations: ['1+15=16', '28+16=44']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,37 unequal: No Solution
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[16, 53], Operations: ['1+15=16', '28+25=53']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[1, 28, 15, 25], Operations: []
Exploring Operation: 1+15=16, Resulting Numbers: [28, 25, 16]
Generated Node #0,2: 37:[28, 25, 16] Operation: 1+15=16
Moving to Node #0,2
Current State: 37:[28, 25, 16], Operations: ['1+15=16']
Exploring Operation: 28+25=53, Resulting Numbers: [16, 53]
Generated Node #0,2,1: 37:[16, 53] Operation: 28+25=53
Moving to Node #0,2,1
Current State: 37:[16, 53], Operations: ['1+15=16', '28+25=53']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
21,
2,
2,
96
] | 70 | [
"2+96=98",
"98/2=49",
"21+49=70"
] | Current State: 70:[21, 2, 2, 96], Operations: []
Exploring Operation: 2+96=98, Resulting Numbers: [21, 98]
Generated Node #2: [21, 98] from Operation: 2+96=98
Current State: 70:[21, 98], Operations: ['2+96=98']
Exploring Operation: 98/2=49, Resulting Numbers: [21, 49]
Generated Node #3: [21, 49] from Operation: 98/2=49
Current State: 70:[21, 49], Operations: ['2+96=98', '98/2=49']
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[21, 2, 2, 96], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [21, 2, 48]
Generated Node #0,0: 70:[21, 2, 48] Operation: 96/2=48
Exploring Operation: 96/2=48, Resulting Numbers: [21, 2, 48]
Generated Node #0,1: 70:[21, 2, 48] Operation: 96/2=48
Exploring Operation: 21-2=19, Resulting Numbers: [2, 96, 19]
Generated Node #0,2: 70:[2, 96, 19] Operation: 21-2=19
Exploring Operation: 96-21=75, Resulting Numbers: [2, 2, 75]
Generated Node #0,3: 70:[2, 2, 75] Operation: 96-21=75
Exploring Operation: 21-2=19, Resulting Numbers: [2, 96, 19]
Generated Node #0,4: 70:[2, 96, 19] Operation: 21-2=19
Moving to Node #0,3
Current State: 70:[2, 2, 75], Operations: ['96-21=75']
Exploring Operation: 2+2=4, Resulting Numbers: [75, 4]
Generated Node #0,3,0: 70:[75, 4] Operation: 2+2=4
Exploring Operation: 75-2=73, Resulting Numbers: [2, 73]
Generated Node #0,3,1: 70:[2, 73] Operation: 75-2=73
Exploring Operation: 2/2=1, Resulting Numbers: [75, 1]
Generated Node #0,3,2: 70:[75, 1] Operation: 2/2=1
Exploring Operation: 75-2=73, Resulting Numbers: [2, 73]
Generated Node #0,3,3: 70:[2, 73] Operation: 75-2=73
Exploring Operation: 2*2=4, Resulting Numbers: [75, 4]
Generated Node #0,3,4: 70:[75, 4] Operation: 2*2=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[2, 73], Operations: ['96-21=75', '75-2=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,70 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,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,3,3
Current State: 70:[2, 73], Operations: ['96-21=75', '75-2=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,70 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,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,3,0
Current State: 70:[75, 4], Operations: ['96-21=75', '2+2=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,70 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,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,3,2
Current State: 70:[75, 1], Operations: ['96-21=75', '2/2=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,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,3,4
Current State: 70:[75, 4], Operations: ['96-21=75', '2*2=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,70 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: 70:[21, 2, 48], Operations: ['96/2=48']
Exploring Operation: 21+48=69, Resulting Numbers: [2, 69]
Generated Node #0,1,0: 70:[2, 69] Operation: 21+48=69
Exploring Operation: 48-21=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 70:[2, 27] Operation: 48-21=27
Exploring Operation: 48-2=46, Resulting Numbers: [21, 46]
Generated Node #0,1,2: 70:[21, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [21, 24]
Generated Node #0,1,3: 70:[21, 24] Operation: 48/2=24
Exploring Operation: 21-2=19, Resulting Numbers: [48, 19]
Generated Node #0,1,4: 70:[48, 19] Operation: 21-2=19
Moving to Node #0,0
Current State: 70:[21, 2, 48], Operations: ['96/2=48']
Exploring Operation: 48-2=46, Resulting Numbers: [21, 46]
Generated Node #0,0,0: 70:[21, 46] Operation: 48-2=46
Exploring Operation: 48-21=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 70:[2, 27] Operation: 48-21=27
Exploring Operation: 21+48=69, Resulting Numbers: [2, 69]
Generated Node #0,0,2: 70:[2, 69] Operation: 21+48=69
Exploring Operation: 48/2=24, Resulting Numbers: [21, 24]
Generated Node #0,0,3: 70:[21, 24] Operation: 48/2=24
Exploring Operation: 21-2=19, Resulting Numbers: [48, 19]
Generated Node #0,0,4: 70:[48, 19] Operation: 21-2=19
Moving to Node #0,2
Current State: 70:[2, 96, 19], Operations: ['21-2=19']
Exploring Operation: 96/2=48, Resulting Numbers: [19, 48]
Generated Node #0,2,0: 70:[19, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [19, 94]
Generated Node #0,2,1: 70:[19, 94] Operation: 96-2=94
Exploring Operation: 19-2=17, Resulting Numbers: [96, 17]
Generated Node #0,2,2: 70:[96, 17] Operation: 19-2=17
Exploring Operation: 96-19=77, Resulting Numbers: [2, 77]
Generated Node #0,2,3: 70:[2, 77] Operation: 96-19=77
Exploring Operation: 2*19=38, Resulting Numbers: [96, 38]
Generated Node #0,2,4: 70:[96, 38] Operation: 2*19=38
Moving to Node #0,4
Current State: 70:[2, 96, 19], Operations: ['21-2=19']
Exploring Operation: 19-2=17, Resulting Numbers: [96, 17]
Generated Node #0,4,0: 70:[96, 17] Operation: 19-2=17
Exploring Operation: 96-19=77, Resulting Numbers: [2, 77]
Generated Node #0,4,1: 70:[2, 77] Operation: 96-19=77
Exploring Operation: 96/2=48, Resulting Numbers: [19, 48]
Generated Node #0,4,2: 70:[19, 48] Operation: 96/2=48
Exploring Operation: 2*19=38, Resulting Numbers: [96, 38]
Generated Node #0,4,3: 70:[96, 38] Operation: 2*19=38
Exploring Operation: 96-2=94, Resulting Numbers: [19, 94]
Generated Node #0,4,4: 70:[19, 94] Operation: 96-2=94
Moving to Node #0,1,0
Current State: 70:[2, 69], Operations: ['96/2=48', '21+48=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[2, 69], Operations: ['96/2=48', '21+48=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[2, 77], Operations: ['21-2=19', '96-19=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[2, 77], Operations: ['21-2=19', '96-19=77']
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,70 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[2, 27], Operations: ['96/2=48', '48-21=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[2, 27], Operations: ['96/2=48', '48-21=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[21, 24], Operations: ['96/2=48', '48/2=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[21, 24], Operations: ['96/2=48', '48/2=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[19, 48], Operations: ['21-2=19', '96/2=48']
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,70 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[48, 19], Operations: ['96/2=48', '21-2=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,70 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[48, 19], Operations: ['96/2=48', '21-2=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,70 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[21, 46], Operations: ['96/2=48', '48-2=46']
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,70 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[21, 46], Operations: ['96/2=48', '48-2=46']
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,70 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[19, 48], Operations: ['21-2=19', '96/2=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[96, 38], Operations: ['21-2=19', '2*19=38']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,70 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[19, 94], Operations: ['21-2=19', '96-2=94']
Exploring Operation: 19*94=1786, Resulting Numbers: [1786]
1786,70 unequal: No Solution
Exploring Operation: 19+94=113, Resulting Numbers: [113]
113,70 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[19, 94], Operations: ['21-2=19', '96-2=94']
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 19*94=1786, Resulting Numbers: [1786]
1786,70 unequal: No Solution
Exploring Operation: 19+94=113, Resulting Numbers: [113]
113,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[96, 38], Operations: ['21-2=19', '2*19=38']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,70 unequal: No Solution
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[96, 17], Operations: ['21-2=19', '19-2=17']
Exploring Operation: 96*17=1632, Resulting Numbers: [1632]
1632,70 unequal: No Solution
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,70 unequal: No Solution
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[96, 17], Operations: ['21-2=19', '19-2=17']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,70 unequal: No Solution
Exploring Operation: 96*17=1632, Resulting Numbers: [1632]
1632,70 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
46,
40,
28,
39
] | 19 | [
"46+40=86",
"28+39=67",
"86-67=19"
] | Current State: 19:[46, 40, 28, 39], Operations: []
Exploring Operation: 46+40=86, Resulting Numbers: [28, 39, 86]
Generated Node #2: [28, 39, 86] from Operation: 46+40=86
Current State: 19:[28, 39, 86], Operations: ['46+40=86']
Exploring Operation: 28+39=67, Resulting Numbers: [86, 67]
Generated Node #3: [86, 67] from Operation: 28+39=67
Current State: 19:[86, 67], Operations: ['46+40=86', '28+39=67']
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[46, 40, 28, 39], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [28, 39, 6]
Generated Node #0,0: 19:[28, 39, 6] Operation: 46-40=6
Exploring Operation: 46-28=18, Resulting Numbers: [40, 39, 18]
Generated Node #0,1: 19:[40, 39, 18] Operation: 46-28=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[28, 39, 6], Operations: ['46-40=6']
Exploring Operation: 28-6=22, Resulting Numbers: [39, 22]
Generated Node #0,0,0: 19:[39, 22] Operation: 28-6=22
Exploring Operation: 39-28=11, Resulting Numbers: [6, 11]
Generated Node #0,0,1: 19:[6, 11] Operation: 39-28=11
Moving to Node #0,0,1
Current State: 19:[6, 11], Operations: ['46-40=6', '39-28=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[39, 22], Operations: ['46-40=6', '28-6=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[40, 39, 18], Operations: ['46-28=18']
Exploring Operation: 40-39=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 19:[18, 1] Operation: 40-39=1
Exploring Operation: 40-18=22, Resulting Numbers: [39, 22]
Generated Node #0,1,1: 19:[39, 22] Operation: 40-18=22
Moving to Node #0,1,0
Current State: 19:[18, 1], Operations: ['46-28=18', '40-39=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[46, 40, 28, 39], Operations: []
Exploring Operation: 46-28=18, Resulting Numbers: [40, 39, 18]
Generated Node #0,1: 19:[40, 39, 18] Operation: 46-28=18
Moving to Node #0,1
Current State: 19:[40, 39, 18], Operations: ['46-28=18']
Exploring Operation: 40-39=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 19:[18, 1] Operation: 40-39=1
Moving to Node #0,1,0
Current State: 19:[18, 1], Operations: ['46-28=18', '40-39=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
76,
55,
49,
3
] | 46 | [
"76-49=27",
"27/3=9",
"55-9=46"
] | Current State: 46:[76, 55, 49, 3], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [55, 3, 27]
Generated Node #2: [55, 3, 27] from Operation: 76-49=27
Current State: 46:[55, 3, 27], Operations: ['76-49=27']
Exploring Operation: 27/3=9, Resulting Numbers: [55, 9]
Generated Node #3: [55, 9] from Operation: 27/3=9
Current State: 46:[55, 9], Operations: ['76-49=27', '27/3=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[76, 55, 49, 3], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [49, 3, 21]
Generated Node #0,0: 46:[49, 3, 21] Operation: 76-55=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[49, 3, 21], Operations: ['76-55=21']
Exploring Operation: 49-3=46, Resulting Numbers: [21, 46]
Generated Node #0,0,0: 46:[21, 46] Operation: 49-3=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[21, 46], Operations: ['76-55=21', '49-3=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
21,
91,
75
] | 89 | [
"75-21=54",
"54/27=2",
"91-2=89"
] | Current State: 89:[27, 21, 91, 75], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [27, 91, 54]
Generated Node #2: [27, 91, 54] from Operation: 75-21=54
Current State: 89:[27, 91, 54], Operations: ['75-21=54']
Exploring Operation: 54/27=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 54/27=2
Current State: 89:[91, 2], Operations: ['75-21=54', '54/27=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[27, 21, 91, 75], Operations: []
Exploring Operation: 27+21=48, Resulting Numbers: [91, 75, 48]
Generated Node #0,0: 89:[91, 75, 48] Operation: 27+21=48
Moving to Node #0,0
Current State: 89:[91, 75, 48], Operations: ['27+21=48']
Exploring Operation: 75+48=123, Resulting Numbers: [91, 123]
Generated Node #0,0,0: 89:[91, 123] Operation: 75+48=123
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[91, 123], Operations: ['27+21=48', '75+48=123']
Exploring Operation: 123-91=32, Resulting Numbers: [32]
32,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 | mult_heuristic |
[
66,
17,
10,
27
] | 34 | [
"27-17=10",
"10*10=100",
"100-66=34"
] | Current State: 34:[66, 17, 10, 27], Operations: []
Exploring Operation: 27-17=10, Resulting Numbers: [66, 10, 10]
Generated Node #2: [66, 10, 10] from Operation: 27-17=10
Current State: 34:[66, 10, 10], Operations: ['27-17=10']
Exploring Operation: 10*10=100, Resulting Numbers: [66, 100]
Generated Node #3: [66, 100] from Operation: 10*10=100
Current State: 34:[66, 100], Operations: ['27-17=10', '10*10=100']
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[66, 17, 10, 27], Operations: []
Exploring Operation: 66-17=49, Resulting Numbers: [10, 27, 49]
Generated Node #0,0: 34:[10, 27, 49] Operation: 66-17=49
Exploring Operation: 66-27=39, Resulting Numbers: [17, 10, 39]
Generated Node #0,1: 34:[17, 10, 39] Operation: 66-27=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[17, 10, 39], Operations: ['66-27=39']
Exploring Operation: 17-10=7, Resulting Numbers: [39, 7]
Generated Node #0,1,0: 34:[39, 7] Operation: 17-10=7
Exploring Operation: 39-10=29, Resulting Numbers: [17, 29]
Generated Node #0,1,1: 34:[17, 29] Operation: 39-10=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[17, 29], Operations: ['66-27=39', '39-10=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[39, 7], Operations: ['66-27=39', '17-10=7']
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[10, 27, 49], Operations: ['66-17=49']
Exploring Operation: 49-27=22, Resulting Numbers: [10, 22]
Generated Node #0,0,0: 34:[10, 22] Operation: 49-27=22
Exploring Operation: 49-10=39, Resulting Numbers: [27, 39]
Generated Node #0,0,1: 34:[27, 39] Operation: 49-10=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[10, 22], Operations: ['66-17=49', '49-27=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[27, 39], Operations: ['66-17=49', '49-10=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
80,
80,
11
] | 70 | [
"80-80=0",
"11*0=0",
"70+0=70"
] | Current State: 70:[70, 80, 80, 11], Operations: []
Exploring Operation: 80-80=0, Resulting Numbers: [70, 11, 0]
Generated Node #2: [70, 11, 0] from Operation: 80-80=0
Current State: 70:[70, 11, 0], Operations: ['80-80=0']
Exploring Operation: 11*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 11*0=0
Current State: 70:[70, 0], Operations: ['80-80=0', '11*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[70, 80, 80, 11], Operations: []
Exploring Operation: 80/80=1, Resulting Numbers: [70, 11, 1]
Generated Node #0,0: 70:[70, 11, 1] Operation: 80/80=1
Exploring Operation: 80-80=0, Resulting Numbers: [70, 11, 0]
Generated Node #0,1: 70:[70, 11, 0] Operation: 80-80=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[70, 11, 1], Operations: ['80/80=1']
Exploring Operation: 11-1=10, Resulting Numbers: [70, 10]
Generated Node #0,0,0: 70:[70, 10] Operation: 11-1=10
Exploring Operation: 70*1=70, Resulting Numbers: [11, 70]
Generated Node #0,0,1: 70:[11, 70] Operation: 70*1=70
Moving to Node #0,0,0
Current State: 70:[70, 10], Operations: ['80/80=1', '11-1=10']
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[11, 70], Operations: ['80/80=1', '70*1=70']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,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:[70, 11, 0], Operations: ['80-80=0']
Exploring Operation: 70-0=70, Resulting Numbers: [11, 70]
Generated Node #0,1,0: 70:[11, 70] Operation: 70-0=70
Exploring Operation: 70+0=70, Resulting Numbers: [11, 70]
Generated Node #0,1,1: 70:[11, 70] Operation: 70+0=70
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[11, 70], Operations: ['80-80=0', '70-0=70']
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,70 unequal: No Solution
No 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: 70:[11, 70], Operations: ['80-80=0', '70+0=70']
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
81,
86,
91
] | 91 | [
"91-81=10",
"50/10=5",
"86+5=91"
] | Current State: 91:[50, 81, 86, 91], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [50, 86, 10]
Generated Node #2: [50, 86, 10] from Operation: 91-81=10
Current State: 91:[50, 86, 10], Operations: ['91-81=10']
Exploring Operation: 50/10=5, Resulting Numbers: [86, 5]
Generated Node #3: [86, 5] from Operation: 50/10=5
Current State: 91:[86, 5], Operations: ['91-81=10', '50/10=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[50, 81, 86, 91], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [86, 91, 31]
Generated Node #0,0: 91:[86, 91, 31] Operation: 81-50=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[86, 91, 31], Operations: ['81-50=31']
Exploring Operation: 91-86=5, Resulting Numbers: [31, 5]
Generated Node #0,0,0: 91:[31, 5] Operation: 91-86=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[31, 5], Operations: ['81-50=31', '91-86=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
53,
22,
28,
20
] | 39 | [
"53-22=31",
"28-20=8",
"31+8=39"
] | Current State: 39:[53, 22, 28, 20], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [28, 20, 31]
Generated Node #2: [28, 20, 31] from Operation: 53-22=31
Current State: 39:[28, 20, 31], Operations: ['53-22=31']
Exploring Operation: 28-20=8, Resulting Numbers: [31, 8]
Generated Node #3: [31, 8] from Operation: 28-20=8
Current State: 39:[31, 8], Operations: ['53-22=31', '28-20=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[53, 22, 28, 20], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [53, 28, 2]
Generated Node #0,0: 39:[53, 28, 2] Operation: 22-20=2
Exploring Operation: 53-22=31, Resulting Numbers: [28, 20, 31]
Generated Node #0,1: 39:[28, 20, 31] Operation: 53-22=31
Exploring Operation: 28-22=6, Resulting Numbers: [53, 20, 6]
Generated Node #0,2: 39:[53, 20, 6] Operation: 28-22=6
Exploring Operation: 53-20=33, Resulting Numbers: [22, 28, 33]
Generated Node #0,3: 39:[22, 28, 33] Operation: 53-20=33
Moving to Node #0,2
Current State: 39:[53, 20, 6], Operations: ['28-22=6']
Exploring Operation: 53-6=47, Resulting Numbers: [20, 47]
Generated Node #0,2,0: 39:[20, 47] Operation: 53-6=47
Exploring Operation: 53+6=59, Resulting Numbers: [20, 59]
Generated Node #0,2,1: 39:[20, 59] Operation: 53+6=59
Exploring Operation: 53-20=33, Resulting Numbers: [6, 33]
Generated Node #0,2,2: 39:[6, 33] Operation: 53-20=33
Exploring Operation: 20-6=14, Resulting Numbers: [53, 14]
Generated Node #0,2,3: 39:[53, 14] Operation: 20-6=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[6, 33], Operations: ['28-22=6', '53-20=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[53, 22, 28, 20], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [53, 20, 6]
Generated Node #0,2: 39:[53, 20, 6] Operation: 28-22=6
Moving to Node #0,2
Current State: 39:[53, 20, 6], Operations: ['28-22=6']
Exploring Operation: 53-20=33, Resulting Numbers: [6, 33]
Generated Node #0,2,2: 39:[6, 33] Operation: 53-20=33
Moving to Node #0,2,2
Current State: 39:[6, 33], Operations: ['28-22=6', '53-20=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
8,
5,
28,
7
] | 25 | [
"8+7=15",
"15/5=3",
"28-3=25"
] | Current State: 25:[8, 5, 28, 7], Operations: []
Exploring Operation: 8+7=15, Resulting Numbers: [5, 28, 15]
Generated Node #2: [5, 28, 15] from Operation: 8+7=15
Current State: 25:[5, 28, 15], Operations: ['8+7=15']
Exploring Operation: 15/5=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 15/5=3
Current State: 25:[28, 3], Operations: ['8+7=15', '15/5=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[8, 5, 28, 7], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [8, 5, 4]
Generated Node #0,0: 25:[8, 5, 4] Operation: 28/7=4
Exploring Operation: 8-5=3, Resulting Numbers: [28, 7, 3]
Generated Node #0,1: 25:[28, 7, 3] Operation: 8-5=3
Moving to Node #0,0
Current State: 25:[8, 5, 4], Operations: ['28/7=4']
Exploring Operation: 8-4=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 25:[5, 4] Operation: 8-4=4
Exploring Operation: 8-5=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 25:[4, 3] Operation: 8-5=3
Moving to Node #0,1
Current State: 25:[28, 7, 3], Operations: ['8-5=3']
Exploring Operation: 28-3=25, Resulting Numbers: [7, 25]
Generated Node #0,1,0: 25:[7, 25] Operation: 28-3=25
Exploring Operation: 28/7=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 25:[3, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[7, 25], Operations: ['8-5=3', '28-3=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[3, 4], Operations: ['8-5=3', '28/7=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,25 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: 25:[5, 4], Operations: ['28/7=4', '8-4=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[4, 3], Operations: ['28/7=4', '8-5=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
1,
56,
58
] | 19 | [
"21*1=21",
"58-56=2",
"21-2=19"
] | Current State: 19:[21, 1, 56, 58], Operations: []
Exploring Operation: 21*1=21, Resulting Numbers: [56, 58, 21]
Generated Node #2: [56, 58, 21] from Operation: 21*1=21
Current State: 19:[56, 58, 21], Operations: ['21*1=21']
Exploring Operation: 58-56=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 58-56=2
Current State: 19:[21, 2], Operations: ['21*1=21', '58-56=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[21, 1, 56, 58], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [21, 1, 2]
Generated Node #0,0: 19:[21, 1, 2] Operation: 58-56=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[21, 1, 2], Operations: ['58-56=2']
Exploring Operation: 21-1=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 19:[2, 20] Operation: 21-1=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[2, 20], Operations: ['58-56=2', '21-1=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
64,
72,
2,
58
] | 63 | [
"58-2=56",
"72*56=4032",
"4032/64=63"
] | Current State: 63:[64, 72, 2, 58], Operations: []
Exploring Operation: 58-2=56, Resulting Numbers: [64, 72, 56]
Generated Node #2: [64, 72, 56] from Operation: 58-2=56
Current State: 63:[64, 72, 56], Operations: ['58-2=56']
Exploring Operation: 72*56=4032, Resulting Numbers: [64, 4032]
Generated Node #3: [64, 4032] from Operation: 72*56=4032
Current State: 63:[64, 4032], Operations: ['58-2=56', '72*56=4032']
Exploring Operation: 4032/64=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[64, 72, 2, 58], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [2, 58, 8]
Generated Node #0,0: 63:[2, 58, 8] Operation: 72-64=8
Moving to Node #0,0
Current State: 63:[2, 58, 8], Operations: ['72-64=8']
Exploring Operation: 2+58=60, Resulting Numbers: [8, 60]
Generated Node #0,0,0: 63:[8, 60] Operation: 2+58=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[8, 60], Operations: ['72-64=8', '2+58=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
40,
88,
80
] | 54 | [
"6+40=46",
"88-80=8",
"46+8=54"
] | Current State: 54:[6, 40, 88, 80], Operations: []
Exploring Operation: 6+40=46, Resulting Numbers: [88, 80, 46]
Generated Node #2: [88, 80, 46] from Operation: 6+40=46
Current State: 54:[88, 80, 46], Operations: ['6+40=46']
Exploring Operation: 88-80=8, Resulting Numbers: [46, 8]
Generated Node #3: [46, 8] from Operation: 88-80=8
Current State: 54:[46, 8], Operations: ['6+40=46', '88-80=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[6, 40, 88, 80], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [6, 80, 48]
Generated Node #0,0: 54:[6, 80, 48] Operation: 88-40=48
Exploring Operation: 88-80=8, Resulting Numbers: [6, 40, 8]
Generated Node #0,1: 54:[6, 40, 8] Operation: 88-80=8
Exploring Operation: 80/40=2, Resulting Numbers: [6, 88, 2]
Generated Node #0,2: 54:[6, 88, 2] Operation: 80/40=2
Exploring Operation: 40-6=34, Resulting Numbers: [88, 80, 34]
Generated Node #0,3: 54:[88, 80, 34] Operation: 40-6=34
Exploring Operation: 80-40=40, Resulting Numbers: [6, 88, 40]
Generated Node #0,4: 54:[6, 88, 40] Operation: 80-40=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[6, 40, 8], Operations: ['88-80=8']
Exploring Operation: 40-6=34, Resulting Numbers: [8, 34]
Generated Node #0,1,0: 54:[8, 34] Operation: 40-6=34
Exploring Operation: 40-8=32, Resulting Numbers: [6, 32]
Generated Node #0,1,1: 54:[6, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 54:[6, 5] Operation: 40/8=5
Exploring Operation: 6+40=46, Resulting Numbers: [8, 46]
Generated Node #0,1,3: 54:[8, 46] Operation: 6+40=46
Exploring Operation: 40+8=48, Resulting Numbers: [6, 48]
Generated Node #0,1,4: 54:[6, 48] Operation: 40+8=48
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[6, 5], Operations: ['88-80=8', '40/8=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,54 unequal: No Solution
No 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: 54:[6, 32], Operations: ['88-80=8', '40-8=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,54 unequal: No Solution
No 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: 54:[6, 48], Operations: ['88-80=8', '40+8=48']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,54 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[6, 40, 88, 80], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [6, 40, 8]
Generated Node #0,1: 54:[6, 40, 8] Operation: 88-80=8
Moving to Node #0,1
Current State: 54:[6, 40, 8], Operations: ['88-80=8']
Exploring Operation: 40+8=48, Resulting Numbers: [6, 48]
Generated Node #0,1,4: 54:[6, 48] Operation: 40+8=48
Moving to Node #0,1,4
Current State: 54:[6, 48], Operations: ['88-80=8', '40+8=48']
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
50,
82,
77,
81
] | 85 | [
"77-50=27",
"81/27=3",
"82+3=85"
] | Current State: 85:[50, 82, 77, 81], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [82, 81, 27]
Generated Node #2: [82, 81, 27] from Operation: 77-50=27
Current State: 85:[82, 81, 27], Operations: ['77-50=27']
Exploring Operation: 81/27=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 81/27=3
Current State: 85:[82, 3], Operations: ['77-50=27', '81/27=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[50, 82, 77, 81], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [77, 81, 32]
Generated Node #0,0: 85:[77, 81, 32] Operation: 82-50=32
Exploring Operation: 81-50=31, Resulting Numbers: [82, 77, 31]
Generated Node #0,1: 85:[82, 77, 31] Operation: 81-50=31
Exploring Operation: 77-50=27, Resulting Numbers: [82, 81, 27]
Generated Node #0,2: 85:[82, 81, 27] Operation: 77-50=27
Moving to Node #0,2
Current State: 85:[82, 81, 27], Operations: ['77-50=27']
Exploring Operation: 81/27=3, Resulting Numbers: [82, 3]
Generated Node #0,2,0: 85:[82, 3] Operation: 81/27=3
Exploring Operation: 82-81=1, Resulting Numbers: [27, 1]
Generated Node #0,2,1: 85:[27, 1] Operation: 82-81=1
Exploring Operation: 81+27=108, Resulting Numbers: [82, 108]
Generated Node #0,2,2: 85:[82, 108] Operation: 81+27=108
Moving to Node #0,1
Current State: 85:[82, 77, 31], Operations: ['81-50=31']
Exploring Operation: 77+31=108, Resulting Numbers: [82, 108]
Generated Node #0,1,0: 85:[82, 108] Operation: 77+31=108
Exploring Operation: 82-77=5, Resulting Numbers: [31, 5]
Generated Node #0,1,1: 85:[31, 5] Operation: 82-77=5
Exploring Operation: 77-31=46, Resulting Numbers: [82, 46]
Generated Node #0,1,2: 85:[82, 46] Operation: 77-31=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[31, 5], Operations: ['81-50=31', '82-77=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[82, 108], Operations: ['81-50=31', '77+31=108']
Exploring Operation: 108-82=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Exploring Operation: 82*108=8856, Resulting Numbers: [8856]
8856,85 unequal: No Solution
Exploring Operation: 82+108=190, Resulting Numbers: [190]
190,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[82, 46], Operations: ['81-50=31', '77-31=46']
Exploring Operation: 82*46=3772, Resulting Numbers: [3772]
3772,85 unequal: No Solution
Exploring Operation: 82+46=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,85 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: 85:[77, 81, 32], Operations: ['82-50=32']
Exploring Operation: 77+32=109, Resulting Numbers: [81, 109]
Generated Node #0,0,0: 85:[81, 109] Operation: 77+32=109
Exploring Operation: 81-77=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 85:[32, 4] Operation: 81-77=4
Exploring Operation: 77-32=45, Resulting Numbers: [81, 45]
Generated Node #0,0,2: 85:[81, 45] Operation: 77-32=45
Moving to Node #0,2,0
Current State: 85:[82, 3], Operations: ['77-50=27', '81/27=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,85 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[50, 82, 77, 81], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [82, 81, 27]
Generated Node #0,2: 85:[82, 81, 27] Operation: 77-50=27
Moving to Node #0,2
Current State: 85:[82, 81, 27], Operations: ['77-50=27']
Exploring Operation: 81/27=3, Resulting Numbers: [82, 3]
Generated Node #0,2,0: 85:[82, 3] Operation: 81/27=3
Moving to Node #0,2,0
Current State: 85:[82, 3], Operations: ['77-50=27', '81/27=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
77,
89,
79,
1
] | 92 | [
"89-77=12",
"79+1=80",
"12+80=92"
] | Current State: 92:[77, 89, 79, 1], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [79, 1, 12]
Generated Node #2: [79, 1, 12] from Operation: 89-77=12
Current State: 92:[79, 1, 12], Operations: ['89-77=12']
Exploring Operation: 79+1=80, Resulting Numbers: [12, 80]
Generated Node #3: [12, 80] from Operation: 79+1=80
Current State: 92:[12, 80], Operations: ['89-77=12', '79+1=80']
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[77, 89, 79, 1], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [79, 1, 12]
Generated Node #0,0: 92:[79, 1, 12] Operation: 89-77=12
Exploring Operation: 79-77=2, Resulting Numbers: [89, 1, 2]
Generated Node #0,1: 92:[89, 1, 2] Operation: 79-77=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[89, 1, 2], Operations: ['79-77=2']
Exploring Operation: 89+1=90, Resulting Numbers: [2, 90]
Generated Node #0,1,0: 92:[2, 90] Operation: 89+1=90
Exploring Operation: 89+2=91, Resulting Numbers: [1, 91]
Generated Node #0,1,1: 92:[1, 91] Operation: 89+2=91
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[2, 90], Operations: ['79-77=2', '89+1=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[77, 89, 79, 1], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [89, 1, 2]
Generated Node #0,1: 92:[89, 1, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 92:[89, 1, 2], Operations: ['79-77=2']
Exploring Operation: 89+1=90, Resulting Numbers: [2, 90]
Generated Node #0,1,0: 92:[2, 90] Operation: 89+1=90
Moving to Node #0,1,0
Current State: 92:[2, 90], Operations: ['79-77=2', '89+1=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
69,
79,
80,
28
] | 41 | [
"69-28=41",
"80-79=1",
"41*1=41"
] | Current State: 41:[69, 79, 80, 28], Operations: []
Exploring Operation: 69-28=41, Resulting Numbers: [79, 80, 41]
Generated Node #2: [79, 80, 41] from Operation: 69-28=41
Current State: 41:[79, 80, 41], Operations: ['69-28=41']
Exploring Operation: 80-79=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 80-79=1
Current State: 41:[41, 1], Operations: ['69-28=41', '80-79=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[69, 79, 80, 28], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [79, 28, 11]
Generated Node #0,0: 41:[79, 28, 11] Operation: 80-69=11
Exploring Operation: 79-28=51, Resulting Numbers: [69, 80, 51]
Generated Node #0,1: 41:[69, 80, 51] Operation: 79-28=51
Exploring Operation: 69-28=41, Resulting Numbers: [79, 80, 41]
Generated Node #0,2: 41:[79, 80, 41] Operation: 69-28=41
Exploring Operation: 80-28=52, Resulting Numbers: [69, 79, 52]
Generated Node #0,3: 41:[69, 79, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[69, 80, 51], Operations: ['79-28=51']
Exploring Operation: 69+80=149, Resulting Numbers: [51, 149]
Generated Node #0,1,0: 41:[51, 149] Operation: 69+80=149
Exploring Operation: 69-51=18, Resulting Numbers: [80, 18]
Generated Node #0,1,1: 41:[80, 18] Operation: 69-51=18
Exploring Operation: 80-69=11, Resulting Numbers: [51, 11]
Generated Node #0,1,2: 41:[51, 11] Operation: 80-69=11
Exploring Operation: 80-51=29, Resulting Numbers: [69, 29]
Generated Node #0,1,3: 41:[69, 29] Operation: 80-51=29
Moving to Node #0,1,2
Current State: 41:[51, 11], Operations: ['79-28=51', '80-69=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,41 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[69, 29], Operations: ['79-28=51', '80-51=29']
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,41 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[80, 18], Operations: ['79-28=51', '69-51=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[51, 149], Operations: ['79-28=51', '69+80=149']
Exploring Operation: 149-51=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 51*149=7599, Resulting Numbers: [7599]
7599,41 unequal: No Solution
Exploring Operation: 51+149=200, Resulting Numbers: [200]
200,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[79, 80, 41], Operations: ['69-28=41']
Exploring Operation: 79+80=159, Resulting Numbers: [41, 159]
Generated Node #0,2,0: 41:[41, 159] Operation: 79+80=159
Exploring Operation: 79-41=38, Resulting Numbers: [80, 38]
Generated Node #0,2,1: 41:[80, 38] Operation: 79-41=38
Exploring Operation: 80-79=1, Resulting Numbers: [41, 1]
Generated Node #0,2,2: 41:[41, 1] Operation: 80-79=1
Exploring Operation: 80-41=39, Resulting Numbers: [79, 39]
Generated Node #0,2,3: 41:[79, 39] Operation: 80-41=39
Moving to Node #0,2,2
Current State: 41:[41, 1], Operations: ['69-28=41', '80-79=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[69, 79, 80, 28], Operations: []
Exploring Operation: 69-28=41, Resulting Numbers: [79, 80, 41]
Generated Node #0,2: 41:[79, 80, 41] Operation: 69-28=41
Moving to Node #0,2
Current State: 41:[79, 80, 41], Operations: ['69-28=41']
Exploring Operation: 80-79=1, Resulting Numbers: [41, 1]
Generated Node #0,2,2: 41:[41, 1] Operation: 80-79=1
Moving to Node #0,2,2
Current State: 41:[41, 1], Operations: ['69-28=41', '80-79=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
65,
34,
41,
41
] | 99 | [
"65+34=99",
"41-41=0",
"99+0=99"
] | Current State: 99:[65, 34, 41, 41], Operations: []
Exploring Operation: 65+34=99, Resulting Numbers: [41, 41, 99]
Generated Node #2: [41, 41, 99] from Operation: 65+34=99
Current State: 99:[41, 41, 99], Operations: ['65+34=99']
Exploring Operation: 41-41=0, Resulting Numbers: [99, 0]
Generated Node #3: [99, 0] from Operation: 41-41=0
Current State: 99:[99, 0], Operations: ['65+34=99', '41-41=0']
Exploring Operation: 99+0=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[65, 34, 41, 41], Operations: []
Exploring Operation: 65+34=99, Resulting Numbers: [41, 41, 99]
Generated Node #0,0: 99:[41, 41, 99] Operation: 65+34=99
Moving to Node #0,0
Current State: 99:[41, 41, 99], Operations: ['65+34=99']
Exploring Operation: 41/41=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 99:[99, 1] Operation: 41/41=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[99, 1], Operations: ['65+34=99', '41/41=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[65, 34, 41, 41], Operations: []
Exploring Operation: 65+34=99, Resulting Numbers: [41, 41, 99]
Generated Node #0,0: 99:[41, 41, 99] Operation: 65+34=99
Moving to Node #0,0
Current State: 99:[41, 41, 99], Operations: ['65+34=99']
Exploring Operation: 41/41=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 99:[99, 1] Operation: 41/41=1
Moving to Node #0,0,0
Current State: 99:[99, 1], Operations: ['65+34=99', '41/41=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
45,
25,
44
] | 69 | [
"44-25=19",
"6*19=114",
"114-45=69"
] | Current State: 69:[6, 45, 25, 44], Operations: []
Exploring Operation: 44-25=19, Resulting Numbers: [6, 45, 19]
Generated Node #2: [6, 45, 19] from Operation: 44-25=19
Current State: 69:[6, 45, 19], Operations: ['44-25=19']
Exploring Operation: 6*19=114, Resulting Numbers: [45, 114]
Generated Node #3: [45, 114] from Operation: 6*19=114
Current State: 69:[45, 114], Operations: ['44-25=19', '6*19=114']
Exploring Operation: 114-45=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[6, 45, 25, 44], Operations: []
Exploring Operation: 45+44=89, Resulting Numbers: [6, 25, 89]
Generated Node #0,0: 69:[6, 25, 89] Operation: 45+44=89
Exploring Operation: 45-44=1, Resulting Numbers: [6, 25, 1]
Generated Node #0,1: 69:[6, 25, 1] Operation: 45-44=1
Exploring Operation: 45+25=70, Resulting Numbers: [6, 44, 70]
Generated Node #0,2: 69:[6, 44, 70] Operation: 45+25=70
Exploring Operation: 45-25=20, Resulting Numbers: [6, 44, 20]
Generated Node #0,3: 69:[6, 44, 20] Operation: 45-25=20
Exploring Operation: 25+44=69, Resulting Numbers: [6, 45, 69]
Generated Node #0,4: 69:[6, 45, 69] Operation: 25+44=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[6, 25, 1], Operations: ['45-44=1']
Exploring Operation: 6*1=6, Resulting Numbers: [25, 6]
Generated Node #0,1,0: 69:[25, 6] Operation: 6*1=6
Exploring Operation: 6-1=5, Resulting Numbers: [25, 5]
Generated Node #0,1,1: 69:[25, 5] Operation: 6-1=5
Exploring Operation: 6/1=6, Resulting Numbers: [25, 6]
Generated Node #0,1,2: 69:[25, 6] Operation: 6/1=6
Exploring Operation: 25*1=25, Resulting Numbers: [6, 25]
Generated Node #0,1,3: 69:[6, 25] Operation: 25*1=25
Exploring Operation: 25-1=24, Resulting Numbers: [6, 24]
Generated Node #0,1,4: 69:[6, 24] Operation: 25-1=24
Moving to Node #0,1,1
Current State: 69:[25, 5], Operations: ['45-44=1', '6-1=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,69 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[6, 24], Operations: ['45-44=1', '25-1=24']
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,69 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[25, 6], Operations: ['45-44=1', '6*1=6']
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[25, 6], Operations: ['45-44=1', '6/1=6']
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[6, 25], Operations: ['45-44=1', '25*1=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[6, 25, 89], Operations: ['45+44=89']
Exploring Operation: 6+89=95, Resulting Numbers: [25, 95]
Generated Node #0,0,0: 69:[25, 95] Operation: 6+89=95
Exploring Operation: 89-6=83, Resulting Numbers: [25, 83]
Generated Node #0,0,1: 69:[25, 83] Operation: 89-6=83
Exploring Operation: 89-25=64, Resulting Numbers: [6, 64]
Generated Node #0,0,2: 69:[6, 64] Operation: 89-25=64
Exploring Operation: 6+25=31, Resulting Numbers: [89, 31]
Generated Node #0,0,3: 69:[89, 31] Operation: 6+25=31
Exploring Operation: 25-6=19, Resulting Numbers: [89, 19]
Generated Node #0,0,4: 69:[89, 19] Operation: 25-6=19
Moving to Node #0,0,2
Current State: 69:[6, 64], Operations: ['45+44=89', '89-25=64']
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[25, 83], Operations: ['45+44=89', '89-6=83']
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,69 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[89, 19], Operations: ['45+44=89', '25-6=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[25, 95], Operations: ['45+44=89', '6+89=95']
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,69 unequal: No Solution
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[89, 31], Operations: ['45+44=89', '6+25=31']
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,69 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[6, 44, 70], Operations: ['45+25=70']
Exploring Operation: 70-6=64, Resulting Numbers: [44, 64]
Generated Node #0,2,0: 69:[44, 64] Operation: 70-6=64
Exploring Operation: 6+70=76, Resulting Numbers: [44, 76]
Generated Node #0,2,1: 69:[44, 76] Operation: 6+70=76
Exploring Operation: 70-44=26, Resulting Numbers: [6, 26]
Generated Node #0,2,2: 69:[6, 26] Operation: 70-44=26
Exploring Operation: 6+44=50, Resulting Numbers: [70, 50]
Generated Node #0,2,3: 69:[70, 50] Operation: 6+44=50
Exploring Operation: 44-6=38, Resulting Numbers: [70, 38]
Generated Node #0,2,4: 69:[70, 38] Operation: 44-6=38
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[6, 26], Operations: ['45+25=70', '70-44=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,69 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 69:[70, 38], Operations: ['45+25=70', '44-6=38']
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,69 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 69:[70, 50], Operations: ['45+25=70', '6+44=50']
Exploring Operation: 70*50=3500, Resulting Numbers: [3500]
3500,69 unequal: No Solution
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 70+50=120, Resulting Numbers: [120]
120,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[44, 64], Operations: ['45+25=70', '70-6=64']
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,69 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[44, 76], Operations: ['45+25=70', '6+70=76']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,69 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[6, 45, 69], Operations: ['25+44=69']
Exploring Operation: 45-6=39, Resulting Numbers: [69, 39]
Generated Node #0,4,0: 69:[69, 39] Operation: 45-6=39
Exploring Operation: 69-45=24, Resulting Numbers: [6, 24]
Generated Node #0,4,1: 69:[6, 24] Operation: 69-45=24
Exploring Operation: 69-6=63, Resulting Numbers: [45, 63]
Generated Node #0,4,2: 69:[45, 63] Operation: 69-6=63
Exploring Operation: 6+45=51, Resulting Numbers: [69, 51]
Generated Node #0,4,3: 69:[69, 51] Operation: 6+45=51
Exploring Operation: 6+69=75, Resulting Numbers: [45, 75]
Generated Node #0,4,4: 69:[45, 75] Operation: 6+69=75
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 69:[6, 24], Operations: ['25+44=69', '69-45=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,69 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[69, 39], Operations: ['25+44=69', '45-6=39']
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 69:[69, 51], Operations: ['25+44=69', '6+45=51']
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 69:[45, 63], Operations: ['25+44=69', '69-6=63']
Exploring Operation: 45*63=2835, Resulting Numbers: [2835]
2835,69 unequal: No Solution
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 69:[45, 75], Operations: ['25+44=69', '6+69=75']
Exploring Operation: 45+75=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 45*75=3375, Resulting Numbers: [3375]
3375,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[6, 44, 20], Operations: ['45-25=20']
Exploring Operation: 44-20=24, Resulting Numbers: [6, 24]
Generated Node #0,3,0: 69:[6, 24] Operation: 44-20=24
Exploring Operation: 6+44=50, Resulting Numbers: [20, 50]
Generated Node #0,3,1: 69:[20, 50] Operation: 6+44=50
Exploring Operation: 6+20=26, Resulting Numbers: [44, 26]
Generated Node #0,3,2: 69:[44, 26] Operation: 6+20=26
Exploring Operation: 44+20=64, Resulting Numbers: [6, 64]
Generated Node #0,3,3: 69:[6, 64] Operation: 44+20=64
Exploring Operation: 44-6=38, Resulting Numbers: [20, 38]
Generated Node #0,3,4: 69:[20, 38] Operation: 44-6=38
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 69:[6, 24], Operations: ['45-25=20', '44-20=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 69:[6, 64], Operations: ['45-25=20', '44+20=64']
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 69:[20, 38], Operations: ['45-25=20', '44-6=38']
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,69 unequal: No Solution
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 69:[20, 50], Operations: ['45-25=20', '6+44=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,69 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 69:[44, 26], Operations: ['45-25=20', '6+20=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,69 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
6,
84,
37
] | 58 | [
"66/6=11",
"84-37=47",
"11+47=58"
] | Current State: 58:[66, 6, 84, 37], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [84, 37, 11]
Generated Node #2: [84, 37, 11] from Operation: 66/6=11
Current State: 58:[84, 37, 11], Operations: ['66/6=11']
Exploring Operation: 84-37=47, Resulting Numbers: [11, 47]
Generated Node #3: [11, 47] from Operation: 84-37=47
Current State: 58:[11, 47], Operations: ['66/6=11', '84-37=47']
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[66, 6, 84, 37], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [6, 37, 18]
Generated Node #0,0: 58:[6, 37, 18] Operation: 84-66=18
Exploring Operation: 84-37=47, Resulting Numbers: [66, 6, 47]
Generated Node #0,1: 58:[66, 6, 47] Operation: 84-37=47
Moving to Node #0,0
Current State: 58:[6, 37, 18], Operations: ['84-66=18']
Exploring Operation: 37+18=55, Resulting Numbers: [6, 55]
Generated Node #0,0,0: 58:[6, 55] Operation: 37+18=55
Exploring Operation: 18/6=3, Resulting Numbers: [37, 3]
Generated Node #0,0,1: 58:[37, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[6, 55], Operations: ['84-66=18', '37+18=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[37, 3], Operations: ['84-66=18', '18/6=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 58:[66, 6, 47], Operations: ['84-37=47']
Exploring Operation: 6+47=53, Resulting Numbers: [66, 53]
Generated Node #0,1,0: 58:[66, 53] Operation: 6+47=53
Exploring Operation: 66-6=60, Resulting Numbers: [47, 60]
Generated Node #0,1,1: 58:[47, 60] Operation: 66-6=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[66, 53], Operations: ['84-37=47', '6+47=53']
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,58 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,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,1,1
Current State: 58:[47, 60], Operations: ['84-37=47', '66-6=60']
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,58 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
6,
45,
71
] | 15 | [
"74-6=68",
"71-68=3",
"45/3=15"
] | Current State: 15:[74, 6, 45, 71], Operations: []
Exploring Operation: 74-6=68, Resulting Numbers: [45, 71, 68]
Generated Node #2: [45, 71, 68] from Operation: 74-6=68
Current State: 15:[45, 71, 68], Operations: ['74-6=68']
Exploring Operation: 71-68=3, Resulting Numbers: [45, 3]
Generated Node #3: [45, 3] from Operation: 71-68=3
Current State: 15:[45, 3], Operations: ['74-6=68', '71-68=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[74, 6, 45, 71], Operations: []
Exploring Operation: 74-45=29, Resulting Numbers: [6, 71, 29]
Generated Node #0,0: 15:[6, 71, 29] Operation: 74-45=29
Exploring Operation: 45-6=39, Resulting Numbers: [74, 71, 39]
Generated Node #0,1: 15:[74, 71, 39] Operation: 45-6=39
Exploring Operation: 71-45=26, Resulting Numbers: [74, 6, 26]
Generated Node #0,2: 15:[74, 6, 26] Operation: 71-45=26
Exploring Operation: 74-71=3, Resulting Numbers: [6, 45, 3]
Generated Node #0,3: 15:[6, 45, 3] Operation: 74-71=3
Exploring Operation: 74-6=68, Resulting Numbers: [45, 71, 68]
Generated Node #0,4: 15:[45, 71, 68] Operation: 74-6=68
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[6, 45, 3], Operations: ['74-71=3']
Exploring Operation: 45-6=39, Resulting Numbers: [3, 39]
Generated Node #0,3,0: 15:[3, 39] Operation: 45-6=39
Exploring Operation: 45-3=42, Resulting Numbers: [6, 42]
Generated Node #0,3,1: 15:[6, 42] Operation: 45-3=42
Exploring Operation: 45/3=15, Resulting Numbers: [6, 15]
Generated Node #0,3,2: 15:[6, 15] Operation: 45/3=15
Exploring Operation: 6-3=3, Resulting Numbers: [45, 3]
Generated Node #0,3,3: 15:[45, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [45, 2]
Generated Node #0,3,4: 15:[45, 2] Operation: 6/3=2
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 15:[6, 15], Operations: ['74-71=3', '45/3=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,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,3,0
Current State: 15:[3, 39], Operations: ['74-71=3', '45-6=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,15 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,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,3,1
Current State: 15:[6, 42], Operations: ['74-71=3', '45-3=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,15 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,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,3,3
Current State: 15:[45, 3], Operations: ['74-71=3', '6-3=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[74, 6, 45, 71], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [6, 45, 3]
Generated Node #0,3: 15:[6, 45, 3] Operation: 74-71=3
Moving to Node #0,3
Current State: 15:[6, 45, 3], Operations: ['74-71=3']
Exploring Operation: 6-3=3, Resulting Numbers: [45, 3]
Generated Node #0,3,3: 15:[45, 3] Operation: 6-3=3
Moving to Node #0,3,3
Current State: 15:[45, 3], Operations: ['74-71=3', '6-3=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
20,
10,
10,
55
] | 52 | [
"20+10=30",
"30/10=3",
"55-3=52"
] | Current State: 52:[20, 10, 10, 55], Operations: []
Exploring Operation: 20+10=30, Resulting Numbers: [55, 30]
Generated Node #2: [55, 30] from Operation: 20+10=30
Current State: 52:[55, 30], Operations: ['20+10=30']
Exploring Operation: 30/10=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 30/10=3
Current State: 52:[55, 3], Operations: ['20+10=30', '30/10=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[20, 10, 10, 55], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [10, 55, 10]
Generated Node #0,0: 52:[10, 55, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [10, 55, 2]
Generated Node #0,1: 52:[10, 55, 2] Operation: 20/10=2
Exploring Operation: 20+10=30, Resulting Numbers: [10, 55, 30]
Generated Node #0,2: 52:[10, 55, 30] Operation: 20+10=30
Exploring Operation: 20/10=2, Resulting Numbers: [10, 55, 2]
Generated Node #0,3: 52:[10, 55, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [10, 55, 10]
Generated Node #0,4: 52:[10, 55, 10] Operation: 20-10=10
Moving to Node #0,1
Current State: 52:[10, 55, 2], Operations: ['20/10=2']
Exploring Operation: 55-10=45, Resulting Numbers: [2, 45]
Generated Node #0,1,0: 52:[2, 45] Operation: 55-10=45
Exploring Operation: 10+2=12, Resulting Numbers: [55, 12]
Generated Node #0,1,1: 52:[55, 12] Operation: 10+2=12
Exploring Operation: 55-2=53, Resulting Numbers: [10, 53]
Generated Node #0,1,2: 52:[10, 53] Operation: 55-2=53
Exploring Operation: 10-2=8, Resulting Numbers: [55, 8]
Generated Node #0,1,3: 52:[55, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [55, 5]
Generated Node #0,1,4: 52:[55, 5] Operation: 10/2=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[55, 12], Operations: ['20/10=2', '10+2=12']
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,52 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[10, 53], Operations: ['20/10=2', '55-2=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 52:[55, 5], Operations: ['20/10=2', '10/2=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,52 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,52 unequal: No Solution
No 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: 52:[2, 45], Operations: ['20/10=2', '55-10=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[55, 8], Operations: ['20/10=2', '10-2=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,52 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,52 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: 52:[10, 55, 2], Operations: ['20/10=2']
Exploring Operation: 10+2=12, Resulting Numbers: [55, 12]
Generated Node #0,3,0: 52:[55, 12] Operation: 10+2=12
Exploring Operation: 55-10=45, Resulting Numbers: [2, 45]
Generated Node #0,3,1: 52:[2, 45] Operation: 55-10=45
Exploring Operation: 10/2=5, Resulting Numbers: [55, 5]
Generated Node #0,3,2: 52:[55, 5] Operation: 10/2=5
Exploring Operation: 55-2=53, Resulting Numbers: [10, 53]
Generated Node #0,3,3: 52:[10, 53] Operation: 55-2=53
Exploring Operation: 10-2=8, Resulting Numbers: [55, 8]
Generated Node #0,3,4: 52:[55, 8] Operation: 10-2=8
Moving to Node #0,0
Current State: 52:[10, 55, 10], Operations: ['20-10=10']
Exploring Operation: 10+10=20, Resulting Numbers: [55, 20]
Generated Node #0,0,0: 52:[55, 20] Operation: 10+10=20
Exploring Operation: 10/10=1, Resulting Numbers: [55, 1]
Generated Node #0,0,1: 52:[55, 1] Operation: 10/10=1
Exploring Operation: 55-10=45, Resulting Numbers: [10, 45]
Generated Node #0,0,2: 52:[10, 45] Operation: 55-10=45
Exploring Operation: 10-10=0, Resulting Numbers: [55, 0]
Generated Node #0,0,3: 52:[55, 0] Operation: 10-10=0
Exploring Operation: 55-10=45, Resulting Numbers: [10, 45]
Generated Node #0,0,4: 52:[10, 45] Operation: 55-10=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[55, 1], Operations: ['20-10=10', '10/10=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[55, 0], Operations: ['20-10=10', '10-10=0']
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[55, 20], Operations: ['20-10=10', '10+10=20']
Exploring Operation: 55*20=1100, Resulting Numbers: [1100]
1100,52 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[10, 45], Operations: ['20-10=10', '55-10=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,52 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[10, 45], Operations: ['20-10=10', '55-10=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 52:[10, 55, 10], Operations: ['20-10=10']
Exploring Operation: 55-10=45, Resulting Numbers: [10, 45]
Generated Node #0,4,0: 52:[10, 45] Operation: 55-10=45
Exploring Operation: 10-10=0, Resulting Numbers: [55, 0]
Generated Node #0,4,1: 52:[55, 0] Operation: 10-10=0
Exploring Operation: 10/10=1, Resulting Numbers: [55, 1]
Generated Node #0,4,2: 52:[55, 1] Operation: 10/10=1
Exploring Operation: 10+10=20, Resulting Numbers: [55, 20]
Generated Node #0,4,3: 52:[55, 20] Operation: 10+10=20
Exploring Operation: 55-10=45, Resulting Numbers: [10, 45]
Generated Node #0,4,4: 52:[10, 45] Operation: 55-10=45
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 52:[55, 1], Operations: ['20-10=10', '10/10=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[55, 0], Operations: ['20-10=10', '10-10=0']
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 55*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 52:[55, 20], Operations: ['20-10=10', '10+10=20']
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 55*20=1100, Resulting Numbers: [1100]
1100,52 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 52:[10, 45], Operations: ['20-10=10', '55-10=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,52 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 52:[10, 45], Operations: ['20-10=10', '55-10=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,52 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,52 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: 52:[10, 55, 30], Operations: ['20+10=30']
Exploring Operation: 30/10=3, Resulting Numbers: [55, 3]
Generated Node #0,2,0: 52:[55, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [55, 20]
Generated Node #0,2,1: 52:[55, 20] Operation: 30-10=20
Exploring Operation: 55-30=25, Resulting Numbers: [10, 25]
Generated Node #0,2,2: 52:[10, 25] Operation: 55-30=25
Exploring Operation: 55-10=45, Resulting Numbers: [30, 45]
Generated Node #0,2,3: 52:[30, 45] Operation: 55-10=45
Exploring Operation: 10+30=40, Resulting Numbers: [55, 40]
Generated Node #0,2,4: 52:[55, 40] Operation: 10+30=40
Moving to Node #0,3,0
Current State: 52:[55, 12], Operations: ['20/10=2', '10+2=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,52 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[10, 53], Operations: ['20/10=2', '55-2=53']
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[10, 25], Operations: ['20+10=30', '55-30=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[55, 3], Operations: ['20+10=30', '30/10=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,52 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[20, 10, 10, 55], Operations: []
Exploring Operation: 20+10=30, Resulting Numbers: [10, 55, 30]
Generated Node #0,2: 52:[10, 55, 30] Operation: 20+10=30
Moving to Node #0,2
Current State: 52:[10, 55, 30], Operations: ['20+10=30']
Exploring Operation: 30/10=3, Resulting Numbers: [55, 3]
Generated Node #0,2,0: 52:[55, 3] Operation: 30/10=3
Moving to Node #0,2,0
Current State: 52:[55, 3], Operations: ['20+10=30', '30/10=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.918403 | hs_5 | sum_heuristic |
[
49,
42,
96,
35
] | 89 | [
"42-35=7",
"49/7=7",
"96-7=89"
] | Current State: 89:[49, 42, 96, 35], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [49, 96, 7]
Generated Node #2: [49, 96, 7] from Operation: 42-35=7
Current State: 89:[49, 96, 7], Operations: ['42-35=7']
Exploring Operation: 49/7=7, Resulting Numbers: [96, 7]
Generated Node #3: [96, 7] from Operation: 49/7=7
Current State: 89:[96, 7], Operations: ['42-35=7', '49/7=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[49, 42, 96, 35], Operations: []
Exploring Operation: 49+35=84, Resulting Numbers: [42, 96, 84]
Generated Node #0,0: 89:[42, 96, 84] Operation: 49+35=84
Moving to Node #0,0
Current State: 89:[42, 96, 84], Operations: ['49+35=84']
Exploring Operation: 96-42=54, Resulting Numbers: [84, 54]
Generated Node #0,0,0: 89:[84, 54] Operation: 96-42=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[84, 54], Operations: ['49+35=84', '96-42=54']
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,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 |
[
52,
26,
16,
65
] | 98 | [
"52/26=2",
"65-16=49",
"2*49=98"
] | Current State: 98:[52, 26, 16, 65], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [16, 65, 2]
Generated Node #2: [16, 65, 2] from Operation: 52/26=2
Current State: 98:[16, 65, 2], Operations: ['52/26=2']
Exploring Operation: 65-16=49, Resulting Numbers: [2, 49]
Generated Node #3: [2, 49] from Operation: 65-16=49
Current State: 98:[2, 49], Operations: ['52/26=2', '65-16=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[52, 26, 16, 65], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [26, 16, 13]
Generated Node #0,0: 98:[26, 16, 13] Operation: 65-52=13
Exploring Operation: 26+65=91, Resulting Numbers: [52, 16, 91]
Generated Node #0,1: 98:[52, 16, 91] Operation: 26+65=91
Exploring Operation: 65-26=39, Resulting Numbers: [52, 16, 39]
Generated Node #0,2: 98:[52, 16, 39] Operation: 65-26=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[52, 16, 91], Operations: ['26+65=91']
Exploring Operation: 91-52=39, Resulting Numbers: [16, 39]
Generated Node #0,1,0: 98:[16, 39] Operation: 91-52=39
Exploring Operation: 16+91=107, Resulting Numbers: [52, 107]
Generated Node #0,1,1: 98:[52, 107] Operation: 16+91=107
Exploring Operation: 52-16=36, Resulting Numbers: [91, 36]
Generated Node #0,1,2: 98:[91, 36] Operation: 52-16=36
Moving to Node #0,1,0
Current State: 98:[16, 39], Operations: ['26+65=91', '91-52=39']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 16*39=624, Resulting Numbers: [624]
624,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[52, 107], Operations: ['26+65=91', '16+91=107']
Exploring Operation: 52+107=159, Resulting Numbers: [159]
159,98 unequal: No Solution
Exploring Operation: 52*107=5564, Resulting Numbers: [5564]
5564,98 unequal: No Solution
Exploring Operation: 107-52=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[91, 36], Operations: ['26+65=91', '52-16=36']
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,98 unequal: No Solution
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[26, 16, 13], Operations: ['65-52=13']
Exploring Operation: 26-13=13, Resulting Numbers: [16, 13]
Generated Node #0,0,0: 98:[16, 13] Operation: 26-13=13
Exploring Operation: 26-16=10, Resulting Numbers: [13, 10]
Generated Node #0,0,1: 98:[13, 10] Operation: 26-16=10
Exploring Operation: 26/13=2, Resulting Numbers: [16, 2]
Generated Node #0,0,2: 98:[16, 2] Operation: 26/13=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[16, 2], Operations: ['65-52=13', '26/13=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,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:[16, 13], Operations: ['65-52=13', '26-13=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,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,1
Current State: 98:[13, 10], Operations: ['65-52=13', '26-16=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,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:[52, 16, 39], Operations: ['65-26=39']
Exploring Operation: 16+39=55, Resulting Numbers: [52, 55]
Generated Node #0,2,0: 98:[52, 55] Operation: 16+39=55
Exploring Operation: 52+39=91, Resulting Numbers: [16, 91]
Generated Node #0,2,1: 98:[16, 91] Operation: 52+39=91
Exploring Operation: 52-39=13, Resulting Numbers: [16, 13]
Generated Node #0,2,2: 98:[16, 13] Operation: 52-39=13
Moving to Node #0,2,2
Current State: 98:[16, 13], Operations: ['65-26=39', '52-39=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[52, 55], Operations: ['65-26=39', '16+39=55']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,98 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[16, 91], Operations: ['65-26=39', '52+39=91']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,98 unequal: No Solution
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,98 unequal: No Solution
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,98 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 |
[
57,
91,
6,
50
] | 92 | [
"57+91=148",
"6+50=56",
"148-56=92"
] | Current State: 92:[57, 91, 6, 50], Operations: []
Exploring Operation: 57+91=148, Resulting Numbers: [6, 50, 148]
Generated Node #2: [6, 50, 148] from Operation: 57+91=148
Current State: 92:[6, 50, 148], Operations: ['57+91=148']
Exploring Operation: 6+50=56, Resulting Numbers: [148, 56]
Generated Node #3: [148, 56] from Operation: 6+50=56
Current State: 92:[148, 56], Operations: ['57+91=148', '6+50=56']
Exploring Operation: 148-56=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[57, 91, 6, 50], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [91, 6, 7]
Generated Node #0,0: 92:[91, 6, 7] Operation: 57-50=7
Moving to Node #0,0
Current State: 92:[91, 6, 7], Operations: ['57-50=7']
Exploring Operation: 7-6=1, Resulting Numbers: [91, 1]
Generated Node #0,0,0: 92:[91, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 92:[91, 1], Operations: ['57-50=7', '7-6=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[57, 91, 6, 50], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [91, 6, 7]
Generated Node #0,0: 92:[91, 6, 7] Operation: 57-50=7
Moving to Node #0,0
Current State: 92:[91, 6, 7], Operations: ['57-50=7']
Exploring Operation: 7-6=1, Resulting Numbers: [91, 1]
Generated Node #0,0,0: 92:[91, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 92:[91, 1], Operations: ['57-50=7', '7-6=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
5,
66,
8,
47
] | 73 | [
"5*8=40",
"66+47=113",
"113-40=73"
] | Current State: 73:[5, 66, 8, 47], Operations: []
Exploring Operation: 5*8=40, Resulting Numbers: [66, 47, 40]
Generated Node #2: [66, 47, 40] from Operation: 5*8=40
Current State: 73:[66, 47, 40], Operations: ['5*8=40']
Exploring Operation: 66+47=113, Resulting Numbers: [40, 113]
Generated Node #3: [40, 113] from Operation: 66+47=113
Current State: 73:[40, 113], Operations: ['5*8=40', '66+47=113']
Exploring Operation: 113-40=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[5, 66, 8, 47], Operations: []
Exploring Operation: 5*8=40, Resulting Numbers: [66, 47, 40]
Generated Node #0,0: 73:[66, 47, 40] Operation: 5*8=40
Exploring Operation: 5+47=52, Resulting Numbers: [66, 8, 52]
Generated Node #0,1: 73:[66, 8, 52] Operation: 5+47=52
Exploring Operation: 5+8=13, Resulting Numbers: [66, 47, 13]
Generated Node #0,2: 73:[66, 47, 13] Operation: 5+8=13
Exploring Operation: 5+66=71, Resulting Numbers: [8, 47, 71]
Generated Node #0,3: 73:[8, 47, 71] Operation: 5+66=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[66, 47, 40], Operations: ['5*8=40']
Exploring Operation: 66-40=26, Resulting Numbers: [47, 26]
Generated Node #0,0,0: 73:[47, 26] Operation: 66-40=26
Exploring Operation: 66+47=113, Resulting Numbers: [40, 113]
Generated Node #0,0,1: 73:[40, 113] Operation: 66+47=113
Exploring Operation: 47+40=87, Resulting Numbers: [66, 87]
Generated Node #0,0,2: 73:[66, 87] Operation: 47+40=87
Exploring Operation: 66+40=106, Resulting Numbers: [47, 106]
Generated Node #0,0,3: 73:[47, 106] Operation: 66+40=106
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[66, 87], Operations: ['5*8=40', '47+40=87']
Exploring Operation: 87-66=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Exploring Operation: 66+87=153, Resulting Numbers: [153]
153,73 unequal: No Solution
Exploring Operation: 66*87=5742, Resulting Numbers: [5742]
5742,73 unequal: No Solution
No 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: 73:[47, 106], Operations: ['5*8=40', '66+40=106']
Exploring Operation: 106-47=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 47*106=4982, Resulting Numbers: [4982]
4982,73 unequal: No Solution
Exploring Operation: 47+106=153, Resulting Numbers: [153]
153,73 unequal: No Solution
No 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: 73:[47, 26], Operations: ['5*8=40', '66-40=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[5, 66, 8, 47], Operations: []
Exploring Operation: 5*8=40, Resulting Numbers: [66, 47, 40]
Generated Node #0,0: 73:[66, 47, 40] Operation: 5*8=40
Moving to Node #0,0
Current State: 73:[66, 47, 40], Operations: ['5*8=40']
Exploring Operation: 66-40=26, Resulting Numbers: [47, 26]
Generated Node #0,0,0: 73:[47, 26] Operation: 66-40=26
Moving to Node #0,0,0
Current State: 73:[47, 26], Operations: ['5*8=40', '66-40=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
12,
83,
87,
11
] | 74 | [
"12+87=99",
"99/11=9",
"83-9=74"
] | Current State: 74:[12, 83, 87, 11], Operations: []
Exploring Operation: 12+87=99, Resulting Numbers: [83, 11, 99]
Generated Node #2: [83, 11, 99] from Operation: 12+87=99
Current State: 74:[83, 11, 99], Operations: ['12+87=99']
Exploring Operation: 99/11=9, Resulting Numbers: [83, 9]
Generated Node #3: [83, 9] from Operation: 99/11=9
Current State: 74:[83, 9], Operations: ['12+87=99', '99/11=9']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[12, 83, 87, 11], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [83, 11, 75]
Generated Node #0,0: 74:[83, 11, 75] Operation: 87-12=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[83, 11, 75], Operations: ['87-12=75']
Exploring Operation: 83-11=72, Resulting Numbers: [75, 72]
Generated Node #0,0,0: 74:[75, 72] Operation: 83-11=72
Moving to Node #0,0,0
Current State: 74:[75, 72], Operations: ['87-12=75', '83-11=72']
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,74 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 |
[
56,
91,
64,
66
] | 17 | [
"56+91=147",
"64+66=130",
"147-130=17"
] | Current State: 17:[56, 91, 64, 66], Operations: []
Exploring Operation: 56+91=147, Resulting Numbers: [64, 66, 147]
Generated Node #2: [64, 66, 147] from Operation: 56+91=147
Current State: 17:[64, 66, 147], Operations: ['56+91=147']
Exploring Operation: 64+66=130, Resulting Numbers: [147, 130]
Generated Node #3: [147, 130] from Operation: 64+66=130
Current State: 17:[147, 130], Operations: ['56+91=147', '64+66=130']
Exploring Operation: 147-130=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[56, 91, 64, 66], Operations: []
Exploring Operation: 91-64=27, Resulting Numbers: [56, 66, 27]
Generated Node #0,0: 17:[56, 66, 27] Operation: 91-64=27
Exploring Operation: 91-66=25, Resulting Numbers: [56, 64, 25]
Generated Node #0,1: 17:[56, 64, 25] Operation: 91-66=25
Moving to Node #0,1
Current State: 17:[56, 64, 25], Operations: ['91-66=25']
Exploring Operation: 64-56=8, Resulting Numbers: [25, 8]
Generated Node #0,1,0: 17:[25, 8] Operation: 64-56=8
Exploring Operation: 56-25=31, Resulting Numbers: [64, 31]
Generated Node #0,1,1: 17:[64, 31] Operation: 56-25=31
Moving to Node #0,0
Current State: 17:[56, 66, 27], Operations: ['91-64=27']
Exploring Operation: 56-27=29, Resulting Numbers: [66, 29]
Generated Node #0,0,0: 17:[66, 29] Operation: 56-27=29
Exploring Operation: 66-56=10, Resulting Numbers: [27, 10]
Generated Node #0,0,1: 17:[27, 10] Operation: 66-56=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[27, 10], Operations: ['91-64=27', '66-56=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[56, 91, 64, 66], Operations: []
Exploring Operation: 91-64=27, Resulting Numbers: [56, 66, 27]
Generated Node #0,0: 17:[56, 66, 27] Operation: 91-64=27
Moving to Node #0,0
Current State: 17:[56, 66, 27], Operations: ['91-64=27']
Exploring Operation: 66-56=10, Resulting Numbers: [27, 10]
Generated Node #0,0,1: 17:[27, 10] Operation: 66-56=10
Moving to Node #0,0,1
Current State: 17:[27, 10], Operations: ['91-64=27', '66-56=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
16,
6,
48,
94
] | 70 | [
"94-16=78",
"48/6=8",
"78-8=70"
] | Current State: 70:[16, 6, 48, 94], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [6, 48, 78]
Generated Node #2: [6, 48, 78] from Operation: 94-16=78
Current State: 70:[6, 48, 78], Operations: ['94-16=78']
Exploring Operation: 48/6=8, Resulting Numbers: [78, 8]
Generated Node #3: [78, 8] from Operation: 48/6=8
Current State: 70:[78, 8], Operations: ['94-16=78', '48/6=8']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[16, 6, 48, 94], Operations: []
Exploring Operation: 94-48=46, Resulting Numbers: [16, 6, 46]
Generated Node #0,0: 70:[16, 6, 46] Operation: 94-48=46
Moving to Node #0,0
Current State: 70:[16, 6, 46], Operations: ['94-48=46']
Exploring Operation: 46-16=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 70:[6, 30] Operation: 46-16=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[6, 30], Operations: ['94-48=46', '46-16=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,70 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.