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 |
|---|---|---|---|---|---|---|---|---|
[
69,
97,
92,
7
] | 71 | [
"97-69=28",
"92+7=99",
"99-28=71"
] | Current State: 71:[69, 97, 92, 7], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [92, 7, 28]
Generated Node #2: [92, 7, 28] from Operation: 97-69=28
Current State: 71:[92, 7, 28], Operations: ['97-69=28']
Exploring Operation: 92+7=99, Resulting Numbers: [28, 99]
Generated Node #3: [28, 99] from Operation: 92+7=99
Current State: 71:[28, 99], Operations: ['97-69=28', '92+7=99']
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[69, 97, 92, 7], Operations: []
Exploring Operation: 97-7=90, Resulting Numbers: [69, 92, 90]
Generated Node #0,0: 71:[69, 92, 90] Operation: 97-7=90
Exploring Operation: 92-7=85, Resulting Numbers: [69, 97, 85]
Generated Node #0,1: 71:[69, 97, 85] Operation: 92-7=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[69, 92, 90], Operations: ['97-7=90']
Exploring Operation: 92-69=23, Resulting Numbers: [90, 23]
Generated Node #0,0,0: 71:[90, 23] Operation: 92-69=23
Exploring Operation: 90-69=21, Resulting Numbers: [92, 21]
Generated Node #0,0,1: 71:[92, 21] Operation: 90-69=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[90, 23], Operations: ['97-7=90', '92-69=23']
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 90+23=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No 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: 71:[92, 21], Operations: ['97-7=90', '90-69=21']
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[69, 97, 92, 7], Operations: []
Exploring Operation: 97-7=90, Resulting Numbers: [69, 92, 90]
Generated Node #0,0: 71:[69, 92, 90] Operation: 97-7=90
Moving to Node #0,0
Current State: 71:[69, 92, 90], Operations: ['97-7=90']
Exploring Operation: 90-69=21, Resulting Numbers: [92, 21]
Generated Node #0,0,1: 71:[92, 21] Operation: 90-69=21
Moving to Node #0,0,1
Current State: 71:[92, 21], Operations: ['97-7=90', '90-69=21']
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
76,
21,
17,
29
] | 27 | [
"21+17=38",
"76/38=2",
"29-2=27"
] | Current State: 27:[76, 21, 17, 29], Operations: []
Exploring Operation: 21+17=38, Resulting Numbers: [76, 29, 38]
Generated Node #2: [76, 29, 38] from Operation: 21+17=38
Current State: 27:[76, 29, 38], Operations: ['21+17=38']
Exploring Operation: 76/38=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 76/38=2
Current State: 27:[29, 2], Operations: ['21+17=38', '76/38=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[76, 21, 17, 29], Operations: []
Exploring Operation: 76-21=55, Resulting Numbers: [17, 29, 55]
Generated Node #0,0: 27:[17, 29, 55] Operation: 76-21=55
Exploring Operation: 21-17=4, Resulting Numbers: [76, 29, 4]
Generated Node #0,1: 27:[76, 29, 4] Operation: 21-17=4
Exploring Operation: 76-29=47, Resulting Numbers: [21, 17, 47]
Generated Node #0,2: 27:[21, 17, 47] Operation: 76-29=47
Exploring Operation: 76-17=59, Resulting Numbers: [21, 29, 59]
Generated Node #0,3: 27:[21, 29, 59] Operation: 76-17=59
Moving to Node #0,2
Current State: 27:[21, 17, 47], Operations: ['76-29=47']
Exploring Operation: 21-17=4, Resulting Numbers: [47, 4]
Generated Node #0,2,0: 27:[47, 4] Operation: 21-17=4
Exploring Operation: 21+17=38, Resulting Numbers: [47, 38]
Generated Node #0,2,1: 27:[47, 38] Operation: 21+17=38
Exploring Operation: 47-21=26, Resulting Numbers: [17, 26]
Generated Node #0,2,2: 27:[17, 26] Operation: 47-21=26
Exploring Operation: 47-17=30, Resulting Numbers: [21, 30]
Generated Node #0,2,3: 27:[21, 30] Operation: 47-17=30
Moving to Node #0,0
Current State: 27:[17, 29, 55], Operations: ['76-21=55']
Exploring Operation: 55-29=26, Resulting Numbers: [17, 26]
Generated Node #0,0,0: 27:[17, 26] Operation: 55-29=26
Exploring Operation: 29-17=12, Resulting Numbers: [55, 12]
Generated Node #0,0,1: 27:[55, 12] Operation: 29-17=12
Exploring Operation: 17+29=46, Resulting Numbers: [55, 46]
Generated Node #0,0,2: 27:[55, 46] Operation: 17+29=46
Exploring Operation: 55-17=38, Resulting Numbers: [29, 38]
Generated Node #0,0,3: 27:[29, 38] Operation: 55-17=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[17, 26], Operations: ['76-21=55', '55-29=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,27 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[29, 38], Operations: ['76-21=55', '55-17=38']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[55, 12], Operations: ['76-21=55', '29-17=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,27 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[55, 46], Operations: ['76-21=55', '17+29=46']
Exploring Operation: 55*46=2530, Resulting Numbers: [2530]
2530,27 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,27 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: 27:[21, 29, 59], Operations: ['76-17=59']
Exploring Operation: 59-29=30, Resulting Numbers: [21, 30]
Generated Node #0,3,0: 27:[21, 30] Operation: 59-29=30
Exploring Operation: 29-21=8, Resulting Numbers: [59, 8]
Generated Node #0,3,1: 27:[59, 8] Operation: 29-21=8
Exploring Operation: 59-21=38, Resulting Numbers: [29, 38]
Generated Node #0,3,2: 27:[29, 38] Operation: 59-21=38
Exploring Operation: 21+29=50, Resulting Numbers: [59, 50]
Generated Node #0,3,3: 27:[59, 50] Operation: 21+29=50
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[21, 30], Operations: ['76-17=59', '59-29=30']
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[29, 38], Operations: ['76-17=59', '59-21=38']
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,27 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[59, 8], Operations: ['76-17=59', '29-21=8']
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 59*8=472, Resulting Numbers: [472]
472,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 27:[59, 50], Operations: ['76-17=59', '21+29=50']
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,27 unequal: No Solution
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 27:[76, 29, 4], Operations: ['21-17=4']
Exploring Operation: 76/4=19, Resulting Numbers: [29, 19]
Generated Node #0,1,0: 27:[29, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [29, 72]
Generated Node #0,1,1: 27:[29, 72] Operation: 76-4=72
Exploring Operation: 76-29=47, Resulting Numbers: [4, 47]
Generated Node #0,1,2: 27:[4, 47] Operation: 76-29=47
Exploring Operation: 29-4=25, Resulting Numbers: [76, 25]
Generated Node #0,1,3: 27:[76, 25] Operation: 29-4=25
Moving to Node #0,2,2
Current State: 27:[17, 26], Operations: ['76-29=47', '47-21=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,27 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[21, 30], Operations: ['76-29=47', '47-17=30']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,27 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[29, 19], Operations: ['21-17=4', '76/4=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,27 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[47, 4], Operations: ['76-29=47', '21-17=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[4, 47], Operations: ['21-17=4', '76-29=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,27 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[47, 38], Operations: ['76-29=47', '21+17=38']
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[29, 72], Operations: ['21-17=4', '76-4=72']
Exploring Operation: 29*72=2088, Resulting Numbers: [2088]
2088,27 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Exploring Operation: 29+72=101, Resulting Numbers: [101]
101,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[76, 25], Operations: ['21-17=4', '29-4=25']
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,27 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,27 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,27 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
57,
23,
84
] | 20 | [
"84/21=4",
"57+23=80",
"80/4=20"
] | Current State: 20:[21, 57, 23, 84], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [57, 23, 4]
Generated Node #2: [57, 23, 4] from Operation: 84/21=4
Current State: 20:[57, 23, 4], Operations: ['84/21=4']
Exploring Operation: 57+23=80, Resulting Numbers: [4, 80]
Generated Node #3: [4, 80] from Operation: 57+23=80
Current State: 20:[4, 80], Operations: ['84/21=4', '57+23=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[21, 57, 23, 84], Operations: []
Exploring Operation: 84-57=27, Resulting Numbers: [21, 23, 27]
Generated Node #0,0: 20:[21, 23, 27] Operation: 84-57=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[21, 23, 27], Operations: ['84-57=27']
Exploring Operation: 27-23=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 20:[21, 4] Operation: 27-23=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[21, 4], Operations: ['84-57=27', '27-23=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
66,
35,
26,
52
] | 23 | [
"66+35=101",
"26+52=78",
"101-78=23"
] | Current State: 23:[66, 35, 26, 52], Operations: []
Exploring Operation: 66+35=101, Resulting Numbers: [26, 52, 101]
Generated Node #2: [26, 52, 101] from Operation: 66+35=101
Current State: 23:[26, 52, 101], Operations: ['66+35=101']
Exploring Operation: 26+52=78, Resulting Numbers: [101, 78]
Generated Node #3: [101, 78] from Operation: 26+52=78
Current State: 23:[101, 78], Operations: ['66+35=101', '26+52=78']
Exploring Operation: 101-78=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[66, 35, 26, 52], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [35, 52, 40]
Generated Node #0,0: 23:[35, 52, 40] Operation: 66-26=40
Exploring Operation: 66-52=14, Resulting Numbers: [35, 26, 14]
Generated Node #0,1: 23:[35, 26, 14] Operation: 66-52=14
Exploring Operation: 66-35=31, Resulting Numbers: [26, 52, 31]
Generated Node #0,2: 23:[26, 52, 31] Operation: 66-35=31
Exploring Operation: 52-35=17, Resulting Numbers: [66, 26, 17]
Generated Node #0,3: 23:[66, 26, 17] Operation: 52-35=17
Exploring Operation: 52-26=26, Resulting Numbers: [66, 35, 26]
Generated Node #0,4: 23:[66, 35, 26] Operation: 52-26=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[35, 26, 14], Operations: ['66-52=14']
Exploring Operation: 26+14=40, Resulting Numbers: [35, 40]
Generated Node #0,1,0: 23:[35, 40] Operation: 26+14=40
Exploring Operation: 35-14=21, Resulting Numbers: [26, 21]
Generated Node #0,1,1: 23:[26, 21] Operation: 35-14=21
Exploring Operation: 35-26=9, Resulting Numbers: [14, 9]
Generated Node #0,1,2: 23:[14, 9] Operation: 35-26=9
Exploring Operation: 26-14=12, Resulting Numbers: [35, 12]
Generated Node #0,1,3: 23:[35, 12] Operation: 26-14=12
Exploring Operation: 35+14=49, Resulting Numbers: [26, 49]
Generated Node #0,1,4: 23:[26, 49] Operation: 35+14=49
Moving to Node #0,1,1
Current State: 23:[26, 21], Operations: ['66-52=14', '35-14=21']
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,23 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[35, 12], Operations: ['66-52=14', '26-14=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[66, 35, 26, 52], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [35, 26, 14]
Generated Node #0,1: 23:[35, 26, 14] Operation: 66-52=14
Moving to Node #0,1
Current State: 23:[35, 26, 14], Operations: ['66-52=14']
Exploring Operation: 26-14=12, Resulting Numbers: [35, 12]
Generated Node #0,1,3: 23:[35, 12] Operation: 26-14=12
Moving to Node #0,1,3
Current State: 23:[35, 12], Operations: ['66-52=14', '26-14=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
32,
52,
42,
32
] | 93 | [
"32/32=1",
"52+42=94",
"94-1=93"
] | Current State: 93:[32, 52, 42, 32], Operations: []
Exploring Operation: 32/32=1, Resulting Numbers: [52, 42, 1]
Generated Node #2: [52, 42, 1] from Operation: 32/32=1
Current State: 93:[52, 42, 1], Operations: ['32/32=1']
Exploring Operation: 52+42=94, Resulting Numbers: [1, 94]
Generated Node #3: [1, 94] from Operation: 52+42=94
Current State: 93:[1, 94], Operations: ['32/32=1', '52+42=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[32, 52, 42, 32], Operations: []
Exploring Operation: 52+42=94, Resulting Numbers: [32, 32, 94]
Generated Node #0,0: 93:[32, 32, 94] Operation: 52+42=94
Exploring Operation: 52-42=10, Resulting Numbers: [32, 32, 10]
Generated Node #0,1: 93:[32, 32, 10] Operation: 52-42=10
Moving to Node #0,0
Current State: 93:[32, 32, 94], Operations: ['52+42=94']
Exploring Operation: 32/32=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 93:[94, 1] Operation: 32/32=1
Exploring Operation: 32-32=0, Resulting Numbers: [94, 0]
Generated Node #0,0,1: 93:[94, 0] Operation: 32-32=0
Moving to Node #0,1
Current State: 93:[32, 32, 10], Operations: ['52-42=10']
Exploring Operation: 32/32=1, Resulting Numbers: [10, 1]
Generated Node #0,1,0: 93:[10, 1] Operation: 32/32=1
Exploring Operation: 32-32=0, Resulting Numbers: [10, 0]
Generated Node #0,1,1: 93:[10, 0] Operation: 32-32=0
Moving to Node #0,0,0
Current State: 93:[94, 1], Operations: ['52+42=94', '32/32=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[32, 52, 42, 32], Operations: []
Exploring Operation: 52+42=94, Resulting Numbers: [32, 32, 94]
Generated Node #0,0: 93:[32, 32, 94] Operation: 52+42=94
Moving to Node #0,0
Current State: 93:[32, 32, 94], Operations: ['52+42=94']
Exploring Operation: 32/32=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 93:[94, 1] Operation: 32/32=1
Moving to Node #0,0,0
Current State: 93:[94, 1], Operations: ['52+42=94', '32/32=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
20,
27,
15,
19
] | 81 | [
"20+27=47",
"15+19=34",
"47+34=81"
] | Current State: 81:[20, 27, 15, 19], Operations: []
Exploring Operation: 20+27=47, Resulting Numbers: [15, 19, 47]
Generated Node #2: [15, 19, 47] from Operation: 20+27=47
Current State: 81:[15, 19, 47], Operations: ['20+27=47']
Exploring Operation: 15+19=34, Resulting Numbers: [47, 34]
Generated Node #3: [47, 34] from Operation: 15+19=34
Current State: 81:[47, 34], Operations: ['20+27=47', '15+19=34']
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[20, 27, 15, 19], Operations: []
Exploring Operation: 20-19=1, Resulting Numbers: [27, 15, 1]
Generated Node #0,0: 81:[27, 15, 1] Operation: 20-19=1
Exploring Operation: 19-15=4, Resulting Numbers: [20, 27, 4]
Generated Node #0,1: 81:[20, 27, 4] Operation: 19-15=4
Exploring Operation: 20-15=5, Resulting Numbers: [27, 19, 5]
Generated Node #0,2: 81:[27, 19, 5] Operation: 20-15=5
Exploring Operation: 27-19=8, Resulting Numbers: [20, 15, 8]
Generated Node #0,3: 81:[20, 15, 8] Operation: 27-19=8
Exploring Operation: 15+19=34, Resulting Numbers: [20, 27, 34]
Generated Node #0,4: 81:[20, 27, 34] Operation: 15+19=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[27, 15, 1], Operations: ['20-19=1']
Exploring Operation: 27/1=27, Resulting Numbers: [15, 27]
Generated Node #0,0,0: 81:[15, 27] Operation: 27/1=27
Exploring Operation: 27-15=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 81:[1, 12] Operation: 27-15=12
Exploring Operation: 15-1=14, Resulting Numbers: [27, 14]
Generated Node #0,0,2: 81:[27, 14] Operation: 15-1=14
Exploring Operation: 27*1=27, Resulting Numbers: [15, 27]
Generated Node #0,0,3: 81:[15, 27] Operation: 27*1=27
Exploring Operation: 15*1=15, Resulting Numbers: [27, 15]
Generated Node #0,0,4: 81:[27, 15] Operation: 15*1=15
Moving to Node #0,0,1
Current State: 81:[1, 12], Operations: ['20-19=1', '27-15=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[27, 14], Operations: ['20-19=1', '15-1=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[15, 27], Operations: ['20-19=1', '27/1=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,81 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[15, 27], Operations: ['20-19=1', '27*1=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,81 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[27, 15], Operations: ['20-19=1', '15*1=15']
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,81 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[20, 27, 4], Operations: ['19-15=4']
Exploring Operation: 27-20=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 81:[4, 7] Operation: 27-20=7
Exploring Operation: 20-4=16, Resulting Numbers: [27, 16]
Generated Node #0,1,1: 81:[27, 16] Operation: 20-4=16
Exploring Operation: 20+4=24, Resulting Numbers: [27, 24]
Generated Node #0,1,2: 81:[27, 24] Operation: 20+4=24
Exploring Operation: 20/4=5, Resulting Numbers: [27, 5]
Generated Node #0,1,3: 81:[27, 5] Operation: 20/4=5
Exploring Operation: 20*4=80, Resulting Numbers: [27, 80]
Generated Node #0,1,4: 81:[27, 80] Operation: 20*4=80
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 81:[27, 80], Operations: ['19-15=4', '20*4=80']
Exploring Operation: 27*80=2160, Resulting Numbers: [2160]
2160,81 unequal: No Solution
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 27+80=107, Resulting Numbers: [107]
107,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[27, 5], Operations: ['19-15=4', '20/4=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[4, 7], Operations: ['19-15=4', '27-20=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[27, 24], Operations: ['19-15=4', '20+4=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,81 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[27, 16], Operations: ['19-15=4', '20-4=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,81 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[27, 19, 5], Operations: ['20-15=5']
Exploring Operation: 27-5=22, Resulting Numbers: [19, 22]
Generated Node #0,2,0: 81:[19, 22] Operation: 27-5=22
Exploring Operation: 19+5=24, Resulting Numbers: [27, 24]
Generated Node #0,2,1: 81:[27, 24] Operation: 19+5=24
Exploring Operation: 27-19=8, Resulting Numbers: [5, 8]
Generated Node #0,2,2: 81:[5, 8] Operation: 27-19=8
Exploring Operation: 19-5=14, Resulting Numbers: [27, 14]
Generated Node #0,2,3: 81:[27, 14] Operation: 19-5=14
Exploring Operation: 27+5=32, Resulting Numbers: [19, 32]
Generated Node #0,2,4: 81:[19, 32] Operation: 27+5=32
Moving to Node #0,2,1
Current State: 81:[27, 24], Operations: ['20-15=5', '19+5=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,81 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,81 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[5, 8], Operations: ['20-15=5', '27-19=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[27, 14], Operations: ['20-15=5', '19-5=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[19, 22], Operations: ['20-15=5', '27-5=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,81 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[19, 32], Operations: ['20-15=5', '27+5=32']
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,81 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,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
Current State: 81:[20, 15, 8], Operations: ['27-19=8']
Exploring Operation: 15-8=7, Resulting Numbers: [20, 7]
Generated Node #0,3,0: 81:[20, 7] Operation: 15-8=7
Exploring Operation: 20-15=5, Resulting Numbers: [8, 5]
Generated Node #0,3,1: 81:[8, 5] Operation: 20-15=5
Exploring Operation: 20+8=28, Resulting Numbers: [15, 28]
Generated Node #0,3,2: 81:[15, 28] Operation: 20+8=28
Exploring Operation: 20-8=12, Resulting Numbers: [15, 12]
Generated Node #0,3,3: 81:[15, 12] Operation: 20-8=12
Exploring Operation: 20+15=35, Resulting Numbers: [8, 35]
Generated Node #0,3,4: 81:[8, 35] Operation: 20+15=35
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 81:[8, 5], Operations: ['27-19=8', '20-15=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 81:[15, 28], Operations: ['27-19=8', '20+8=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,81 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 81:[20, 7], Operations: ['27-19=8', '15-8=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,81 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 81:[15, 12], Operations: ['27-19=8', '20-8=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 81:[8, 35], Operations: ['27-19=8', '20+15=35']
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,81 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[20, 27, 34], Operations: ['15+19=34']
Exploring Operation: 34-20=14, Resulting Numbers: [27, 14]
Generated Node #0,4,0: 81:[27, 14] Operation: 34-20=14
Exploring Operation: 20+27=47, Resulting Numbers: [34, 47]
Generated Node #0,4,1: 81:[34, 47] Operation: 20+27=47
Exploring Operation: 34-27=7, Resulting Numbers: [20, 7]
Generated Node #0,4,2: 81:[20, 7] Operation: 34-27=7
Exploring Operation: 27-20=7, Resulting Numbers: [34, 7]
Generated Node #0,4,3: 81:[34, 7] Operation: 27-20=7
Exploring Operation: 20+34=54, Resulting Numbers: [27, 54]
Generated Node #0,4,4: 81:[27, 54] Operation: 20+34=54
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 81:[27, 14], Operations: ['15+19=34', '34-20=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 81:[20, 7], Operations: ['15+19=34', '34-27=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 81:[34, 7], Operations: ['15+19=34', '27-20=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,81 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 81:[34, 47], Operations: ['15+19=34', '20+27=47']
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[20, 27, 15, 19], Operations: []
Exploring Operation: 15+19=34, Resulting Numbers: [20, 27, 34]
Generated Node #0,4: 81:[20, 27, 34] Operation: 15+19=34
Moving to Node #0,4
Current State: 81:[20, 27, 34], Operations: ['15+19=34']
Exploring Operation: 20+27=47, Resulting Numbers: [34, 47]
Generated Node #0,4,1: 81:[34, 47] Operation: 20+27=47
Moving to Node #0,4,1
Current State: 81:[34, 47], Operations: ['15+19=34', '20+27=47']
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.908854 | hs_5 | mult_heuristic |
[
52,
4,
18,
66
] | 38 | [
"66-52=14",
"4*14=56",
"56-18=38"
] | Current State: 38:[52, 4, 18, 66], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [4, 18, 14]
Generated Node #2: [4, 18, 14] from Operation: 66-52=14
Current State: 38:[4, 18, 14], Operations: ['66-52=14']
Exploring Operation: 4*14=56, Resulting Numbers: [18, 56]
Generated Node #3: [18, 56] from Operation: 4*14=56
Current State: 38:[18, 56], Operations: ['66-52=14', '4*14=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[52, 4, 18, 66], Operations: []
Exploring Operation: 52-18=34, Resulting Numbers: [4, 66, 34]
Generated Node #0,0: 38:[4, 66, 34] Operation: 52-18=34
Exploring Operation: 66-52=14, Resulting Numbers: [4, 18, 14]
Generated Node #0,1: 38:[4, 18, 14] Operation: 66-52=14
Exploring Operation: 52-4=48, Resulting Numbers: [18, 66, 48]
Generated Node #0,2: 38:[18, 66, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [18, 66, 13]
Generated Node #0,3: 38:[18, 66, 13] Operation: 52/4=13
Exploring Operation: 66-18=48, Resulting Numbers: [52, 4, 48]
Generated Node #0,4: 38:[52, 4, 48] Operation: 66-18=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[4, 18, 14], Operations: ['66-52=14']
Exploring Operation: 18+14=32, Resulting Numbers: [4, 32]
Generated Node #0,1,0: 38:[4, 32] Operation: 18+14=32
Exploring Operation: 4+18=22, Resulting Numbers: [14, 22]
Generated Node #0,1,1: 38:[14, 22] Operation: 4+18=22
Exploring Operation: 18-14=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 38:[4, 4] Operation: 18-14=4
Exploring Operation: 4+14=18, Resulting Numbers: [18, 18]
Generated Node #0,1,3: 38:[18, 18] Operation: 4+14=18
Exploring Operation: 14-4=10, Resulting Numbers: [18, 10]
Generated Node #0,1,4: 38:[18, 10] Operation: 14-4=10
Moving to Node #0,1,3
Current State: 38:[18, 18], Operations: ['66-52=14', '4+14=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,38 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[4, 4], Operations: ['66-52=14', '18-14=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[4, 32], Operations: ['66-52=14', '18+14=32']
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,38 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[14, 22], Operations: ['66-52=14', '4+18=22']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,38 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Moving to Node #0,1,4
Current State: 38:[18, 10], Operations: ['66-52=14', '14-4=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 38:[52, 4, 48], Operations: ['66-18=48']
Exploring Operation: 48/4=12, Resulting Numbers: [52, 12]
Generated Node #0,4,0: 38:[52, 12] Operation: 48/4=12
Exploring Operation: 52-4=48, Resulting Numbers: [48, 48]
Generated Node #0,4,1: 38:[48, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [48, 13]
Generated Node #0,4,2: 38:[48, 13] Operation: 52/4=13
Exploring Operation: 52-48=4, Resulting Numbers: [4, 4]
Generated Node #0,4,3: 38:[4, 4] Operation: 52-48=4
Exploring Operation: 48-4=44, Resulting Numbers: [52, 44]
Generated Node #0,4,4: 38:[52, 44] Operation: 48-4=44
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 38:[4, 4], Operations: ['66-18=48', '52-48=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 38:[48, 13], Operations: ['66-18=48', '52/4=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,38 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 38:[48, 48], Operations: ['66-18=48', '52-4=48']
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,38 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 38:[52, 44], Operations: ['66-18=48', '48-4=44']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,38 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 38:[52, 12], Operations: ['66-18=48', '48/4=12']
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[4, 66, 34], Operations: ['52-18=34']
Exploring Operation: 66-34=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 38:[4, 32] Operation: 66-34=32
Exploring Operation: 34-4=30, Resulting Numbers: [66, 30]
Generated Node #0,0,1: 38:[66, 30] Operation: 34-4=30
Exploring Operation: 66-4=62, Resulting Numbers: [34, 62]
Generated Node #0,0,2: 38:[34, 62] Operation: 66-4=62
Exploring Operation: 4+66=70, Resulting Numbers: [34, 70]
Generated Node #0,0,3: 38:[34, 70] Operation: 4+66=70
Exploring Operation: 4+34=38, Resulting Numbers: [66, 38]
Generated Node #0,0,4: 38:[66, 38] Operation: 4+34=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[4, 32], Operations: ['52-18=34', '66-34=32']
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,38 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[34, 62], Operations: ['52-18=34', '66-4=62']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 34*62=2108, Resulting Numbers: [2108]
2108,38 unequal: No Solution
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 38:[66, 38], Operations: ['52-18=34', '4+34=38']
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,38 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[66, 30], Operations: ['52-18=34', '34-4=30']
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,38 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,38 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 38:[34, 70], Operations: ['52-18=34', '4+66=70']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,38 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[18, 66, 13], Operations: ['52/4=13']
Exploring Operation: 66-13=53, Resulting Numbers: [18, 53]
Generated Node #0,3,0: 38:[18, 53] Operation: 66-13=53
Exploring Operation: 18+13=31, Resulting Numbers: [66, 31]
Generated Node #0,3,1: 38:[66, 31] Operation: 18+13=31
Exploring Operation: 66-18=48, Resulting Numbers: [13, 48]
Generated Node #0,3,2: 38:[13, 48] Operation: 66-18=48
Exploring Operation: 66+13=79, Resulting Numbers: [18, 79]
Generated Node #0,3,3: 38:[18, 79] Operation: 66+13=79
Exploring Operation: 18-13=5, Resulting Numbers: [66, 5]
Generated Node #0,3,4: 38:[66, 5] Operation: 18-13=5
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[18, 53], Operations: ['52/4=13', '66-13=53']
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,38 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 38:[13, 48], Operations: ['52/4=13', '66-18=48']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 38:[66, 5], Operations: ['52/4=13', '18-13=5']
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,38 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[66, 31], Operations: ['52/4=13', '18+13=31']
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,38 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,38 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 38:[18, 79], Operations: ['52/4=13', '66+13=79']
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,38 unequal: No Solution
Exploring Operation: 18*79=1422, Resulting Numbers: [1422]
1422,38 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[18, 66, 48], Operations: ['52-4=48']
Exploring Operation: 18+48=66, Resulting Numbers: [66, 66]
Generated Node #0,2,0: 38:[66, 66] Operation: 18+48=66
Exploring Operation: 66-48=18, Resulting Numbers: [18, 18]
Generated Node #0,2,1: 38:[18, 18] Operation: 66-48=18
Exploring Operation: 66-18=48, Resulting Numbers: [48, 48]
Generated Node #0,2,2: 38:[48, 48] Operation: 66-18=48
Exploring Operation: 48-18=30, Resulting Numbers: [66, 30]
Generated Node #0,2,3: 38:[66, 30] Operation: 48-18=30
Exploring Operation: 18+66=84, Resulting Numbers: [48, 84]
Generated Node #0,2,4: 38:[48, 84] Operation: 18+66=84
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[18, 18], Operations: ['52-4=48', '66-48=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,38 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[48, 48], Operations: ['52-4=48', '66-18=48']
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,38 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 38:[66, 30], Operations: ['52-4=48', '48-18=30']
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,38 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[66, 66], Operations: ['52-4=48', '18+48=66']
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 66+66=132, Resulting Numbers: [132]
132,38 unequal: No Solution
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 66*66=4356, Resulting Numbers: [4356]
4356,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 38:[48, 84], Operations: ['52-4=48', '18+66=84']
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,38 unequal: No Solution
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,38 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
21,
24,
92,
90
] | 27 | [
"92-90=2",
"24*2=48",
"48-21=27"
] | Current State: 27:[21, 24, 92, 90], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [21, 24, 2]
Generated Node #2: [21, 24, 2] from Operation: 92-90=2
Current State: 27:[21, 24, 2], Operations: ['92-90=2']
Exploring Operation: 24*2=48, Resulting Numbers: [21, 48]
Generated Node #3: [21, 48] from Operation: 24*2=48
Current State: 27:[21, 48], Operations: ['92-90=2', '24*2=48']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[21, 24, 92, 90], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [21, 24, 2]
Generated Node #0,0: 27:[21, 24, 2] Operation: 92-90=2
Exploring Operation: 92-21=71, Resulting Numbers: [24, 90, 71]
Generated Node #0,1: 27:[24, 90, 71] Operation: 92-21=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[21, 24, 2], Operations: ['92-90=2']
Exploring Operation: 21+2=23, Resulting Numbers: [24, 23]
Generated Node #0,0,0: 27:[24, 23] Operation: 21+2=23
Exploring Operation: 24-21=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 27:[2, 3] Operation: 24-21=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[2, 3], Operations: ['92-90=2', '24-21=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[24, 23], Operations: ['92-90=2', '21+2=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[24, 90, 71], Operations: ['92-21=71']
Exploring Operation: 90-24=66, Resulting Numbers: [71, 66]
Generated Node #0,1,0: 27:[71, 66] Operation: 90-24=66
Exploring Operation: 90-71=19, Resulting Numbers: [24, 19]
Generated Node #0,1,1: 27:[24, 19] Operation: 90-71=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[24, 19], Operations: ['92-21=71', '90-71=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[71, 66], Operations: ['92-21=71', '90-24=66']
Exploring Operation: 71+66=137, Resulting Numbers: [137]
137,27 unequal: No Solution
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
32,
16,
6
] | 36 | [
"32/16=2",
"6-2=4",
"9*4=36"
] | Current State: 36:[9, 32, 16, 6], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [9, 6, 2]
Generated Node #2: [9, 6, 2] from Operation: 32/16=2
Current State: 36:[9, 6, 2], Operations: ['32/16=2']
Exploring Operation: 6-2=4, Resulting Numbers: [9, 4]
Generated Node #3: [9, 4] from Operation: 6-2=4
Current State: 36:[9, 4], Operations: ['32/16=2', '6-2=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 32, 16, 6], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [9, 6, 2]
Generated Node #0,0: 36:[9, 6, 2] Operation: 32/16=2
Exploring Operation: 32+6=38, Resulting Numbers: [9, 16, 38]
Generated Node #0,1: 36:[9, 16, 38] Operation: 32+6=38
Exploring Operation: 32-16=16, Resulting Numbers: [9, 6, 16]
Generated Node #0,2: 36:[9, 6, 16] Operation: 32-16=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[9, 6, 2], Operations: ['32/16=2']
Exploring Operation: 6*2=12, Resulting Numbers: [9, 12]
Generated Node #0,0,0: 36:[9, 12] Operation: 6*2=12
Exploring Operation: 9-6=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 36:[2, 3] Operation: 9-6=3
Exploring Operation: 9*2=18, Resulting Numbers: [6, 18]
Generated Node #0,0,2: 36:[6, 18] Operation: 9*2=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[9, 12], Operations: ['32/16=2', '6*2=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[2, 3], Operations: ['32/16=2', '9-6=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[6, 18], Operations: ['32/16=2', '9*2=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[9, 6, 16], Operations: ['32-16=16']
Exploring Operation: 16-9=7, Resulting Numbers: [6, 7]
Generated Node #0,2,0: 36:[6, 7] Operation: 16-9=7
Exploring Operation: 16-6=10, Resulting Numbers: [9, 10]
Generated Node #0,2,1: 36:[9, 10] Operation: 16-6=10
Exploring Operation: 9-6=3, Resulting Numbers: [16, 3]
Generated Node #0,2,2: 36:[16, 3] Operation: 9-6=3
Moving to Node #0,2,0
Current State: 36:[6, 7], Operations: ['32-16=16', '16-9=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[9, 10], Operations: ['32-16=16', '16-6=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[16, 3], Operations: ['32-16=16', '9-6=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[9, 16, 38], Operations: ['32+6=38']
Exploring Operation: 9+16=25, Resulting Numbers: [38, 25]
Generated Node #0,1,0: 36:[38, 25] Operation: 9+16=25
Exploring Operation: 16-9=7, Resulting Numbers: [38, 7]
Generated Node #0,1,1: 36:[38, 7] Operation: 16-9=7
Exploring Operation: 38-16=22, Resulting Numbers: [9, 22]
Generated Node #0,1,2: 36:[9, 22] Operation: 38-16=22
Moving to Node #0,1,1
Current State: 36:[38, 7], Operations: ['32+6=38', '16-9=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,36 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[9, 22], Operations: ['32+6=38', '38-16=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[38, 25], Operations: ['32+6=38', '9+16=25']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,36 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 |
[
38,
34,
64,
89
] | 81 | [
"38+34=72",
"64+89=153",
"153-72=81"
] | Current State: 81:[38, 34, 64, 89], Operations: []
Exploring Operation: 38+34=72, Resulting Numbers: [64, 89, 72]
Generated Node #2: [64, 89, 72] from Operation: 38+34=72
Current State: 81:[64, 89, 72], Operations: ['38+34=72']
Exploring Operation: 64+89=153, Resulting Numbers: [72, 153]
Generated Node #3: [72, 153] from Operation: 64+89=153
Current State: 81:[72, 153], Operations: ['38+34=72', '64+89=153']
Exploring Operation: 153-72=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[38, 34, 64, 89], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [34, 89, 26]
Generated Node #0,0: 81:[34, 89, 26] Operation: 64-38=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[34, 89, 26], Operations: ['64-38=26']
Exploring Operation: 34-26=8, Resulting Numbers: [89, 8]
Generated Node #0,0,0: 81:[89, 8] Operation: 34-26=8
Moving to Node #0,0,0
Current State: 81:[89, 8], Operations: ['64-38=26', '34-26=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[38, 34, 64, 89], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [34, 89, 26]
Generated Node #0,0: 81:[34, 89, 26] Operation: 64-38=26
Moving to Node #0,0
Current State: 81:[34, 89, 26], Operations: ['64-38=26']
Exploring Operation: 34-26=8, Resulting Numbers: [89, 8]
Generated Node #0,0,0: 81:[89, 8] Operation: 34-26=8
Moving to Node #0,0,0
Current State: 81:[89, 8], Operations: ['64-38=26', '34-26=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
15,
2,
41,
59
] | 21 | [
"59-41=18",
"2*18=36",
"36-15=21"
] | Current State: 21:[15, 2, 41, 59], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [15, 2, 18]
Generated Node #2: [15, 2, 18] from Operation: 59-41=18
Current State: 21:[15, 2, 18], Operations: ['59-41=18']
Exploring Operation: 2*18=36, Resulting Numbers: [15, 36]
Generated Node #3: [15, 36] from Operation: 2*18=36
Current State: 21:[15, 36], Operations: ['59-41=18', '2*18=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[15, 2, 41, 59], Operations: []
Exploring Operation: 15+2=17, Resulting Numbers: [41, 59, 17]
Generated Node #0,0: 21:[41, 59, 17] Operation: 15+2=17
Exploring Operation: 59-15=44, Resulting Numbers: [2, 41, 44]
Generated Node #0,1: 21:[2, 41, 44] Operation: 59-15=44
Exploring Operation: 41-15=26, Resulting Numbers: [2, 59, 26]
Generated Node #0,2: 21:[2, 59, 26] Operation: 41-15=26
Exploring Operation: 59-41=18, Resulting Numbers: [15, 2, 18]
Generated Node #0,3: 21:[15, 2, 18] Operation: 59-41=18
Exploring Operation: 41-2=39, Resulting Numbers: [15, 59, 39]
Generated Node #0,4: 21:[15, 59, 39] Operation: 41-2=39
Moving to Node #0,3
Current State: 21:[15, 2, 18], Operations: ['59-41=18']
Exploring Operation: 15+2=17, Resulting Numbers: [18, 17]
Generated Node #0,3,0: 21:[18, 17] Operation: 15+2=17
Exploring Operation: 18/2=9, Resulting Numbers: [15, 9]
Generated Node #0,3,1: 21:[15, 9] Operation: 18/2=9
Exploring Operation: 18-15=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 21:[2, 3] Operation: 18-15=3
Exploring Operation: 15-2=13, Resulting Numbers: [18, 13]
Generated Node #0,3,3: 21:[18, 13] Operation: 15-2=13
Exploring Operation: 2+18=20, Resulting Numbers: [15, 20]
Generated Node #0,3,4: 21:[15, 20] Operation: 2+18=20
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[2, 3], Operations: ['59-41=18', '18-15=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[18, 17], Operations: ['59-41=18', '15+2=17']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 21:[15, 20], Operations: ['59-41=18', '2+18=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[15, 9], Operations: ['59-41=18', '18/2=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,21 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[18, 13], Operations: ['59-41=18', '15-2=13']
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,21 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 21:[2, 59, 26], Operations: ['41-15=26']
Exploring Operation: 59-2=57, Resulting Numbers: [26, 57]
Generated Node #0,2,0: 21:[26, 57] Operation: 59-2=57
Exploring Operation: 59-26=33, Resulting Numbers: [2, 33]
Generated Node #0,2,1: 21:[2, 33] Operation: 59-26=33
Exploring Operation: 2+59=61, Resulting Numbers: [26, 61]
Generated Node #0,2,2: 21:[26, 61] Operation: 2+59=61
Exploring Operation: 26-2=24, Resulting Numbers: [59, 24]
Generated Node #0,2,3: 21:[59, 24] Operation: 26-2=24
Exploring Operation: 26/2=13, Resulting Numbers: [59, 13]
Generated Node #0,2,4: 21:[59, 13] Operation: 26/2=13
Moving to Node #0,1
Current State: 21:[2, 41, 44], Operations: ['59-15=44']
Exploring Operation: 44-2=42, Resulting Numbers: [41, 42]
Generated Node #0,1,0: 21:[41, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [41, 22]
Generated Node #0,1,1: 21:[41, 22] Operation: 44/2=22
Exploring Operation: 2+41=43, Resulting Numbers: [44, 43]
Generated Node #0,1,2: 21:[44, 43] Operation: 2+41=43
Exploring Operation: 41-2=39, Resulting Numbers: [44, 39]
Generated Node #0,1,3: 21:[44, 39] Operation: 41-2=39
Exploring Operation: 44-41=3, Resulting Numbers: [2, 3]
Generated Node #0,1,4: 21:[2, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 21:[41, 59, 17], Operations: ['15+2=17']
Exploring Operation: 41-17=24, Resulting Numbers: [59, 24]
Generated Node #0,0,0: 21:[59, 24] Operation: 41-17=24
Exploring Operation: 41+17=58, Resulting Numbers: [59, 58]
Generated Node #0,0,1: 21:[59, 58] Operation: 41+17=58
Exploring Operation: 59-41=18, Resulting Numbers: [17, 18]
Generated Node #0,0,2: 21:[17, 18] Operation: 59-41=18
Exploring Operation: 59+17=76, Resulting Numbers: [41, 76]
Generated Node #0,0,3: 21:[41, 76] Operation: 59+17=76
Exploring Operation: 59-17=42, Resulting Numbers: [41, 42]
Generated Node #0,0,4: 21:[41, 42] Operation: 59-17=42
Moving to Node #0,4
Current State: 21:[15, 59, 39], Operations: ['41-2=39']
Exploring Operation: 59-39=20, Resulting Numbers: [15, 20]
Generated Node #0,4,0: 21:[15, 20] Operation: 59-39=20
Exploring Operation: 39-15=24, Resulting Numbers: [59, 24]
Generated Node #0,4,1: 21:[59, 24] Operation: 39-15=24
Exploring Operation: 59-15=44, Resulting Numbers: [39, 44]
Generated Node #0,4,2: 21:[39, 44] Operation: 59-15=44
Exploring Operation: 15+59=74, Resulting Numbers: [39, 74]
Generated Node #0,4,3: 21:[39, 74] Operation: 15+59=74
Exploring Operation: 15+39=54, Resulting Numbers: [59, 54]
Generated Node #0,4,4: 21:[59, 54] Operation: 15+39=54
Moving to Node #0,1,4
Current State: 21:[2, 3], Operations: ['59-15=44', '44-41=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[17, 18], Operations: ['15+2=17', '59-41=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,21 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Moving to Node #0,4,0
Current State: 21:[15, 20], Operations: ['41-2=39', '59-39=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,21 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[2, 33], Operations: ['41-15=26', '59-26=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[41, 22], Operations: ['59-15=44', '44/2=22']
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,21 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[59, 24], Operations: ['41-15=26', '26-2=24']
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,21 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Moving to Node #0,0,4
Current State: 21:[41, 42], Operations: ['15+2=17', '59-17=42']
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,21 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Moving to Node #0,4,1
Current State: 21:[59, 24], Operations: ['41-2=39', '39-15=24']
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,21 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[59, 24], Operations: ['15+2=17', '41-17=24']
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,21 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[26, 57], Operations: ['41-15=26', '59-2=57']
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,21 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[44, 39], Operations: ['59-15=44', '41-2=39']
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,21 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Moving to Node #0,4,2
Current State: 21:[39, 44], Operations: ['41-2=39', '59-15=44']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,21 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[41, 42], Operations: ['59-15=44', '44-2=42']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,21 unequal: No Solution
Moving to Node #0,2,4
Current State: 21:[59, 13], Operations: ['41-15=26', '26/2=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,21 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[26, 61], Operations: ['41-15=26', '2+59=61']
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,21 unequal: No Solution
Exploring Operation: 26*61=1586, Resulting Numbers: [1586]
1586,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[44, 43], Operations: ['59-15=44', '2+41=43']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,21 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,21 unequal: No Solution
Moving to Node #0,4,4
Current State: 21:[59, 54], Operations: ['41-2=39', '15+39=54']
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,21 unequal: No Solution
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,21 unequal: No Solution
Moving to Node #0,4,3
Current State: 21:[39, 74], Operations: ['41-2=39', '15+59=74']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,21 unequal: No Solution
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[41, 76], Operations: ['15+2=17', '59+17=76']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 41+76=117, Resulting Numbers: [117]
117,21 unequal: No Solution
Exploring Operation: 41*76=3116, Resulting Numbers: [3116]
3116,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[59, 58], Operations: ['15+2=17', '41+17=58']
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,21 unequal: No Solution
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,21 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
75,
74,
81
] | 71 | [
"81-75=6",
"6/2=3",
"74-3=71"
] | Current State: 71:[2, 75, 74, 81], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [2, 74, 6]
Generated Node #2: [2, 74, 6] from Operation: 81-75=6
Current State: 71:[2, 74, 6], Operations: ['81-75=6']
Exploring Operation: 6/2=3, Resulting Numbers: [74, 3]
Generated Node #3: [74, 3] from Operation: 6/2=3
Current State: 71:[74, 3], Operations: ['81-75=6', '6/2=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 75, 74, 81], Operations: []
Exploring Operation: 75-2=73, Resulting Numbers: [74, 81, 73]
Generated Node #0,0: 71:[74, 81, 73] Operation: 75-2=73
Exploring Operation: 74-2=72, Resulting Numbers: [75, 81, 72]
Generated Node #0,1: 71:[75, 81, 72] Operation: 74-2=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[74, 81, 73], Operations: ['75-2=73']
Exploring Operation: 81-73=8, Resulting Numbers: [74, 8]
Generated Node #0,0,0: 71:[74, 8] Operation: 81-73=8
Exploring Operation: 81-74=7, Resulting Numbers: [73, 7]
Generated Node #0,0,1: 71:[73, 7] Operation: 81-74=7
Moving to Node #0,0,0
Current State: 71:[74, 8], Operations: ['75-2=73', '81-73=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[73, 7], Operations: ['75-2=73', '81-74=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,71 unequal: No Solution
No 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: 71:[75, 81, 72], Operations: ['74-2=72']
Exploring Operation: 81-72=9, Resulting Numbers: [75, 9]
Generated Node #0,1,0: 71:[75, 9] Operation: 81-72=9
Exploring Operation: 81-75=6, Resulting Numbers: [72, 6]
Generated Node #0,1,1: 71:[72, 6] Operation: 81-75=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[75, 9], Operations: ['74-2=72', '81-72=9']
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,71 unequal: No Solution
No 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: 71:[72, 6], Operations: ['74-2=72', '81-75=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,71 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,71 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 |
[
95,
92,
7,
75
] | 54 | [
"95-92=3",
"7*3=21",
"75-21=54"
] | Current State: 54:[95, 92, 7, 75], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [7, 75, 3]
Generated Node #2: [7, 75, 3] from Operation: 95-92=3
Current State: 54:[7, 75, 3], Operations: ['95-92=3']
Exploring Operation: 7*3=21, Resulting Numbers: [75, 21]
Generated Node #3: [75, 21] from Operation: 7*3=21
Current State: 54:[75, 21], Operations: ['95-92=3', '7*3=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[95, 92, 7, 75], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [7, 75, 3]
Generated Node #0,0: 54:[7, 75, 3] Operation: 95-92=3
Exploring Operation: 92-75=17, Resulting Numbers: [95, 7, 17]
Generated Node #0,1: 54:[95, 7, 17] Operation: 92-75=17
Exploring Operation: 95-75=20, Resulting Numbers: [92, 7, 20]
Generated Node #0,2: 54:[92, 7, 20] Operation: 95-75=20
Moving to Node #0,0
Current State: 54:[7, 75, 3], Operations: ['95-92=3']
Exploring Operation: 75/3=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 54:[7, 25] Operation: 75/3=25
Exploring Operation: 75-7=68, Resulting Numbers: [3, 68]
Generated Node #0,0,1: 54:[3, 68] Operation: 75-7=68
Exploring Operation: 75-3=72, Resulting Numbers: [7, 72]
Generated Node #0,0,2: 54:[7, 72] Operation: 75-3=72
Moving to Node #0,2
Current State: 54:[92, 7, 20], Operations: ['95-75=20']
Exploring Operation: 92-7=85, Resulting Numbers: [20, 85]
Generated Node #0,2,0: 54:[20, 85] Operation: 92-7=85
Exploring Operation: 92-20=72, Resulting Numbers: [7, 72]
Generated Node #0,2,1: 54:[7, 72] Operation: 92-20=72
Exploring Operation: 7+20=27, Resulting Numbers: [92, 27]
Generated Node #0,2,2: 54:[92, 27] Operation: 7+20=27
Moving to Node #0,1
Current State: 54:[95, 7, 17], Operations: ['92-75=17']
Exploring Operation: 17-7=10, Resulting Numbers: [95, 10]
Generated Node #0,1,0: 54:[95, 10] Operation: 17-7=10
Exploring Operation: 95-7=88, Resulting Numbers: [17, 88]
Generated Node #0,1,1: 54:[17, 88] Operation: 95-7=88
Exploring Operation: 95-17=78, Resulting Numbers: [7, 78]
Generated Node #0,1,2: 54:[7, 78] Operation: 95-17=78
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[7, 78], Operations: ['92-75=17', '95-17=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,54 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,54 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[17, 88], Operations: ['92-75=17', '95-7=88']
Exploring Operation: 17*88=1496, Resulting Numbers: [1496]
1496,54 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 17+88=105, Resulting Numbers: [105]
105,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[95, 10], Operations: ['92-75=17', '17-7=10']
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,54 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 54:[7, 25], Operations: ['95-92=3', '75/3=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[3, 68], Operations: ['95-92=3', '75-7=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,54 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[7, 72], Operations: ['95-92=3', '75-3=72']
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[7, 72], Operations: ['95-75=20', '92-20=72']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[20, 85], Operations: ['95-75=20', '92-7=85']
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 20+85=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Exploring Operation: 20*85=1700, Resulting Numbers: [1700]
1700,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[92, 27], Operations: ['95-75=20', '7+20=27']
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,54 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 92*27=2484, Resulting Numbers: [2484]
2484,54 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
9,
20,
80,
31
] | 38 | [
"20-9=11",
"80-31=49",
"49-11=38"
] | Current State: 38:[9, 20, 80, 31], Operations: []
Exploring Operation: 20-9=11, Resulting Numbers: [80, 31, 11]
Generated Node #2: [80, 31, 11] from Operation: 20-9=11
Current State: 38:[80, 31, 11], Operations: ['20-9=11']
Exploring Operation: 80-31=49, Resulting Numbers: [11, 49]
Generated Node #3: [11, 49] from Operation: 80-31=49
Current State: 38:[11, 49], Operations: ['20-9=11', '80-31=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[9, 20, 80, 31], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [9, 31, 60]
Generated Node #0,0: 38:[9, 31, 60] Operation: 80-20=60
Exploring Operation: 80/20=4, Resulting Numbers: [9, 31, 4]
Generated Node #0,1: 38:[9, 31, 4] Operation: 80/20=4
Exploring Operation: 80-31=49, Resulting Numbers: [9, 20, 49]
Generated Node #0,2: 38:[9, 20, 49] Operation: 80-31=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[9, 31, 4], Operations: ['80/20=4']
Exploring Operation: 31-9=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 38:[4, 22] Operation: 31-9=22
Exploring Operation: 9+31=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 38:[4, 40] Operation: 9+31=40
Exploring Operation: 9*4=36, Resulting Numbers: [31, 36]
Generated Node #0,1,2: 38:[31, 36] Operation: 9*4=36
Moving to Node #0,1,1
Current State: 38:[4, 40], Operations: ['80/20=4', '9+31=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[4, 22], Operations: ['80/20=4', '31-9=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,38 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[31, 36], Operations: ['80/20=4', '9*4=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,38 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[9, 20, 49], Operations: ['80-31=49']
Exploring Operation: 20-9=11, Resulting Numbers: [49, 11]
Generated Node #0,2,0: 38:[49, 11] Operation: 20-9=11
Exploring Operation: 49-9=40, Resulting Numbers: [20, 40]
Generated Node #0,2,1: 38:[20, 40] Operation: 49-9=40
Exploring Operation: 49-20=29, Resulting Numbers: [9, 29]
Generated Node #0,2,2: 38:[9, 29] Operation: 49-20=29
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[20, 40], Operations: ['80-31=49', '49-9=40']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[9, 29], Operations: ['80-31=49', '49-20=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[9, 20, 80, 31], Operations: []
Exploring Operation: 80-31=49, Resulting Numbers: [9, 20, 49]
Generated Node #0,2: 38:[9, 20, 49] Operation: 80-31=49
Moving to Node #0,2
Current State: 38:[9, 20, 49], Operations: ['80-31=49']
Exploring Operation: 49-20=29, Resulting Numbers: [9, 29]
Generated Node #0,2,2: 38:[9, 29] Operation: 49-20=29
Moving to Node #0,2,2
Current State: 38:[9, 29], Operations: ['80-31=49', '49-20=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
31,
92,
56,
50
] | 94 | [
"56-31=25",
"50/25=2",
"92+2=94"
] | Current State: 94:[31, 92, 56, 50], Operations: []
Exploring Operation: 56-31=25, Resulting Numbers: [92, 50, 25]
Generated Node #2: [92, 50, 25] from Operation: 56-31=25
Current State: 94:[92, 50, 25], Operations: ['56-31=25']
Exploring Operation: 50/25=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 50/25=2
Current State: 94:[92, 2], Operations: ['56-31=25', '50/25=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[31, 92, 56, 50], Operations: []
Exploring Operation: 31+56=87, Resulting Numbers: [92, 50, 87]
Generated Node #0,0: 94:[92, 50, 87] Operation: 31+56=87
Exploring Operation: 56-50=6, Resulting Numbers: [31, 92, 6]
Generated Node #0,1: 94:[31, 92, 6] Operation: 56-50=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[92, 50, 87], Operations: ['31+56=87']
Exploring Operation: 92-50=42, Resulting Numbers: [87, 42]
Generated Node #0,0,0: 94:[87, 42] Operation: 92-50=42
Exploring Operation: 92-87=5, Resulting Numbers: [50, 5]
Generated Node #0,0,1: 94:[50, 5] Operation: 92-87=5
Moving to Node #0,0,1
Current State: 94:[50, 5], Operations: ['31+56=87', '92-87=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[87, 42], Operations: ['31+56=87', '92-50=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[31, 92, 6], Operations: ['56-50=6']
Exploring Operation: 31+6=37, Resulting Numbers: [92, 37]
Generated Node #0,1,0: 94:[92, 37] Operation: 31+6=37
Exploring Operation: 92-31=61, Resulting Numbers: [6, 61]
Generated Node #0,1,1: 94:[6, 61] Operation: 92-31=61
Moving to Node #0,1,0
Current State: 94:[92, 37], Operations: ['56-50=6', '31+6=37']
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[6, 61], Operations: ['56-50=6', '92-31=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
97,
54,
89,
95
] | 88 | [
"95-89=6",
"54/6=9",
"97-9=88"
] | Current State: 88:[97, 54, 89, 95], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [97, 54, 6]
Generated Node #2: [97, 54, 6] from Operation: 95-89=6
Current State: 88:[97, 54, 6], Operations: ['95-89=6']
Exploring Operation: 54/6=9, Resulting Numbers: [97, 9]
Generated Node #3: [97, 9] from Operation: 54/6=9
Current State: 88:[97, 9], Operations: ['95-89=6', '54/6=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[97, 54, 89, 95], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [97, 89, 41]
Generated Node #0,0: 88:[97, 89, 41] Operation: 95-54=41
Exploring Operation: 95-89=6, Resulting Numbers: [97, 54, 6]
Generated Node #0,1: 88:[97, 54, 6] Operation: 95-89=6
Exploring Operation: 97-54=43, Resulting Numbers: [89, 95, 43]
Generated Node #0,2: 88:[89, 95, 43] Operation: 97-54=43
Exploring Operation: 97-89=8, Resulting Numbers: [54, 95, 8]
Generated Node #0,3: 88:[54, 95, 8] Operation: 97-89=8
Exploring Operation: 97-95=2, Resulting Numbers: [54, 89, 2]
Generated Node #0,4: 88:[54, 89, 2] Operation: 97-95=2
Moving to Node #0,2
Current State: 88:[89, 95, 43], Operations: ['97-54=43']
Exploring Operation: 89+43=132, Resulting Numbers: [95, 132]
Generated Node #0,2,0: 88:[95, 132] Operation: 89+43=132
Exploring Operation: 95-89=6, Resulting Numbers: [43, 6]
Generated Node #0,2,1: 88:[43, 6] Operation: 95-89=6
Exploring Operation: 95+43=138, Resulting Numbers: [89, 138]
Generated Node #0,2,2: 88:[89, 138] Operation: 95+43=138
Exploring Operation: 95-43=52, Resulting Numbers: [89, 52]
Generated Node #0,2,3: 88:[89, 52] Operation: 95-43=52
Exploring Operation: 89-43=46, Resulting Numbers: [95, 46]
Generated Node #0,2,4: 88:[95, 46] Operation: 89-43=46
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[43, 6], Operations: ['97-54=43', '95-89=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,88 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[89, 52], Operations: ['97-54=43', '95-43=52']
Exploring Operation: 89+52=141, Resulting Numbers: [141]
141,88 unequal: No Solution
Exploring Operation: 89-52=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 89*52=4628, Resulting Numbers: [4628]
4628,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 88:[95, 46], Operations: ['97-54=43', '89-43=46']
Exploring Operation: 95+46=141, Resulting Numbers: [141]
141,88 unequal: No Solution
Exploring Operation: 95*46=4370, Resulting Numbers: [4370]
4370,88 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[95, 132], Operations: ['97-54=43', '89+43=132']
Exploring Operation: 95+132=227, Resulting Numbers: [227]
227,88 unequal: No Solution
Exploring Operation: 95*132=12540, Resulting Numbers: [12540]
12540,88 unequal: No Solution
Exploring Operation: 132-95=37, Resulting Numbers: [37]
37,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[89, 138], Operations: ['97-54=43', '95+43=138']
Exploring Operation: 89+138=227, Resulting Numbers: [227]
227,88 unequal: No Solution
Exploring Operation: 89*138=12282, Resulting Numbers: [12282]
12282,88 unequal: No Solution
Exploring Operation: 138-89=49, Resulting Numbers: [49]
49,88 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: 88:[54, 89, 2], Operations: ['97-95=2']
Exploring Operation: 89-2=87, Resulting Numbers: [54, 87]
Generated Node #0,4,0: 88:[54, 87] Operation: 89-2=87
Exploring Operation: 54/2=27, Resulting Numbers: [89, 27]
Generated Node #0,4,1: 88:[89, 27] Operation: 54/2=27
Exploring Operation: 89-54=35, Resulting Numbers: [2, 35]
Generated Node #0,4,2: 88:[2, 35] Operation: 89-54=35
Exploring Operation: 54-2=52, Resulting Numbers: [89, 52]
Generated Node #0,4,3: 88:[89, 52] Operation: 54-2=52
Exploring Operation: 54+2=56, Resulting Numbers: [89, 56]
Generated Node #0,4,4: 88:[89, 56] Operation: 54+2=56
Moving to Node #0,0
Current State: 88:[97, 89, 41], Operations: ['95-54=41']
Exploring Operation: 97-41=56, Resulting Numbers: [89, 56]
Generated Node #0,0,0: 88:[89, 56] Operation: 97-41=56
Exploring Operation: 89+41=130, Resulting Numbers: [97, 130]
Generated Node #0,0,1: 88:[97, 130] Operation: 89+41=130
Exploring Operation: 97-89=8, Resulting Numbers: [41, 8]
Generated Node #0,0,2: 88:[41, 8] Operation: 97-89=8
Exploring Operation: 97+41=138, Resulting Numbers: [89, 138]
Generated Node #0,0,3: 88:[89, 138] Operation: 97+41=138
Exploring Operation: 89-41=48, Resulting Numbers: [97, 48]
Generated Node #0,0,4: 88:[97, 48] Operation: 89-41=48
Moving to Node #0,3
Current State: 88:[54, 95, 8], Operations: ['97-89=8']
Exploring Operation: 95-8=87, Resulting Numbers: [54, 87]
Generated Node #0,3,0: 88:[54, 87] Operation: 95-8=87
Exploring Operation: 95-54=41, Resulting Numbers: [8, 41]
Generated Node #0,3,1: 88:[8, 41] Operation: 95-54=41
Exploring Operation: 54-8=46, Resulting Numbers: [95, 46]
Generated Node #0,3,2: 88:[95, 46] Operation: 54-8=46
Exploring Operation: 95+8=103, Resulting Numbers: [54, 103]
Generated Node #0,3,3: 88:[54, 103] Operation: 95+8=103
Exploring Operation: 54+8=62, Resulting Numbers: [95, 62]
Generated Node #0,3,4: 88:[95, 62] Operation: 54+8=62
Moving to Node #0,1
Current State: 88:[97, 54, 6], Operations: ['95-89=6']
Exploring Operation: 97-54=43, Resulting Numbers: [6, 43]
Generated Node #0,1,0: 88:[6, 43] Operation: 97-54=43
Exploring Operation: 54/6=9, Resulting Numbers: [97, 9]
Generated Node #0,1,1: 88:[97, 9] Operation: 54/6=9
Exploring Operation: 97-6=91, Resulting Numbers: [54, 91]
Generated Node #0,1,2: 88:[54, 91] Operation: 97-6=91
Exploring Operation: 97+6=103, Resulting Numbers: [54, 103]
Generated Node #0,1,3: 88:[54, 103] Operation: 97+6=103
Exploring Operation: 54-6=48, Resulting Numbers: [97, 48]
Generated Node #0,1,4: 88:[97, 48] Operation: 54-6=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[6, 43], Operations: ['95-89=6', '97-54=43']
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,88 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[97, 9], Operations: ['95-89=6', '54/6=9']
Exploring Operation: 97*9=873, Resulting Numbers: [873]
873,88 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[97, 54, 89, 95], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [97, 54, 6]
Generated Node #0,1: 88:[97, 54, 6] Operation: 95-89=6
Moving to Node #0,1
Current State: 88:[97, 54, 6], Operations: ['95-89=6']
Exploring Operation: 54/6=9, Resulting Numbers: [97, 9]
Generated Node #0,1,1: 88:[97, 9] Operation: 54/6=9
Moving to Node #0,1,1
Current State: 88:[97, 9], Operations: ['95-89=6', '54/6=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | mult_heuristic |
[
35,
98,
3,
41
] | 80 | [
"41-35=6",
"3*6=18",
"98-18=80"
] | Current State: 80:[35, 98, 3, 41], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [98, 3, 6]
Generated Node #2: [98, 3, 6] from Operation: 41-35=6
Current State: 80:[98, 3, 6], Operations: ['41-35=6']
Exploring Operation: 3*6=18, Resulting Numbers: [98, 18]
Generated Node #3: [98, 18] from Operation: 3*6=18
Current State: 80:[98, 18], Operations: ['41-35=6', '3*6=18']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[35, 98, 3, 41], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [3, 41, 63]
Generated Node #0,0: 80:[3, 41, 63] Operation: 98-35=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[3, 41, 63], Operations: ['98-35=63']
Exploring Operation: 63/3=21, Resulting Numbers: [41, 21]
Generated Node #0,0,0: 80:[41, 21] Operation: 63/3=21
Moving to Node #0,0,0
Current State: 80:[41, 21], Operations: ['98-35=63', '63/3=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,80 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 |
[
63,
11,
8,
66
] | 64 | [
"63+11=74",
"74-66=8",
"8*8=64"
] | Current State: 64:[63, 11, 8, 66], Operations: []
Exploring Operation: 63+11=74, Resulting Numbers: [8, 66, 74]
Generated Node #2: [8, 66, 74] from Operation: 63+11=74
Current State: 64:[8, 66, 74], Operations: ['63+11=74']
Exploring Operation: 74-66=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 74-66=8
Current State: 64:[8, 8], Operations: ['63+11=74', '74-66=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[63, 11, 8, 66], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [63, 8, 6]
Generated Node #0,0: 64:[63, 8, 6] Operation: 66/11=6
Exploring Operation: 66-63=3, Resulting Numbers: [11, 8, 3]
Generated Node #0,1: 64:[11, 8, 3] Operation: 66-63=3
Moving to Node #0,0
Current State: 64:[63, 8, 6], Operations: ['66/11=6']
Exploring Operation: 8-6=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 64:[63, 2] Operation: 8-6=2
Exploring Operation: 8+6=14, Resulting Numbers: [63, 14]
Generated Node #0,0,1: 64:[63, 14] Operation: 8+6=14
Moving to Node #0,1
Current State: 64:[11, 8, 3], Operations: ['66-63=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 64:[8, 8] Operation: 11-3=8
Exploring Operation: 11*3=33, Resulting Numbers: [8, 33]
Generated Node #0,1,1: 64:[8, 33] Operation: 11*3=33
Moving to Node #0,1,0
Current State: 64:[8, 8], Operations: ['66-63=3', '11-3=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[63, 11, 8, 66], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [11, 8, 3]
Generated Node #0,1: 64:[11, 8, 3] Operation: 66-63=3
Moving to Node #0,1
Current State: 64:[11, 8, 3], Operations: ['66-63=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 64:[8, 8] Operation: 11-3=8
Moving to Node #0,1,0
Current State: 64:[8, 8], Operations: ['66-63=3', '11-3=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
55,
41,
3,
92
] | 98 | [
"92-41=51",
"3*51=153",
"153-55=98"
] | Current State: 98:[55, 41, 3, 92], Operations: []
Exploring Operation: 92-41=51, Resulting Numbers: [55, 3, 51]
Generated Node #2: [55, 3, 51] from Operation: 92-41=51
Current State: 98:[55, 3, 51], Operations: ['92-41=51']
Exploring Operation: 3*51=153, Resulting Numbers: [55, 153]
Generated Node #3: [55, 153] from Operation: 3*51=153
Current State: 98:[55, 153], Operations: ['92-41=51', '3*51=153']
Exploring Operation: 153-55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[55, 41, 3, 92], Operations: []
Exploring Operation: 55+41=96, Resulting Numbers: [3, 92, 96]
Generated Node #0,0: 98:[3, 92, 96] Operation: 55+41=96
Exploring Operation: 55-41=14, Resulting Numbers: [3, 92, 14]
Generated Node #0,1: 98:[3, 92, 14] Operation: 55-41=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[3, 92, 14], Operations: ['55-41=14']
Exploring Operation: 92-3=89, Resulting Numbers: [14, 89]
Generated Node #0,1,0: 98:[14, 89] Operation: 92-3=89
Exploring Operation: 3+92=95, Resulting Numbers: [14, 95]
Generated Node #0,1,1: 98:[14, 95] Operation: 3+92=95
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[14, 95], Operations: ['55-41=14', '3+92=95']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[14, 89], Operations: ['55-41=14', '92-3=89']
Exploring Operation: 14+89=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,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,0
Current State: 98:[3, 92, 96], Operations: ['55+41=96']
Exploring Operation: 96-92=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 98:[3, 4] Operation: 96-92=4
Exploring Operation: 3+92=95, Resulting Numbers: [96, 95]
Generated Node #0,0,1: 98:[96, 95] Operation: 3+92=95
Moving to Node #0,0,0
Current State: 98:[3, 4], Operations: ['55+41=96', '96-92=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[96, 95], Operations: ['55+41=96', '3+92=95']
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,98 unequal: No Solution
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,98 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 |
[
65,
95,
51,
19
] | 90 | [
"65+95=160",
"51+19=70",
"160-70=90"
] | Current State: 90:[65, 95, 51, 19], Operations: []
Exploring Operation: 65+95=160, Resulting Numbers: [51, 19, 160]
Generated Node #2: [51, 19, 160] from Operation: 65+95=160
Current State: 90:[51, 19, 160], Operations: ['65+95=160']
Exploring Operation: 51+19=70, Resulting Numbers: [160, 70]
Generated Node #3: [160, 70] from Operation: 51+19=70
Current State: 90:[160, 70], Operations: ['65+95=160', '51+19=70']
Exploring Operation: 160-70=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[65, 95, 51, 19], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [95, 19, 14]
Generated Node #0,0: 90:[95, 19, 14] Operation: 65-51=14
Exploring Operation: 65-19=46, Resulting Numbers: [95, 51, 46]
Generated Node #0,1: 90:[95, 51, 46] Operation: 65-19=46
Exploring Operation: 95-65=30, Resulting Numbers: [51, 19, 30]
Generated Node #0,2: 90:[51, 19, 30] Operation: 95-65=30
Moving to Node #0,0
Current State: 90:[95, 19, 14], Operations: ['65-51=14']
Exploring Operation: 95/19=5, Resulting Numbers: [14, 5]
Generated Node #0,0,0: 90:[14, 5] Operation: 95/19=5
Exploring Operation: 19-14=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 90:[95, 5] Operation: 19-14=5
Exploring Operation: 19+14=33, Resulting Numbers: [95, 33]
Generated Node #0,0,2: 90:[95, 33] Operation: 19+14=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[14, 5], Operations: ['65-51=14', '95/19=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[95, 5], Operations: ['65-51=14', '19-14=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[65, 95, 51, 19], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [95, 19, 14]
Generated Node #0,0: 90:[95, 19, 14] Operation: 65-51=14
Moving to Node #0,0
Current State: 90:[95, 19, 14], Operations: ['65-51=14']
Exploring Operation: 19-14=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 90:[95, 5] Operation: 19-14=5
Moving to Node #0,0,1
Current State: 90:[95, 5], Operations: ['65-51=14', '19-14=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
77,
51,
79,
78
] | 29 | [
"77+51=128",
"79+78=157",
"157-128=29"
] | Current State: 29:[77, 51, 79, 78], Operations: []
Exploring Operation: 77+51=128, Resulting Numbers: [79, 78, 128]
Generated Node #2: [79, 78, 128] from Operation: 77+51=128
Current State: 29:[79, 78, 128], Operations: ['77+51=128']
Exploring Operation: 79+78=157, Resulting Numbers: [128, 157]
Generated Node #3: [128, 157] from Operation: 79+78=157
Current State: 29:[128, 157], Operations: ['77+51=128', '79+78=157']
Exploring Operation: 157-128=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[77, 51, 79, 78], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [77, 78, 28]
Generated Node #0,0: 29:[77, 78, 28] Operation: 79-51=28
Exploring Operation: 79-77=2, Resulting Numbers: [51, 78, 2]
Generated Node #0,1: 29:[51, 78, 2] Operation: 79-77=2
Exploring Operation: 79-78=1, Resulting Numbers: [77, 51, 1]
Generated Node #0,2: 29:[77, 51, 1] Operation: 79-78=1
Moving to Node #0,0
Current State: 29:[77, 78, 28], Operations: ['79-51=28']
Exploring Operation: 78-77=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 29:[28, 1] Operation: 78-77=1
Exploring Operation: 77-28=49, Resulting Numbers: [78, 49]
Generated Node #0,0,1: 29:[78, 49] Operation: 77-28=49
Exploring Operation: 78-28=50, Resulting Numbers: [77, 50]
Generated Node #0,0,2: 29:[77, 50] Operation: 78-28=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[28, 1], Operations: ['79-51=28', '78-77=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[77, 51, 79, 78], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [77, 78, 28]
Generated Node #0,0: 29:[77, 78, 28] Operation: 79-51=28
Moving to Node #0,0
Current State: 29:[77, 78, 28], Operations: ['79-51=28']
Exploring Operation: 78-77=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 29:[28, 1] Operation: 78-77=1
Moving to Node #0,0,0
Current State: 29:[28, 1], Operations: ['79-51=28', '78-77=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
52,
15,
82,
37
] | 35 | [
"82-52=30",
"30/15=2",
"37-2=35"
] | Current State: 35:[52, 15, 82, 37], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [15, 37, 30]
Generated Node #2: [15, 37, 30] from Operation: 82-52=30
Current State: 35:[15, 37, 30], Operations: ['82-52=30']
Exploring Operation: 30/15=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 30/15=2
Current State: 35:[37, 2], Operations: ['82-52=30', '30/15=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[52, 15, 82, 37], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [52, 15, 45]
Generated Node #0,0: 35:[52, 15, 45] Operation: 82-37=45
Exploring Operation: 82-52=30, Resulting Numbers: [15, 37, 30]
Generated Node #0,1: 35:[15, 37, 30] Operation: 82-52=30
Exploring Operation: 52-15=37, Resulting Numbers: [82, 37, 37]
Generated Node #0,2: 35:[82, 37, 37] Operation: 52-15=37
Exploring Operation: 82-15=67, Resulting Numbers: [52, 37, 67]
Generated Node #0,3: 35:[52, 37, 67] Operation: 82-15=67
Moving to Node #0,1
Current State: 35:[15, 37, 30], Operations: ['82-52=30']
Exploring Operation: 30/15=2, Resulting Numbers: [37, 2]
Generated Node #0,1,0: 35:[37, 2] Operation: 30/15=2
Exploring Operation: 30-15=15, Resulting Numbers: [37, 15]
Generated Node #0,1,1: 35:[37, 15] Operation: 30-15=15
Exploring Operation: 37-30=7, Resulting Numbers: [15, 7]
Generated Node #0,1,2: 35:[15, 7] Operation: 37-30=7
Exploring Operation: 15+30=45, Resulting Numbers: [37, 45]
Generated Node #0,1,3: 35:[37, 45] Operation: 15+30=45
Moving to Node #0,0
Current State: 35:[52, 15, 45], Operations: ['82-37=45']
Exploring Operation: 52-15=37, Resulting Numbers: [45, 37]
Generated Node #0,0,0: 35:[45, 37] Operation: 52-15=37
Exploring Operation: 45/15=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 35:[52, 3] Operation: 45/15=3
Exploring Operation: 52-45=7, Resulting Numbers: [15, 7]
Generated Node #0,0,2: 35:[15, 7] Operation: 52-45=7
Exploring Operation: 45-15=30, Resulting Numbers: [52, 30]
Generated Node #0,0,3: 35:[52, 30] Operation: 45-15=30
Moving to Node #0,3
Current State: 35:[52, 37, 67], Operations: ['82-15=67']
Exploring Operation: 52-37=15, Resulting Numbers: [67, 15]
Generated Node #0,3,0: 35:[67, 15] Operation: 52-37=15
Exploring Operation: 67-52=15, Resulting Numbers: [37, 15]
Generated Node #0,3,1: 35:[37, 15] Operation: 67-52=15
Exploring Operation: 52+37=89, Resulting Numbers: [67, 89]
Generated Node #0,3,2: 35:[67, 89] Operation: 52+37=89
Exploring Operation: 67-37=30, Resulting Numbers: [52, 30]
Generated Node #0,3,3: 35:[52, 30] Operation: 67-37=30
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[37, 15], Operations: ['82-15=67', '67-52=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 37*15=555, Resulting Numbers: [555]
555,35 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[52, 30], Operations: ['82-15=67', '67-37=30']
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[67, 15], Operations: ['82-15=67', '52-37=15']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,35 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[67, 89], Operations: ['82-15=67', '52+37=89']
Exploring Operation: 67+89=156, Resulting Numbers: [156]
156,35 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 67*89=5963, Resulting Numbers: [5963]
5963,35 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: 35:[82, 37, 37], Operations: ['52-15=37']
Exploring Operation: 37/37=1, Resulting Numbers: [82, 1]
Generated Node #0,2,0: 35:[82, 1] Operation: 37/37=1
Exploring Operation: 37-37=0, Resulting Numbers: [82, 0]
Generated Node #0,2,1: 35:[82, 0] Operation: 37-37=0
Exploring Operation: 82-37=45, Resulting Numbers: [37, 45]
Generated Node #0,2,2: 35:[37, 45] Operation: 82-37=45
Exploring Operation: 82-37=45, Resulting Numbers: [37, 45]
Generated Node #0,2,3: 35:[37, 45] Operation: 82-37=45
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[37, 45], Operations: ['52-15=37', '82-37=45']
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,35 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[37, 45], Operations: ['52-15=37', '82-37=45']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,35 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[82, 1], Operations: ['52-15=37', '37/37=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,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,1
Current State: 35:[82, 0], Operations: ['52-15=37', '37-37=0']
Exploring Operation: 82*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 82-0=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 82+0=82, Resulting Numbers: [82]
82,35 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: 35:[37, 2], Operations: ['82-52=30', '30/15=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[52, 15, 82, 37], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [15, 37, 30]
Generated Node #0,1: 35:[15, 37, 30] Operation: 82-52=30
Moving to Node #0,1
Current State: 35:[15, 37, 30], Operations: ['82-52=30']
Exploring Operation: 30/15=2, Resulting Numbers: [37, 2]
Generated Node #0,1,0: 35:[37, 2] Operation: 30/15=2
Moving to Node #0,1,0
Current State: 35:[37, 2], Operations: ['82-52=30', '30/15=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.954861 | hs_4 | sum_heuristic |
[
17,
1,
74,
70
] | 72 | [
"17+1=18",
"74-70=4",
"18*4=72"
] | Current State: 72:[17, 1, 74, 70], Operations: []
Exploring Operation: 17+1=18, Resulting Numbers: [74, 70, 18]
Generated Node #2: [74, 70, 18] from Operation: 17+1=18
Current State: 72:[74, 70, 18], Operations: ['17+1=18']
Exploring Operation: 74-70=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 74-70=4
Current State: 72:[18, 4], Operations: ['17+1=18', '74-70=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[17, 1, 74, 70], Operations: []
Exploring Operation: 1+70=71, Resulting Numbers: [17, 74, 71]
Generated Node #0,0: 72:[17, 74, 71] Operation: 1+70=71
Exploring Operation: 17+1=18, Resulting Numbers: [74, 70, 18]
Generated Node #0,1: 72:[74, 70, 18] Operation: 17+1=18
Exploring Operation: 74-1=73, Resulting Numbers: [17, 70, 73]
Generated Node #0,2: 72:[17, 70, 73] Operation: 74-1=73
Exploring Operation: 74-70=4, Resulting Numbers: [17, 1, 4]
Generated Node #0,3: 72:[17, 1, 4] Operation: 74-70=4
Moving to Node #0,3
Current State: 72:[17, 1, 4], Operations: ['74-70=4']
Exploring Operation: 17+1=18, Resulting Numbers: [4, 18]
Generated Node #0,3,0: 72:[4, 18] Operation: 17+1=18
Exploring Operation: 1*4=4, Resulting Numbers: [17, 4]
Generated Node #0,3,1: 72:[17, 4] Operation: 1*4=4
Exploring Operation: 17*1=17, Resulting Numbers: [4, 17]
Generated Node #0,3,2: 72:[4, 17] Operation: 17*1=17
Exploring Operation: 17/1=17, Resulting Numbers: [4, 17]
Generated Node #0,3,3: 72:[4, 17] Operation: 17/1=17
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 72:[4, 18], Operations: ['74-70=4', '17+1=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[17, 1, 74, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [17, 1, 4]
Generated Node #0,3: 72:[17, 1, 4] Operation: 74-70=4
Moving to Node #0,3
Current State: 72:[17, 1, 4], Operations: ['74-70=4']
Exploring Operation: 17+1=18, Resulting Numbers: [4, 18]
Generated Node #0,3,0: 72:[4, 18] Operation: 17+1=18
Moving to Node #0,3,0
Current State: 72:[4, 18], Operations: ['74-70=4', '17+1=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
20,
80,
37,
96
] | 33 | [
"20+80=100",
"37+96=133",
"133-100=33"
] | Current State: 33:[20, 80, 37, 96], Operations: []
Exploring Operation: 20+80=100, Resulting Numbers: [37, 96, 100]
Generated Node #2: [37, 96, 100] from Operation: 20+80=100
Current State: 33:[37, 96, 100], Operations: ['20+80=100']
Exploring Operation: 37+96=133, Resulting Numbers: [100, 133]
Generated Node #3: [100, 133] from Operation: 37+96=133
Current State: 33:[100, 133], Operations: ['20+80=100', '37+96=133']
Exploring Operation: 133-100=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[20, 80, 37, 96], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [20, 96, 43]
Generated Node #0,0: 33:[20, 96, 43] Operation: 80-37=43
Exploring Operation: 96-37=59, Resulting Numbers: [20, 80, 59]
Generated Node #0,1: 33:[20, 80, 59] Operation: 96-37=59
Exploring Operation: 96-80=16, Resulting Numbers: [20, 37, 16]
Generated Node #0,2: 33:[20, 37, 16] Operation: 96-80=16
Exploring Operation: 80/20=4, Resulting Numbers: [37, 96, 4]
Generated Node #0,3: 33:[37, 96, 4] Operation: 80/20=4
Moving to Node #0,2
Current State: 33:[20, 37, 16], Operations: ['96-80=16']
Exploring Operation: 20+16=36, Resulting Numbers: [37, 36]
Generated Node #0,2,0: 33:[37, 36] Operation: 20+16=36
Exploring Operation: 37-20=17, Resulting Numbers: [16, 17]
Generated Node #0,2,1: 33:[16, 17] Operation: 37-20=17
Exploring Operation: 37-16=21, Resulting Numbers: [20, 21]
Generated Node #0,2,2: 33:[20, 21] Operation: 37-16=21
Exploring Operation: 20-16=4, Resulting Numbers: [37, 4]
Generated Node #0,2,3: 33:[37, 4] Operation: 20-16=4
Moving to Node #0,3
Current State: 33:[37, 96, 4], Operations: ['80/20=4']
Exploring Operation: 96/4=24, Resulting Numbers: [37, 24]
Generated Node #0,3,0: 33:[37, 24] Operation: 96/4=24
Exploring Operation: 37-4=33, Resulting Numbers: [96, 33]
Generated Node #0,3,1: 33:[96, 33] Operation: 37-4=33
Exploring Operation: 96-4=92, Resulting Numbers: [37, 92]
Generated Node #0,3,2: 33:[37, 92] Operation: 96-4=92
Exploring Operation: 96-37=59, Resulting Numbers: [4, 59]
Generated Node #0,3,3: 33:[4, 59] Operation: 96-37=59
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[37, 24], Operations: ['80/20=4', '96/4=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,33 unequal: No Solution
No 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: 33:[4, 59], Operations: ['80/20=4', '96-37=59']
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,33 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,33 unequal: No Solution
No 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: 33:[96, 33], Operations: ['80/20=4', '37-4=33']
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 96*33=3168, Resulting Numbers: [3168]
3168,33 unequal: No Solution
Exploring Operation: 96+33=129, Resulting Numbers: [129]
129,33 unequal: No Solution
No 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: 33:[37, 92], Operations: ['80/20=4', '96-4=92']
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,33 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,33 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: 33:[20, 80, 59], Operations: ['96-37=59']
Exploring Operation: 80/20=4, Resulting Numbers: [59, 4]
Generated Node #0,1,0: 33:[59, 4] Operation: 80/20=4
Exploring Operation: 80-20=60, Resulting Numbers: [59, 60]
Generated Node #0,1,1: 33:[59, 60] Operation: 80-20=60
Exploring Operation: 80-59=21, Resulting Numbers: [20, 21]
Generated Node #0,1,2: 33:[20, 21] Operation: 80-59=21
Exploring Operation: 59-20=39, Resulting Numbers: [80, 39]
Generated Node #0,1,3: 33:[80, 39] Operation: 59-20=39
Moving to Node #0,0
Current State: 33:[20, 96, 43], Operations: ['80-37=43']
Exploring Operation: 20+96=116, Resulting Numbers: [43, 116]
Generated Node #0,0,0: 33:[43, 116] Operation: 20+96=116
Exploring Operation: 96-20=76, Resulting Numbers: [43, 76]
Generated Node #0,0,1: 33:[43, 76] Operation: 96-20=76
Exploring Operation: 43-20=23, Resulting Numbers: [96, 23]
Generated Node #0,0,2: 33:[96, 23] Operation: 43-20=23
Exploring Operation: 96-43=53, Resulting Numbers: [20, 53]
Generated Node #0,0,3: 33:[20, 53] Operation: 96-43=53
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[20, 53], Operations: ['80-37=43', '96-43=53']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[20, 80, 37, 96], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [20, 96, 43]
Generated Node #0,0: 33:[20, 96, 43] Operation: 80-37=43
Moving to Node #0,0
Current State: 33:[20, 96, 43], Operations: ['80-37=43']
Exploring Operation: 96-43=53, Resulting Numbers: [20, 53]
Generated Node #0,0,3: 33:[20, 53] Operation: 96-43=53
Moving to Node #0,0,3
Current State: 33:[20, 53], Operations: ['80-37=43', '96-43=53']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
80,
7,
45,
54
] | 78 | [
"80+7=87",
"54-45=9",
"87-9=78"
] | Current State: 78:[80, 7, 45, 54], Operations: []
Exploring Operation: 80+7=87, Resulting Numbers: [45, 54, 87]
Generated Node #2: [45, 54, 87] from Operation: 80+7=87
Current State: 78:[45, 54, 87], Operations: ['80+7=87']
Exploring Operation: 54-45=9, Resulting Numbers: [87, 9]
Generated Node #3: [87, 9] from Operation: 54-45=9
Current State: 78:[87, 9], Operations: ['80+7=87', '54-45=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[80, 7, 45, 54], Operations: []
Exploring Operation: 54-7=47, Resulting Numbers: [80, 45, 47]
Generated Node #0,0: 78:[80, 45, 47] Operation: 54-7=47
Exploring Operation: 45-7=38, Resulting Numbers: [80, 54, 38]
Generated Node #0,1: 78:[80, 54, 38] Operation: 45-7=38
Exploring Operation: 80-54=26, Resulting Numbers: [7, 45, 26]
Generated Node #0,2: 78:[7, 45, 26] Operation: 80-54=26
Exploring Operation: 80-45=35, Resulting Numbers: [7, 54, 35]
Generated Node #0,3: 78:[7, 54, 35] Operation: 80-45=35
Exploring Operation: 54-45=9, Resulting Numbers: [80, 7, 9]
Generated Node #0,4: 78:[80, 7, 9] Operation: 54-45=9
Moving to Node #0,4
Current State: 78:[80, 7, 9], Operations: ['54-45=9']
Exploring Operation: 9-7=2, Resulting Numbers: [80, 2]
Generated Node #0,4,0: 78:[80, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [80, 16]
Generated Node #0,4,1: 78:[80, 16] Operation: 7+9=16
Exploring Operation: 80-9=71, Resulting Numbers: [7, 71]
Generated Node #0,4,2: 78:[7, 71] Operation: 80-9=71
Exploring Operation: 80-7=73, Resulting Numbers: [9, 73]
Generated Node #0,4,3: 78:[9, 73] Operation: 80-7=73
Exploring Operation: 80+7=87, Resulting Numbers: [9, 87]
Generated Node #0,4,4: 78:[9, 87] Operation: 80+7=87
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 78:[80, 2], Operations: ['54-45=9', '9-7=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[80, 7, 45, 54], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [80, 7, 9]
Generated Node #0,4: 78:[80, 7, 9] Operation: 54-45=9
Moving to Node #0,4
Current State: 78:[80, 7, 9], Operations: ['54-45=9']
Exploring Operation: 9-7=2, Resulting Numbers: [80, 2]
Generated Node #0,4,0: 78:[80, 2] Operation: 9-7=2
Moving to Node #0,4,0
Current State: 78:[80, 2], Operations: ['54-45=9', '9-7=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
6,
84,
29,
47
] | 48 | [
"84-29=55",
"55-47=8",
"6*8=48"
] | Current State: 48:[6, 84, 29, 47], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [6, 47, 55]
Generated Node #2: [6, 47, 55] from Operation: 84-29=55
Current State: 48:[6, 47, 55], Operations: ['84-29=55']
Exploring Operation: 55-47=8, Resulting Numbers: [6, 8]
Generated Node #3: [6, 8] from Operation: 55-47=8
Current State: 48:[6, 8], Operations: ['84-29=55', '55-47=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 84, 29, 47], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [29, 47, 14]
Generated Node #0,0: 48:[29, 47, 14] Operation: 84/6=14
Moving to Node #0,0
Current State: 48:[29, 47, 14], Operations: ['84/6=14']
Exploring Operation: 29-14=15, Resulting Numbers: [47, 15]
Generated Node #0,0,0: 48:[47, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[47, 15], Operations: ['84/6=14', '29-14=15']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
36,
36,
55
] | 65 | [
"36-36=0",
"55*0=0",
"65+0=65"
] | Current State: 65:[65, 36, 36, 55], Operations: []
Exploring Operation: 36-36=0, Resulting Numbers: [65, 55, 0]
Generated Node #2: [65, 55, 0] from Operation: 36-36=0
Current State: 65:[65, 55, 0], Operations: ['36-36=0']
Exploring Operation: 55*0=0, Resulting Numbers: [65, 0]
Generated Node #3: [65, 0] from Operation: 55*0=0
Current State: 65:[65, 0], Operations: ['36-36=0', '55*0=0']
Exploring Operation: 65+0=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[65, 36, 36, 55], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [65, 55, 1]
Generated Node #0,0: 65:[65, 55, 1] Operation: 36/36=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[65, 55, 1], Operations: ['36/36=1']
Exploring Operation: 65-55=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 65:[1, 10] Operation: 65-55=10
Moving to Node #0,0,0
Current State: 65:[1, 10], Operations: ['36/36=1', '65-55=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,65 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 |
[
35,
27,
7,
34
] | 35 | [
"35+27=62",
"34-7=27",
"62-27=35"
] | Current State: 35:[35, 27, 7, 34], Operations: []
Exploring Operation: 35+27=62, Resulting Numbers: [7, 34, 62]
Generated Node #2: [7, 34, 62] from Operation: 35+27=62
Current State: 35:[7, 34, 62], Operations: ['35+27=62']
Exploring Operation: 34-7=27, Resulting Numbers: [62, 27]
Generated Node #3: [62, 27] from Operation: 34-7=27
Current State: 35:[62, 27], Operations: ['35+27=62', '34-7=27']
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[35, 27, 7, 34], Operations: []
Exploring Operation: 27+7=34, Resulting Numbers: [35, 34, 34]
Generated Node #0,0: 35:[35, 34, 34] Operation: 27+7=34
Exploring Operation: 34-27=7, Resulting Numbers: [35, 7, 7]
Generated Node #0,1: 35:[35, 7, 7] Operation: 34-27=7
Exploring Operation: 35-27=8, Resulting Numbers: [7, 34, 8]
Generated Node #0,2: 35:[7, 34, 8] Operation: 35-27=8
Exploring Operation: 35/7=5, Resulting Numbers: [27, 34, 5]
Generated Node #0,3: 35:[27, 34, 5] Operation: 35/7=5
Moving to Node #0,1
Current State: 35:[35, 7, 7], Operations: ['34-27=7']
Exploring Operation: 35/7=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 35:[7, 5] Operation: 35/7=5
Exploring Operation: 7/7=1, Resulting Numbers: [35, 1]
Generated Node #0,1,1: 35:[35, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [35, 0]
Generated Node #0,1,2: 35:[35, 0] Operation: 7-7=0
Exploring Operation: 35/7=5, Resulting Numbers: [7, 5]
Generated Node #0,1,3: 35:[7, 5] Operation: 35/7=5
Moving to Node #0,2
Current State: 35:[7, 34, 8], Operations: ['35-27=8']
Exploring Operation: 7+34=41, Resulting Numbers: [8, 41]
Generated Node #0,2,0: 35:[8, 41] Operation: 7+34=41
Exploring Operation: 34-7=27, Resulting Numbers: [8, 27]
Generated Node #0,2,1: 35:[8, 27] Operation: 34-7=27
Exploring Operation: 34+8=42, Resulting Numbers: [7, 42]
Generated Node #0,2,2: 35:[7, 42] Operation: 34+8=42
Exploring Operation: 8-7=1, Resulting Numbers: [34, 1]
Generated Node #0,2,3: 35:[34, 1] Operation: 8-7=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[34, 1], Operations: ['35-27=8', '8-7=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[35, 27, 7, 34], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [7, 34, 8]
Generated Node #0,2: 35:[7, 34, 8] Operation: 35-27=8
Moving to Node #0,2
Current State: 35:[7, 34, 8], Operations: ['35-27=8']
Exploring Operation: 8-7=1, Resulting Numbers: [34, 1]
Generated Node #0,2,3: 35:[34, 1] Operation: 8-7=1
Moving to Node #0,2,3
Current State: 35:[34, 1], Operations: ['35-27=8', '8-7=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
87,
20,
89,
30
] | 40 | [
"89-87=2",
"20/2=10",
"30+10=40"
] | Current State: 40:[87, 20, 89, 30], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [20, 30, 2]
Generated Node #2: [20, 30, 2] from Operation: 89-87=2
Current State: 40:[20, 30, 2], Operations: ['89-87=2']
Exploring Operation: 20/2=10, Resulting Numbers: [30, 10]
Generated Node #3: [30, 10] from Operation: 20/2=10
Current State: 40:[30, 10], Operations: ['89-87=2', '20/2=10']
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[87, 20, 89, 30], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [20, 30, 2]
Generated Node #0,0: 40:[20, 30, 2] Operation: 89-87=2
Exploring Operation: 87-30=57, Resulting Numbers: [20, 89, 57]
Generated Node #0,1: 40:[20, 89, 57] Operation: 87-30=57
Exploring Operation: 89-30=59, Resulting Numbers: [87, 20, 59]
Generated Node #0,2: 40:[87, 20, 59] Operation: 89-30=59
Exploring Operation: 87-20=67, Resulting Numbers: [89, 30, 67]
Generated Node #0,3: 40:[89, 30, 67] Operation: 87-20=67
Moving to Node #0,0
Current State: 40:[20, 30, 2], Operations: ['89-87=2']
Exploring Operation: 30-20=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 40:[2, 10] Operation: 30-20=10
Exploring Operation: 30/2=15, Resulting Numbers: [20, 15]
Generated Node #0,0,1: 40:[20, 15] Operation: 30/2=15
Exploring Operation: 30+2=32, Resulting Numbers: [20, 32]
Generated Node #0,0,2: 40:[20, 32] Operation: 30+2=32
Exploring Operation: 30-2=28, Resulting Numbers: [20, 28]
Generated Node #0,0,3: 40:[20, 28] Operation: 30-2=28
Moving to Node #0,2
Current State: 40:[87, 20, 59], Operations: ['89-30=59']
Exploring Operation: 59-20=39, Resulting Numbers: [87, 39]
Generated Node #0,2,0: 40:[87, 39] Operation: 59-20=39
Exploring Operation: 87+20=107, Resulting Numbers: [59, 107]
Generated Node #0,2,1: 40:[59, 107] Operation: 87+20=107
Exploring Operation: 87-59=28, Resulting Numbers: [20, 28]
Generated Node #0,2,2: 40:[20, 28] Operation: 87-59=28
Exploring Operation: 87-20=67, Resulting Numbers: [59, 67]
Generated Node #0,2,3: 40:[59, 67] Operation: 87-20=67
Moving to Node #0,1
Current State: 40:[20, 89, 57], Operations: ['87-30=57']
Exploring Operation: 89-20=69, Resulting Numbers: [57, 69]
Generated Node #0,1,0: 40:[57, 69] Operation: 89-20=69
Exploring Operation: 20+89=109, Resulting Numbers: [57, 109]
Generated Node #0,1,1: 40:[57, 109] Operation: 20+89=109
Exploring Operation: 89-57=32, Resulting Numbers: [20, 32]
Generated Node #0,1,2: 40:[20, 32] Operation: 89-57=32
Exploring Operation: 57-20=37, Resulting Numbers: [89, 37]
Generated Node #0,1,3: 40:[89, 37] Operation: 57-20=37
Moving to Node #0,3
Current State: 40:[89, 30, 67], Operations: ['87-20=67']
Exploring Operation: 89-67=22, Resulting Numbers: [30, 22]
Generated Node #0,3,0: 40:[30, 22] Operation: 89-67=22
Exploring Operation: 67-30=37, Resulting Numbers: [89, 37]
Generated Node #0,3,1: 40:[89, 37] Operation: 67-30=37
Exploring Operation: 89-30=59, Resulting Numbers: [67, 59]
Generated Node #0,3,2: 40:[67, 59] Operation: 89-30=59
Exploring Operation: 89+30=119, Resulting Numbers: [67, 119]
Generated Node #0,3,3: 40:[67, 119] Operation: 89+30=119
Moving to Node #0,0,0
Current State: 40:[2, 10], Operations: ['89-87=2', '30-20=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[20, 15], Operations: ['89-87=2', '30/2=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[20, 32], Operations: ['89-87=2', '30+2=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,40 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[20, 28], Operations: ['89-30=59', '87-59=28']
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,40 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[20, 28], Operations: ['89-87=2', '30-2=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,40 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[20, 32], Operations: ['87-30=57', '89-57=32']
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,40 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[30, 22], Operations: ['87-20=67', '89-67=22']
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,40 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[67, 59], Operations: ['87-20=67', '89-30=59']
Exploring Operation: 67*59=3953, Resulting Numbers: [3953]
3953,40 unequal: No Solution
Exploring Operation: 67+59=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[59, 67], Operations: ['89-30=59', '87-20=67']
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[57, 69], Operations: ['87-30=57', '89-20=69']
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,40 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[87, 39], Operations: ['89-30=59', '59-20=39']
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[89, 37], Operations: ['87-20=67', '67-30=37']
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,40 unequal: No Solution
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[89, 37], Operations: ['87-30=57', '57-20=37']
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,40 unequal: No Solution
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[59, 107], Operations: ['89-30=59', '87+20=107']
Exploring Operation: 107-59=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 59+107=166, Resulting Numbers: [166]
166,40 unequal: No Solution
Exploring Operation: 59*107=6313, Resulting Numbers: [6313]
6313,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[57, 109], Operations: ['87-30=57', '20+89=109']
Exploring Operation: 57+109=166, Resulting Numbers: [166]
166,40 unequal: No Solution
Exploring Operation: 109-57=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 57*109=6213, Resulting Numbers: [6213]
6213,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[67, 119], Operations: ['87-20=67', '89+30=119']
Exploring Operation: 67*119=7973, Resulting Numbers: [7973]
7973,40 unequal: No Solution
Exploring Operation: 67+119=186, Resulting Numbers: [186]
186,40 unequal: No Solution
Exploring Operation: 119-67=52, Resulting Numbers: [52]
52,40 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
77,
2,
23,
15
] | 12 | [
"77-23=54",
"54/2=27",
"27-15=12"
] | Current State: 12:[77, 2, 23, 15], Operations: []
Exploring Operation: 77-23=54, Resulting Numbers: [2, 15, 54]
Generated Node #2: [2, 15, 54] from Operation: 77-23=54
Current State: 12:[2, 15, 54], Operations: ['77-23=54']
Exploring Operation: 54/2=27, Resulting Numbers: [15, 27]
Generated Node #3: [15, 27] from Operation: 54/2=27
Current State: 12:[15, 27], Operations: ['77-23=54', '54/2=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[77, 2, 23, 15], Operations: []
Exploring Operation: 77-23=54, Resulting Numbers: [2, 15, 54]
Generated Node #0,0: 12:[2, 15, 54] Operation: 77-23=54
Exploring Operation: 23-15=8, Resulting Numbers: [77, 2, 8]
Generated Node #0,1: 12:[77, 2, 8] Operation: 23-15=8
Exploring Operation: 77-15=62, Resulting Numbers: [2, 23, 62]
Generated Node #0,2: 12:[2, 23, 62] Operation: 77-15=62
Exploring Operation: 77-2=75, Resulting Numbers: [23, 15, 75]
Generated Node #0,3: 12:[23, 15, 75] Operation: 77-2=75
Moving to Node #0,0
Current State: 12:[2, 15, 54], Operations: ['77-23=54']
Exploring Operation: 54-15=39, Resulting Numbers: [2, 39]
Generated Node #0,0,0: 12:[2, 39] Operation: 54-15=39
Exploring Operation: 54-2=52, Resulting Numbers: [15, 52]
Generated Node #0,0,1: 12:[15, 52] Operation: 54-2=52
Exploring Operation: 15-2=13, Resulting Numbers: [54, 13]
Generated Node #0,0,2: 12:[54, 13] Operation: 15-2=13
Exploring Operation: 54/2=27, Resulting Numbers: [15, 27]
Generated Node #0,0,3: 12:[15, 27] Operation: 54/2=27
Moving to Node #0,2
Current State: 12:[2, 23, 62], Operations: ['77-15=62']
Exploring Operation: 62-23=39, Resulting Numbers: [2, 39]
Generated Node #0,2,0: 12:[2, 39] Operation: 62-23=39
Exploring Operation: 23-2=21, Resulting Numbers: [62, 21]
Generated Node #0,2,1: 12:[62, 21] Operation: 23-2=21
Exploring Operation: 62-2=60, Resulting Numbers: [23, 60]
Generated Node #0,2,2: 12:[23, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [23, 31]
Generated Node #0,2,3: 12:[23, 31] Operation: 62/2=31
Moving to Node #0,1
Current State: 12:[77, 2, 8], Operations: ['23-15=8']
Exploring Operation: 8-2=6, Resulting Numbers: [77, 6]
Generated Node #0,1,0: 12:[77, 6] Operation: 8-2=6
Exploring Operation: 77-2=75, Resulting Numbers: [8, 75]
Generated Node #0,1,1: 12:[8, 75] Operation: 77-2=75
Exploring Operation: 77-8=69, Resulting Numbers: [2, 69]
Generated Node #0,1,2: 12:[2, 69] Operation: 77-8=69
Exploring Operation: 8/2=4, Resulting Numbers: [77, 4]
Generated Node #0,1,3: 12:[77, 4] Operation: 8/2=4
Moving to Node #0,3
Current State: 12:[23, 15, 75], Operations: ['77-2=75']
Exploring Operation: 75-15=60, Resulting Numbers: [23, 60]
Generated Node #0,3,0: 12:[23, 60] Operation: 75-15=60
Exploring Operation: 75-23=52, Resulting Numbers: [15, 52]
Generated Node #0,3,1: 12:[15, 52] Operation: 75-23=52
Exploring Operation: 75/15=5, Resulting Numbers: [23, 5]
Generated Node #0,3,2: 12:[23, 5] Operation: 75/15=5
Exploring Operation: 23-15=8, Resulting Numbers: [75, 8]
Generated Node #0,3,3: 12:[75, 8] Operation: 23-15=8
Moving to Node #0,3,2
Current State: 12:[23, 5], Operations: ['77-2=75', '75/15=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,12 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[15, 27], Operations: ['77-23=54', '54/2=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[77, 2, 23, 15], Operations: []
Exploring Operation: 77-23=54, Resulting Numbers: [2, 15, 54]
Generated Node #0,0: 12:[2, 15, 54] Operation: 77-23=54
Moving to Node #0,0
Current State: 12:[2, 15, 54], Operations: ['77-23=54']
Exploring Operation: 54/2=27, Resulting Numbers: [15, 27]
Generated Node #0,0,3: 12:[15, 27] Operation: 54/2=27
Moving to Node #0,0,3
Current State: 12:[15, 27], Operations: ['77-23=54', '54/2=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.975694 | hs_4 | mult_heuristic |
[
48,
3,
10,
34
] | 28 | [
"48/3=16",
"10+34=44",
"44-16=28"
] | Current State: 28:[48, 3, 10, 34], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [10, 34, 16]
Generated Node #2: [10, 34, 16] from Operation: 48/3=16
Current State: 28:[10, 34, 16], Operations: ['48/3=16']
Exploring Operation: 10+34=44, Resulting Numbers: [16, 44]
Generated Node #3: [16, 44] from Operation: 10+34=44
Current State: 28:[16, 44], Operations: ['48/3=16', '10+34=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[48, 3, 10, 34], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [10, 34, 16]
Generated Node #0,0: 28:[10, 34, 16] Operation: 48/3=16
Exploring Operation: 48-34=14, Resulting Numbers: [3, 10, 14]
Generated Node #0,1: 28:[3, 10, 14] Operation: 48-34=14
Exploring Operation: 48-10=38, Resulting Numbers: [3, 34, 38]
Generated Node #0,2: 28:[3, 34, 38] Operation: 48-10=38
Exploring Operation: 34-10=24, Resulting Numbers: [48, 3, 24]
Generated Node #0,3: 28:[48, 3, 24] Operation: 34-10=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[3, 10, 14], Operations: ['48-34=14']
Exploring Operation: 10-3=7, Resulting Numbers: [14, 7]
Generated Node #0,1,0: 28:[14, 7] Operation: 10-3=7
Exploring Operation: 3*10=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 28:[14, 30] Operation: 3*10=30
Exploring Operation: 3+10=13, Resulting Numbers: [14, 13]
Generated Node #0,1,2: 28:[14, 13] Operation: 3+10=13
Exploring Operation: 14-10=4, Resulting Numbers: [3, 4]
Generated Node #0,1,3: 28:[3, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[14, 7], Operations: ['48-34=14', '10-3=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,28 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[14, 13], Operations: ['48-34=14', '3+10=13']
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,28 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[3, 4], Operations: ['48-34=14', '14-10=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[14, 30], Operations: ['48-34=14', '3*10=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,28 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,28 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: 28:[10, 34, 16], Operations: ['48/3=16']
Exploring Operation: 34-10=24, Resulting Numbers: [16, 24]
Generated Node #0,0,0: 28:[16, 24] Operation: 34-10=24
Exploring Operation: 34-16=18, Resulting Numbers: [10, 18]
Generated Node #0,0,1: 28:[10, 18] Operation: 34-16=18
Exploring Operation: 10+16=26, Resulting Numbers: [34, 26]
Generated Node #0,0,2: 28:[34, 26] Operation: 10+16=26
Exploring Operation: 16-10=6, Resulting Numbers: [34, 6]
Generated Node #0,0,3: 28:[34, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[16, 24], Operations: ['48/3=16', '34-10=24']
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,28 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[10, 18], Operations: ['48/3=16', '34-16=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[48, 3, 10, 34], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [10, 34, 16]
Generated Node #0,0: 28:[10, 34, 16] Operation: 48/3=16
Moving to Node #0,0
Current State: 28:[10, 34, 16], Operations: ['48/3=16']
Exploring Operation: 34-16=18, Resulting Numbers: [10, 18]
Generated Node #0,0,1: 28:[10, 18] Operation: 34-16=18
Moving to Node #0,0,1
Current State: 28:[10, 18], Operations: ['48/3=16', '34-16=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
64,
28,
40,
4
] | 34 | [
"64-40=24",
"24/4=6",
"28+6=34"
] | Current State: 34:[64, 28, 40, 4], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [28, 4, 24]
Generated Node #2: [28, 4, 24] from Operation: 64-40=24
Current State: 34:[28, 4, 24], Operations: ['64-40=24']
Exploring Operation: 24/4=6, Resulting Numbers: [28, 6]
Generated Node #3: [28, 6] from Operation: 24/4=6
Current State: 34:[28, 6], Operations: ['64-40=24', '24/4=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[64, 28, 40, 4], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [28, 40, 16]
Generated Node #0,0: 34:[28, 40, 16] Operation: 64/4=16
Exploring Operation: 64-28=36, Resulting Numbers: [40, 4, 36]
Generated Node #0,1: 34:[40, 4, 36] Operation: 64-28=36
Exploring Operation: 64-40=24, Resulting Numbers: [28, 4, 24]
Generated Node #0,2: 34:[28, 4, 24] Operation: 64-40=24
Moving to Node #0,1
Current State: 34:[40, 4, 36], Operations: ['64-28=36']
Exploring Operation: 40-4=36, Resulting Numbers: [36, 36]
Generated Node #0,1,0: 34:[36, 36] Operation: 40-4=36
Exploring Operation: 36-4=32, Resulting Numbers: [40, 32]
Generated Node #0,1,1: 34:[40, 32] Operation: 36-4=32
Exploring Operation: 40-36=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 34:[4, 4] Operation: 40-36=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[36, 36], Operations: ['64-28=36', '40-4=36']
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[4, 4], Operations: ['64-28=36', '40-36=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[40, 32], Operations: ['64-28=36', '36-4=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,34 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: 34:[28, 40, 16], Operations: ['64/4=16']
Exploring Operation: 40-28=12, Resulting Numbers: [16, 12]
Generated Node #0,0,0: 34:[16, 12] Operation: 40-28=12
Exploring Operation: 28-16=12, Resulting Numbers: [40, 12]
Generated Node #0,0,1: 34:[40, 12] Operation: 28-16=12
Exploring Operation: 40-16=24, Resulting Numbers: [28, 24]
Generated Node #0,0,2: 34:[28, 24] Operation: 40-16=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[16, 12], Operations: ['64/4=16', '40-28=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[40, 12], Operations: ['64/4=16', '28-16=12']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,34 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[28, 24], Operations: ['64/4=16', '40-16=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,34 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,34 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: 34:[28, 4, 24], Operations: ['64-40=24']
Exploring Operation: 28+4=32, Resulting Numbers: [24, 32]
Generated Node #0,2,0: 34:[24, 32] Operation: 28+4=32
Exploring Operation: 24-4=20, Resulting Numbers: [28, 20]
Generated Node #0,2,1: 34:[28, 20] Operation: 24-4=20
Exploring Operation: 28-24=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 34:[4, 4] Operation: 28-24=4
Moving to Node #0,2,2
Current State: 34:[4, 4], Operations: ['64-40=24', '28-24=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[24, 32], Operations: ['64-40=24', '28+4=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,34 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[28, 20], Operations: ['64-40=24', '24-4=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,34 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,34 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
56,
7,
47
] | 77 | [
"56-19=37",
"47-7=40",
"37+40=77"
] | Current State: 77:[19, 56, 7, 47], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [7, 47, 37]
Generated Node #2: [7, 47, 37] from Operation: 56-19=37
Current State: 77:[7, 47, 37], Operations: ['56-19=37']
Exploring Operation: 47-7=40, Resulting Numbers: [37, 40]
Generated Node #3: [37, 40] from Operation: 47-7=40
Current State: 77:[37, 40], Operations: ['56-19=37', '47-7=40']
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[19, 56, 7, 47], Operations: []
Exploring Operation: 19+56=75, Resulting Numbers: [7, 47, 75]
Generated Node #0,0: 77:[7, 47, 75] Operation: 19+56=75
Exploring Operation: 56-47=9, Resulting Numbers: [19, 7, 9]
Generated Node #0,1: 77:[19, 7, 9] Operation: 56-47=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[19, 7, 9], Operations: ['56-47=9']
Exploring Operation: 19-7=12, Resulting Numbers: [9, 12]
Generated Node #0,1,0: 77:[9, 12] Operation: 19-7=12
Exploring Operation: 19-9=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 77:[7, 10] Operation: 19-9=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[7, 10], Operations: ['56-47=9', '19-9=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[9, 12], Operations: ['56-47=9', '19-7=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[7, 47, 75], Operations: ['19+56=75']
Exploring Operation: 75-47=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 77:[7, 28] Operation: 75-47=28
Exploring Operation: 7+47=54, Resulting Numbers: [75, 54]
Generated Node #0,0,1: 77:[75, 54] Operation: 7+47=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[7, 28], Operations: ['19+56=75', '75-47=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[75, 54], Operations: ['19+56=75', '7+47=54']
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,77 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
25,
90,
69
] | 89 | [
"45+25=70",
"90+69=159",
"159-70=89"
] | Current State: 89:[45, 25, 90, 69], Operations: []
Exploring Operation: 45+25=70, Resulting Numbers: [90, 69, 70]
Generated Node #2: [90, 69, 70] from Operation: 45+25=70
Current State: 89:[90, 69, 70], Operations: ['45+25=70']
Exploring Operation: 90+69=159, Resulting Numbers: [70, 159]
Generated Node #3: [70, 159] from Operation: 90+69=159
Current State: 89:[70, 159], Operations: ['45+25=70', '90+69=159']
Exploring Operation: 159-70=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[45, 25, 90, 69], Operations: []
Exploring Operation: 45+25=70, Resulting Numbers: [90, 69, 70]
Generated Node #0,0: 89:[90, 69, 70] Operation: 45+25=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[90, 69, 70], Operations: ['45+25=70']
Exploring Operation: 69+70=139, Resulting Numbers: [90, 139]
Generated Node #0,0,0: 89:[90, 139] Operation: 69+70=139
Moving to Node #0,0,0
Current State: 89:[90, 139], Operations: ['45+25=70', '69+70=139']
Exploring Operation: 139-90=49, Resulting Numbers: [49]
49,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 |
[
56,
49,
71,
99
] | 21 | [
"56-49=7",
"99-71=28",
"28-7=21"
] | Current State: 21:[56, 49, 71, 99], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [71, 99, 7]
Generated Node #2: [71, 99, 7] from Operation: 56-49=7
Current State: 21:[71, 99, 7], Operations: ['56-49=7']
Exploring Operation: 99-71=28, Resulting Numbers: [7, 28]
Generated Node #3: [7, 28] from Operation: 99-71=28
Current State: 21:[7, 28], Operations: ['56-49=7', '99-71=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[56, 49, 71, 99], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [56, 49, 28]
Generated Node #0,0: 21:[56, 49, 28] Operation: 99-71=28
Moving to Node #0,0
Current State: 21:[56, 49, 28], Operations: ['99-71=28']
Exploring Operation: 56-49=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 21:[28, 7] Operation: 56-49=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[28, 7], Operations: ['99-71=28', '56-49=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[56, 49, 71, 99], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [56, 49, 28]
Generated Node #0,0: 21:[56, 49, 28] Operation: 99-71=28
Moving to Node #0,0
Current State: 21:[56, 49, 28], Operations: ['99-71=28']
Exploring Operation: 56-49=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 21:[28, 7] Operation: 56-49=7
Moving to Node #0,0,0
Current State: 21:[28, 7], Operations: ['99-71=28', '56-49=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
76,
80,
76,
49
] | 80 | [
"76-76=0",
"49*0=0",
"80+0=80"
] | Current State: 80:[76, 80, 76, 49], Operations: []
Exploring Operation: 76-76=0, Resulting Numbers: [80, 49, 0]
Generated Node #2: [80, 49, 0] from Operation: 76-76=0
Current State: 80:[80, 49, 0], Operations: ['76-76=0']
Exploring Operation: 49*0=0, Resulting Numbers: [80, 0]
Generated Node #3: [80, 0] from Operation: 49*0=0
Current State: 80:[80, 0], Operations: ['76-76=0', '49*0=0']
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[76, 80, 76, 49], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [76, 49, 4]
Generated Node #0,0: 80:[76, 49, 4] Operation: 80-76=4
Exploring Operation: 76/76=1, Resulting Numbers: [80, 49, 1]
Generated Node #0,1: 80:[80, 49, 1] Operation: 76/76=1
Exploring Operation: 76-49=27, Resulting Numbers: [76, 80, 27]
Generated Node #0,2: 80:[76, 80, 27] Operation: 76-49=27
Exploring Operation: 76-49=27, Resulting Numbers: [80, 76, 27]
Generated Node #0,3: 80:[80, 76, 27] Operation: 76-49=27
Exploring Operation: 76-76=0, Resulting Numbers: [80, 49, 0]
Generated Node #0,4: 80:[80, 49, 0] Operation: 76-76=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[80, 49, 1], Operations: ['76/76=1']
Exploring Operation: 49/1=49, Resulting Numbers: [80, 49]
Generated Node #0,1,0: 80:[80, 49] Operation: 49/1=49
Exploring Operation: 49-1=48, Resulting Numbers: [80, 48]
Generated Node #0,1,1: 80:[80, 48] Operation: 49-1=48
Exploring Operation: 49*1=49, Resulting Numbers: [80, 49]
Generated Node #0,1,2: 80:[80, 49] Operation: 49*1=49
Exploring Operation: 80*1=80, Resulting Numbers: [49, 80]
Generated Node #0,1,3: 80:[49, 80] Operation: 80*1=80
Exploring Operation: 80/1=80, Resulting Numbers: [49, 80]
Generated Node #0,1,4: 80:[49, 80] Operation: 80/1=80
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[80, 48], Operations: ['76/76=1', '49-1=48']
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,80 unequal: No Solution
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[80, 49], Operations: ['76/76=1', '49/1=49']
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,80 unequal: No Solution
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,80 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[80, 49], Operations: ['76/76=1', '49*1=49']
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,80 unequal: No Solution
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,80 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[49, 80], Operations: ['76/76=1', '80*1=80']
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,80 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 80:[49, 80], Operations: ['76/76=1', '80/1=80']
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,80 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,80 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[76, 80, 27], Operations: ['76-49=27']
Exploring Operation: 76+27=103, Resulting Numbers: [80, 103]
Generated Node #0,2,0: 80:[80, 103] Operation: 76+27=103
Exploring Operation: 80-27=53, Resulting Numbers: [76, 53]
Generated Node #0,2,1: 80:[76, 53] Operation: 80-27=53
Exploring Operation: 80+27=107, Resulting Numbers: [76, 107]
Generated Node #0,2,2: 80:[76, 107] Operation: 80+27=107
Exploring Operation: 76-27=49, Resulting Numbers: [80, 49]
Generated Node #0,2,3: 80:[80, 49] Operation: 76-27=49
Exploring Operation: 80-76=4, Resulting Numbers: [27, 4]
Generated Node #0,2,4: 80:[27, 4] Operation: 80-76=4
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 80:[27, 4], Operations: ['76-49=27', '80-76=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,80 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 80:[80, 49], Operations: ['76-49=27', '76-27=49']
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,80 unequal: No Solution
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,80 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[76, 53], Operations: ['76-49=27', '80-27=53']
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 76*53=4028, Resulting Numbers: [4028]
4028,80 unequal: No Solution
Exploring Operation: 76+53=129, Resulting Numbers: [129]
129,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[80, 103], Operations: ['76-49=27', '76+27=103']
Exploring Operation: 80*103=8240, Resulting Numbers: [8240]
8240,80 unequal: No Solution
Exploring Operation: 103-80=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 80+103=183, Resulting Numbers: [183]
183,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[76, 107], Operations: ['76-49=27', '80+27=107']
Exploring Operation: 76+107=183, Resulting Numbers: [183]
183,80 unequal: No Solution
Exploring Operation: 107-76=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 76*107=8132, Resulting Numbers: [8132]
8132,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[80, 76, 27], Operations: ['76-49=27']
Exploring Operation: 76-27=49, Resulting Numbers: [80, 49]
Generated Node #0,3,0: 80:[80, 49] Operation: 76-27=49
Exploring Operation: 76+27=103, Resulting Numbers: [80, 103]
Generated Node #0,3,1: 80:[80, 103] Operation: 76+27=103
Exploring Operation: 80-76=4, Resulting Numbers: [27, 4]
Generated Node #0,3,2: 80:[27, 4] Operation: 80-76=4
Exploring Operation: 80+27=107, Resulting Numbers: [76, 107]
Generated Node #0,3,3: 80:[76, 107] Operation: 80+27=107
Exploring Operation: 80-27=53, Resulting Numbers: [76, 53]
Generated Node #0,3,4: 80:[76, 53] Operation: 80-27=53
Moving to Node #0,3,2
Current State: 80:[27, 4], Operations: ['76-49=27', '80-76=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[80, 49], Operations: ['76-49=27', '76-27=49']
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,80 unequal: No Solution
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,80 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[76, 53], Operations: ['76-49=27', '80-27=53']
Exploring Operation: 76*53=4028, Resulting Numbers: [4028]
4028,80 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 76+53=129, Resulting Numbers: [129]
129,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[80, 103], Operations: ['76-49=27', '76+27=103']
Exploring Operation: 80*103=8240, Resulting Numbers: [8240]
8240,80 unequal: No Solution
Exploring Operation: 103-80=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 80+103=183, Resulting Numbers: [183]
183,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[76, 107], Operations: ['76-49=27', '80+27=107']
Exploring Operation: 76*107=8132, Resulting Numbers: [8132]
8132,80 unequal: No Solution
Exploring Operation: 107-76=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 76+107=183, Resulting Numbers: [183]
183,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,4
Current State: 80:[80, 49, 0], Operations: ['76-76=0']
Exploring Operation: 49*0=0, Resulting Numbers: [80, 0]
Generated Node #0,4,0: 80:[80, 0] Operation: 49*0=0
Exploring Operation: 80+0=80, Resulting Numbers: [49, 80]
Generated Node #0,4,1: 80:[49, 80] Operation: 80+0=80
Exploring Operation: 49+0=49, Resulting Numbers: [80, 49]
Generated Node #0,4,2: 80:[80, 49] Operation: 49+0=49
Exploring Operation: 49-0=49, Resulting Numbers: [80, 49]
Generated Node #0,4,3: 80:[80, 49] Operation: 49-0=49
Exploring Operation: 80-0=80, Resulting Numbers: [49, 80]
Generated Node #0,4,4: 80:[49, 80] Operation: 80-0=80
Moving to Node #0,4,0
Current State: 80:[80, 0], Operations: ['76-76=0', '49*0=0']
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[76, 80, 76, 49], Operations: []
Exploring Operation: 76-76=0, Resulting Numbers: [80, 49, 0]
Generated Node #0,4: 80:[80, 49, 0] Operation: 76-76=0
Moving to Node #0,4
Current State: 80:[80, 49, 0], Operations: ['76-76=0']
Exploring Operation: 49*0=0, Resulting Numbers: [80, 0]
Generated Node #0,4,0: 80:[80, 0] Operation: 49*0=0
Moving to Node #0,4,0
Current State: 80:[80, 0], Operations: ['76-76=0', '49*0=0']
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.934896 | hs_5 | mult_heuristic |
[
36,
21,
79,
3
] | 66 | [
"36+21=57",
"79-57=22",
"3*22=66"
] | Current State: 66:[36, 21, 79, 3], Operations: []
Exploring Operation: 36+21=57, Resulting Numbers: [79, 3, 57]
Generated Node #2: [79, 3, 57] from Operation: 36+21=57
Current State: 66:[79, 3, 57], Operations: ['36+21=57']
Exploring Operation: 79-57=22, Resulting Numbers: [3, 22]
Generated Node #3: [3, 22] from Operation: 79-57=22
Current State: 66:[3, 22], Operations: ['36+21=57', '79-57=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[36, 21, 79, 3], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [21, 3, 43]
Generated Node #0,0: 66:[21, 3, 43] Operation: 79-36=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[21, 3, 43], Operations: ['79-36=43']
Exploring Operation: 43-21=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 66:[3, 22] Operation: 43-21=22
Moving to Node #0,0,0
Current State: 66:[3, 22], Operations: ['79-36=43', '43-21=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[36, 21, 79, 3], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [21, 3, 43]
Generated Node #0,0: 66:[21, 3, 43] Operation: 79-36=43
Moving to Node #0,0
Current State: 66:[21, 3, 43], Operations: ['79-36=43']
Exploring Operation: 43-21=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 66:[3, 22] Operation: 43-21=22
Moving to Node #0,0,0
Current State: 66:[3, 22], Operations: ['79-36=43', '43-21=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
72,
69,
2,
95
] | 48 | [
"72+69=141",
"95-2=93",
"141-93=48"
] | Current State: 48:[72, 69, 2, 95], Operations: []
Exploring Operation: 72+69=141, Resulting Numbers: [2, 95, 141]
Generated Node #2: [2, 95, 141] from Operation: 72+69=141
Current State: 48:[2, 95, 141], Operations: ['72+69=141']
Exploring Operation: 95-2=93, Resulting Numbers: [141, 93]
Generated Node #3: [141, 93] from Operation: 95-2=93
Current State: 48:[141, 93], Operations: ['72+69=141', '95-2=93']
Exploring Operation: 141-93=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[72, 69, 2, 95], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [69, 95, 36]
Generated Node #0,0: 48:[69, 95, 36] Operation: 72/2=36
Exploring Operation: 72-69=3, Resulting Numbers: [2, 95, 3]
Generated Node #0,1: 48:[2, 95, 3] Operation: 72-69=3
Exploring Operation: 95-69=26, Resulting Numbers: [72, 2, 26]
Generated Node #0,2: 48:[72, 2, 26] Operation: 95-69=26
Exploring Operation: 95-72=23, Resulting Numbers: [69, 2, 23]
Generated Node #0,3: 48:[69, 2, 23] Operation: 95-72=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[69, 2, 23], Operations: ['95-72=23']
Exploring Operation: 69-23=46, Resulting Numbers: [2, 46]
Generated Node #0,3,0: 48:[2, 46] Operation: 69-23=46
Exploring Operation: 2+23=25, Resulting Numbers: [69, 25]
Generated Node #0,3,1: 48:[69, 25] Operation: 2+23=25
Exploring Operation: 69-2=67, Resulting Numbers: [23, 67]
Generated Node #0,3,2: 48:[23, 67] Operation: 69-2=67
Exploring Operation: 69/23=3, Resulting Numbers: [2, 3]
Generated Node #0,3,3: 48:[2, 3] Operation: 69/23=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 48:[2, 3], Operations: ['95-72=23', '69/23=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No 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: 48:[2, 46], Operations: ['95-72=23', '69-23=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[72, 69, 2, 95], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [69, 2, 23]
Generated Node #0,3: 48:[69, 2, 23] Operation: 95-72=23
Moving to Node #0,3
Current State: 48:[69, 2, 23], Operations: ['95-72=23']
Exploring Operation: 69-23=46, Resulting Numbers: [2, 46]
Generated Node #0,3,0: 48:[2, 46] Operation: 69-23=46
Moving to Node #0,3,0
Current State: 48:[2, 46], Operations: ['95-72=23', '69-23=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
6,
18,
4,
86
] | 70 | [
"18-6=12",
"86-4=82",
"82-12=70"
] | Current State: 70:[6, 18, 4, 86], Operations: []
Exploring Operation: 18-6=12, Resulting Numbers: [4, 86, 12]
Generated Node #2: [4, 86, 12] from Operation: 18-6=12
Current State: 70:[4, 86, 12], Operations: ['18-6=12']
Exploring Operation: 86-4=82, Resulting Numbers: [12, 82]
Generated Node #3: [12, 82] from Operation: 86-4=82
Current State: 70:[12, 82], Operations: ['18-6=12', '86-4=82']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[6, 18, 4, 86], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [6, 4, 68]
Generated Node #0,0: 70:[6, 4, 68] Operation: 86-18=68
Moving to Node #0,0
Current State: 70:[6, 4, 68], Operations: ['86-18=68']
Exploring Operation: 6+4=10, Resulting Numbers: [68, 10]
Generated Node #0,0,0: 70:[68, 10] Operation: 6+4=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[68, 10], Operations: ['86-18=68', '6+4=10']
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,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 |
[
50,
51,
3,
43
] | 86 | [
"51-50=1",
"3-1=2",
"43*2=86"
] | Current State: 86:[50, 51, 3, 43], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [3, 43, 1]
Generated Node #2: [3, 43, 1] from Operation: 51-50=1
Current State: 86:[3, 43, 1], Operations: ['51-50=1']
Exploring Operation: 3-1=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 3-1=2
Current State: 86:[43, 2], Operations: ['51-50=1', '3-1=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[50, 51, 3, 43], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [50, 3, 8]
Generated Node #0,0: 86:[50, 3, 8] Operation: 51-43=8
Exploring Operation: 51-50=1, Resulting Numbers: [3, 43, 1]
Generated Node #0,1: 86:[3, 43, 1] Operation: 51-50=1
Exploring Operation: 50-3=47, Resulting Numbers: [51, 43, 47]
Generated Node #0,2: 86:[51, 43, 47] Operation: 50-3=47
Exploring Operation: 50-43=7, Resulting Numbers: [51, 3, 7]
Generated Node #0,3: 86:[51, 3, 7] Operation: 50-43=7
Exploring Operation: 51-3=48, Resulting Numbers: [50, 43, 48]
Generated Node #0,4: 86:[50, 43, 48] Operation: 51-3=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[3, 43, 1], Operations: ['51-50=1']
Exploring Operation: 43*1=43, Resulting Numbers: [3, 43]
Generated Node #0,1,0: 86:[3, 43] Operation: 43*1=43
Exploring Operation: 3/1=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 86:[43, 3] Operation: 3/1=3
Exploring Operation: 43/1=43, Resulting Numbers: [3, 43]
Generated Node #0,1,2: 86:[3, 43] Operation: 43/1=43
Exploring Operation: 3*1=3, Resulting Numbers: [43, 3]
Generated Node #0,1,3: 86:[43, 3] Operation: 3*1=3
Exploring Operation: 3-1=2, Resulting Numbers: [43, 2]
Generated Node #0,1,4: 86:[43, 2] Operation: 3-1=2
Moving to Node #0,1,4
Current State: 86:[43, 2], Operations: ['51-50=1', '3-1=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[50, 51, 3, 43], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [3, 43, 1]
Generated Node #0,1: 86:[3, 43, 1] Operation: 51-50=1
Moving to Node #0,1
Current State: 86:[3, 43, 1], Operations: ['51-50=1']
Exploring Operation: 3-1=2, Resulting Numbers: [43, 2]
Generated Node #0,1,4: 86:[43, 2] Operation: 3-1=2
Moving to Node #0,1,4
Current State: 86:[43, 2], Operations: ['51-50=1', '3-1=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
37,
77,
18,
62
] | 34 | [
"37+77=114",
"18+62=80",
"114-80=34"
] | Current State: 34:[37, 77, 18, 62], Operations: []
Exploring Operation: 37+77=114, Resulting Numbers: [18, 62, 114]
Generated Node #2: [18, 62, 114] from Operation: 37+77=114
Current State: 34:[18, 62, 114], Operations: ['37+77=114']
Exploring Operation: 18+62=80, Resulting Numbers: [114, 80]
Generated Node #3: [114, 80] from Operation: 18+62=80
Current State: 34:[114, 80], Operations: ['37+77=114', '18+62=80']
Exploring Operation: 114-80=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[37, 77, 18, 62], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [37, 18, 15]
Generated Node #0,0: 34:[37, 18, 15] Operation: 77-62=15
Exploring Operation: 77-18=59, Resulting Numbers: [37, 62, 59]
Generated Node #0,1: 34:[37, 62, 59] Operation: 77-18=59
Exploring Operation: 62-37=25, Resulting Numbers: [77, 18, 25]
Generated Node #0,2: 34:[77, 18, 25] Operation: 62-37=25
Exploring Operation: 77-37=40, Resulting Numbers: [18, 62, 40]
Generated Node #0,3: 34:[18, 62, 40] Operation: 77-37=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[37, 18, 15], Operations: ['77-62=15']
Exploring Operation: 37-18=19, Resulting Numbers: [15, 19]
Generated Node #0,0,0: 34:[15, 19] Operation: 37-18=19
Exploring Operation: 37-15=22, Resulting Numbers: [18, 22]
Generated Node #0,0,1: 34:[18, 22] Operation: 37-15=22
Exploring Operation: 18+15=33, Resulting Numbers: [37, 33]
Generated Node #0,0,2: 34:[37, 33] Operation: 18+15=33
Exploring Operation: 18-15=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 34:[37, 3] Operation: 18-15=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[15, 19], Operations: ['77-62=15', '37-18=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,34 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[37, 77, 18, 62], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [37, 18, 15]
Generated Node #0,0: 34:[37, 18, 15] Operation: 77-62=15
Moving to Node #0,0
Current State: 34:[37, 18, 15], Operations: ['77-62=15']
Exploring Operation: 37-18=19, Resulting Numbers: [15, 19]
Generated Node #0,0,0: 34:[15, 19] Operation: 37-18=19
Moving to Node #0,0,0
Current State: 34:[15, 19], Operations: ['77-62=15', '37-18=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
43,
16,
44,
14
] | 46 | [
"43*16=688",
"688-44=644",
"644/14=46"
] | Current State: 46:[43, 16, 44, 14], Operations: []
Exploring Operation: 43*16=688, Resulting Numbers: [44, 14, 688]
Generated Node #2: [44, 14, 688] from Operation: 43*16=688
Current State: 46:[44, 14, 688], Operations: ['43*16=688']
Exploring Operation: 688-44=644, Resulting Numbers: [14, 644]
Generated Node #3: [14, 644] from Operation: 688-44=644
Current State: 46:[14, 644], Operations: ['43*16=688', '688-44=644']
Exploring Operation: 644/14=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[43, 16, 44, 14], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [43, 44, 2]
Generated Node #0,0: 46:[43, 44, 2] Operation: 16-14=2
Exploring Operation: 16+14=30, Resulting Numbers: [43, 44, 30]
Generated Node #0,1: 46:[43, 44, 30] Operation: 16+14=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[43, 44, 2], Operations: ['16-14=2']
Exploring Operation: 44-43=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 46:[2, 1] Operation: 44-43=1
Exploring Operation: 43+2=45, Resulting Numbers: [44, 45]
Generated Node #0,0,1: 46:[44, 45] Operation: 43+2=45
Moving to Node #0,0,0
Current State: 46:[2, 1], Operations: ['16-14=2', '44-43=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[44, 45], Operations: ['16-14=2', '43+2=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[43, 44, 30], Operations: ['16+14=30']
Exploring Operation: 43-30=13, Resulting Numbers: [44, 13]
Generated Node #0,1,0: 46:[44, 13] Operation: 43-30=13
Exploring Operation: 44-43=1, Resulting Numbers: [30, 1]
Generated Node #0,1,1: 46:[30, 1] Operation: 44-43=1
Moving to Node #0,1,1
Current State: 46:[30, 1], Operations: ['16+14=30', '44-43=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[44, 13], Operations: ['16+14=30', '43-30=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,46 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 |
[
27,
4,
66,
74
] | 15 | [
"27-4=23",
"74-66=8",
"23-8=15"
] | Current State: 15:[27, 4, 66, 74], Operations: []
Exploring Operation: 27-4=23, Resulting Numbers: [66, 74, 23]
Generated Node #2: [66, 74, 23] from Operation: 27-4=23
Current State: 15:[66, 74, 23], Operations: ['27-4=23']
Exploring Operation: 74-66=8, Resulting Numbers: [23, 8]
Generated Node #3: [23, 8] from Operation: 74-66=8
Current State: 15:[23, 8], Operations: ['27-4=23', '74-66=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[27, 4, 66, 74], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [27, 4, 8]
Generated Node #0,0: 15:[27, 4, 8] Operation: 74-66=8
Exploring Operation: 66-27=39, Resulting Numbers: [4, 74, 39]
Generated Node #0,1: 15:[4, 74, 39] Operation: 66-27=39
Exploring Operation: 74-27=47, Resulting Numbers: [4, 66, 47]
Generated Node #0,2: 15:[4, 66, 47] Operation: 74-27=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[27, 4, 8], Operations: ['74-66=8']
Exploring Operation: 8-4=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 15:[27, 4] Operation: 8-4=4
Exploring Operation: 27-8=19, Resulting Numbers: [4, 19]
Generated Node #0,0,1: 15:[4, 19] Operation: 27-8=19
Exploring Operation: 27-4=23, Resulting Numbers: [8, 23]
Generated Node #0,0,2: 15:[8, 23] Operation: 27-4=23
Moving to Node #0,0,1
Current State: 15:[4, 19], Operations: ['74-66=8', '27-8=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[27, 4, 66, 74], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [27, 4, 8]
Generated Node #0,0: 15:[27, 4, 8] Operation: 74-66=8
Moving to Node #0,0
Current State: 15:[27, 4, 8], Operations: ['74-66=8']
Exploring Operation: 27-8=19, Resulting Numbers: [4, 19]
Generated Node #0,0,1: 15:[4, 19] Operation: 27-8=19
Moving to Node #0,0,1
Current State: 15:[4, 19], Operations: ['74-66=8', '27-8=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
3,
63,
90,
29
] | 53 | [
"3+63=66",
"90+29=119",
"119-66=53"
] | Current State: 53:[3, 63, 90, 29], Operations: []
Exploring Operation: 3+63=66, Resulting Numbers: [90, 29, 66]
Generated Node #2: [90, 29, 66] from Operation: 3+63=66
Current State: 53:[90, 29, 66], Operations: ['3+63=66']
Exploring Operation: 90+29=119, Resulting Numbers: [66, 119]
Generated Node #3: [66, 119] from Operation: 90+29=119
Current State: 53:[66, 119], Operations: ['3+63=66', '90+29=119']
Exploring Operation: 119-66=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[3, 63, 90, 29], Operations: []
Exploring Operation: 90-3=87, Resulting Numbers: [63, 29, 87]
Generated Node #0,0: 53:[63, 29, 87] Operation: 90-3=87
Exploring Operation: 90/3=30, Resulting Numbers: [63, 29, 30]
Generated Node #0,1: 53:[63, 29, 30] Operation: 90/3=30
Exploring Operation: 3+29=32, Resulting Numbers: [63, 90, 32]
Generated Node #0,2: 53:[63, 90, 32] Operation: 3+29=32
Exploring Operation: 63-3=60, Resulting Numbers: [90, 29, 60]
Generated Node #0,3: 53:[90, 29, 60] Operation: 63-3=60
Moving to Node #0,1
Current State: 53:[63, 29, 30], Operations: ['90/3=30']
Exploring Operation: 63-30=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 53:[29, 33] Operation: 63-30=33
Exploring Operation: 63+29=92, Resulting Numbers: [30, 92]
Generated Node #0,1,1: 53:[30, 92] Operation: 63+29=92
Exploring Operation: 29+30=59, Resulting Numbers: [63, 59]
Generated Node #0,1,2: 53:[63, 59] Operation: 29+30=59
Exploring Operation: 63-29=34, Resulting Numbers: [30, 34]
Generated Node #0,1,3: 53:[30, 34] Operation: 63-29=34
Moving to Node #0,2
Current State: 53:[63, 90, 32], Operations: ['3+29=32']
Exploring Operation: 90-63=27, Resulting Numbers: [32, 27]
Generated Node #0,2,0: 53:[32, 27] Operation: 90-63=27
Exploring Operation: 63-32=31, Resulting Numbers: [90, 31]
Generated Node #0,2,1: 53:[90, 31] Operation: 63-32=31
Exploring Operation: 90-32=58, Resulting Numbers: [63, 58]
Generated Node #0,2,2: 53:[63, 58] Operation: 90-32=58
Exploring Operation: 63+32=95, Resulting Numbers: [90, 95]
Generated Node #0,2,3: 53:[90, 95] Operation: 63+32=95
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[63, 58], Operations: ['3+29=32', '90-32=58']
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[32, 27], Operations: ['3+29=32', '90-63=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[90, 31], Operations: ['3+29=32', '63-32=31']
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,53 unequal: No Solution
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[90, 95], Operations: ['3+29=32', '63+32=95']
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,53 unequal: No Solution
Exploring Operation: 90*95=8550, Resulting Numbers: [8550]
8550,53 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,53 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: 53:[63, 29, 87], Operations: ['90-3=87']
Exploring Operation: 87-29=58, Resulting Numbers: [63, 58]
Generated Node #0,0,0: 53:[63, 58] Operation: 87-29=58
Exploring Operation: 87/29=3, Resulting Numbers: [63, 3]
Generated Node #0,0,1: 53:[63, 3] Operation: 87/29=3
Exploring Operation: 63-29=34, Resulting Numbers: [87, 34]
Generated Node #0,0,2: 53:[87, 34] Operation: 63-29=34
Exploring Operation: 87-63=24, Resulting Numbers: [29, 24]
Generated Node #0,0,3: 53:[29, 24] Operation: 87-63=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[63, 58], Operations: ['90-3=87', '87-29=58']
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[87, 34], Operations: ['90-3=87', '63-29=34']
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,53 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[3, 63, 90, 29], Operations: []
Exploring Operation: 90-3=87, Resulting Numbers: [63, 29, 87]
Generated Node #0,0: 53:[63, 29, 87] Operation: 90-3=87
Moving to Node #0,0
Current State: 53:[63, 29, 87], Operations: ['90-3=87']
Exploring Operation: 63-29=34, Resulting Numbers: [87, 34]
Generated Node #0,0,2: 53:[87, 34] Operation: 63-29=34
Moving to Node #0,0,2
Current State: 53:[87, 34], Operations: ['90-3=87', '63-29=34']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
3,
9,
31,
2
] | 74 | [
"3+9=12",
"31*2=62",
"12+62=74"
] | Current State: 74:[3, 9, 31, 2], Operations: []
Exploring Operation: 3+9=12, Resulting Numbers: [31, 2, 12]
Generated Node #2: [31, 2, 12] from Operation: 3+9=12
Current State: 74:[31, 2, 12], Operations: ['3+9=12']
Exploring Operation: 31*2=62, Resulting Numbers: [12, 62]
Generated Node #3: [12, 62] from Operation: 31*2=62
Current State: 74:[12, 62], Operations: ['3+9=12', '31*2=62']
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[3, 9, 31, 2], Operations: []
Exploring Operation: 9/3=3, Resulting Numbers: [31, 2, 3]
Generated Node #0,0: 74:[31, 2, 3] Operation: 9/3=3
Exploring Operation: 9+31=40, Resulting Numbers: [3, 2, 40]
Generated Node #0,1: 74:[3, 2, 40] Operation: 9+31=40
Exploring Operation: 9-2=7, Resulting Numbers: [3, 31, 7]
Generated Node #0,2: 74:[3, 31, 7] Operation: 9-2=7
Exploring Operation: 9-3=6, Resulting Numbers: [31, 2, 6]
Generated Node #0,3: 74:[31, 2, 6] Operation: 9-3=6
Exploring Operation: 3+31=34, Resulting Numbers: [9, 2, 34]
Generated Node #0,4: 74:[9, 2, 34] Operation: 3+31=34
Moving to Node #0,1
Current State: 74:[3, 2, 40], Operations: ['9+31=40']
Exploring Operation: 40-2=38, Resulting Numbers: [3, 38]
Generated Node #0,1,0: 74:[3, 38] Operation: 40-2=38
Exploring Operation: 3+40=43, Resulting Numbers: [2, 43]
Generated Node #0,1,1: 74:[2, 43] Operation: 3+40=43
Exploring Operation: 3-2=1, Resulting Numbers: [40, 1]
Generated Node #0,1,2: 74:[40, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [40, 5]
Generated Node #0,1,3: 74:[40, 5] Operation: 3+2=5
Exploring Operation: 40-3=37, Resulting Numbers: [2, 37]
Generated Node #0,1,4: 74:[2, 37] Operation: 40-3=37
Moving to Node #0,0
Current State: 74:[31, 2, 3], Operations: ['9/3=3']
Exploring Operation: 3-2=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 74:[31, 1] Operation: 3-2=1
Exploring Operation: 31+3=34, Resulting Numbers: [2, 34]
Generated Node #0,0,1: 74:[2, 34] Operation: 31+3=34
Exploring Operation: 31-2=29, Resulting Numbers: [3, 29]
Generated Node #0,0,2: 74:[3, 29] Operation: 31-2=29
Exploring Operation: 31+2=33, Resulting Numbers: [3, 33]
Generated Node #0,0,3: 74:[3, 33] Operation: 31+2=33
Exploring Operation: 31-3=28, Resulting Numbers: [2, 28]
Generated Node #0,0,4: 74:[2, 28] Operation: 31-3=28
Moving to Node #0,3
Current State: 74:[31, 2, 6], Operations: ['9-3=6']
Exploring Operation: 31-2=29, Resulting Numbers: [6, 29]
Generated Node #0,3,0: 74:[6, 29] Operation: 31-2=29
Exploring Operation: 31+6=37, Resulting Numbers: [2, 37]
Generated Node #0,3,1: 74:[2, 37] Operation: 31+6=37
Exploring Operation: 31+2=33, Resulting Numbers: [6, 33]
Generated Node #0,3,2: 74:[6, 33] Operation: 31+2=33
Exploring Operation: 6/2=3, Resulting Numbers: [31, 3]
Generated Node #0,3,3: 74:[31, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [31, 4]
Generated Node #0,3,4: 74:[31, 4] Operation: 6-2=4
Moving to Node #0,4
Current State: 74:[9, 2, 34], Operations: ['3+31=34']
Exploring Operation: 9+2=11, Resulting Numbers: [34, 11]
Generated Node #0,4,0: 74:[34, 11] Operation: 9+2=11
Exploring Operation: 34-9=25, Resulting Numbers: [2, 25]
Generated Node #0,4,1: 74:[2, 25] Operation: 34-9=25
Exploring Operation: 9+34=43, Resulting Numbers: [2, 43]
Generated Node #0,4,2: 74:[2, 43] Operation: 9+34=43
Exploring Operation: 9-2=7, Resulting Numbers: [34, 7]
Generated Node #0,4,3: 74:[34, 7] Operation: 9-2=7
Exploring Operation: 2+34=36, Resulting Numbers: [9, 36]
Generated Node #0,4,4: 74:[9, 36] Operation: 2+34=36
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 74:[2, 43], Operations: ['3+31=34', '9+34=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 74:[34, 7], Operations: ['3+31=34', '9-2=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,74 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 74:[9, 36], Operations: ['3+31=34', '2+34=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,74 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 74:[34, 11], Operations: ['3+31=34', '9+2=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,74 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[2, 25], Operations: ['3+31=34', '34-9=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,74 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: 74:[3, 31, 7], Operations: ['9-2=7']
Exploring Operation: 3+31=34, Resulting Numbers: [7, 34]
Generated Node #0,2,0: 74:[7, 34] Operation: 3+31=34
Exploring Operation: 7-3=4, Resulting Numbers: [31, 4]
Generated Node #0,2,1: 74:[31, 4] Operation: 7-3=4
Exploring Operation: 3+7=10, Resulting Numbers: [31, 10]
Generated Node #0,2,2: 74:[31, 10] Operation: 3+7=10
Exploring Operation: 31+7=38, Resulting Numbers: [3, 38]
Generated Node #0,2,3: 74:[3, 38] Operation: 31+7=38
Exploring Operation: 31-3=28, Resulting Numbers: [7, 28]
Generated Node #0,2,4: 74:[7, 28] Operation: 31-3=28
Moving to Node #0,1,4
Current State: 74:[2, 37], Operations: ['9+31=40', '40-3=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[3, 9, 31, 2], Operations: []
Exploring Operation: 9+31=40, Resulting Numbers: [3, 2, 40]
Generated Node #0,1: 74:[3, 2, 40] Operation: 9+31=40
Moving to Node #0,1
Current State: 74:[3, 2, 40], Operations: ['9+31=40']
Exploring Operation: 40-3=37, Resulting Numbers: [2, 37]
Generated Node #0,1,4: 74:[2, 37] Operation: 40-3=37
Moving to Node #0,1,4
Current State: 74:[2, 37], Operations: ['9+31=40', '40-3=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
34,
65,
88,
9
] | 66 | [
"65-34=31",
"88+9=97",
"97-31=66"
] | Current State: 66:[34, 65, 88, 9], Operations: []
Exploring Operation: 65-34=31, Resulting Numbers: [88, 9, 31]
Generated Node #2: [88, 9, 31] from Operation: 65-34=31
Current State: 66:[88, 9, 31], Operations: ['65-34=31']
Exploring Operation: 88+9=97, Resulting Numbers: [31, 97]
Generated Node #3: [31, 97] from Operation: 88+9=97
Current State: 66:[31, 97], Operations: ['65-34=31', '88+9=97']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[34, 65, 88, 9], Operations: []
Exploring Operation: 88-65=23, Resulting Numbers: [34, 9, 23]
Generated Node #0,0: 66:[34, 9, 23] Operation: 88-65=23
Exploring Operation: 88-9=79, Resulting Numbers: [34, 65, 79]
Generated Node #0,1: 66:[34, 65, 79] Operation: 88-9=79
Exploring Operation: 65-34=31, Resulting Numbers: [88, 9, 31]
Generated Node #0,2: 66:[88, 9, 31] Operation: 65-34=31
Exploring Operation: 88-34=54, Resulting Numbers: [65, 9, 54]
Generated Node #0,3: 66:[65, 9, 54] Operation: 88-34=54
Moving to Node #0,0
Current State: 66:[34, 9, 23], Operations: ['88-65=23']
Exploring Operation: 34-23=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 66:[9, 11] Operation: 34-23=11
Exploring Operation: 9+23=32, Resulting Numbers: [34, 32]
Generated Node #0,0,1: 66:[34, 32] Operation: 9+23=32
Exploring Operation: 34-9=25, Resulting Numbers: [23, 25]
Generated Node #0,0,2: 66:[23, 25] Operation: 34-9=25
Exploring Operation: 23-9=14, Resulting Numbers: [34, 14]
Generated Node #0,0,3: 66:[34, 14] Operation: 23-9=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[9, 11], Operations: ['88-65=23', '34-23=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[34, 32], Operations: ['88-65=23', '9+23=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[34, 65, 88, 9], Operations: []
Exploring Operation: 88-65=23, Resulting Numbers: [34, 9, 23]
Generated Node #0,0: 66:[34, 9, 23] Operation: 88-65=23
Moving to Node #0,0
Current State: 66:[34, 9, 23], Operations: ['88-65=23']
Exploring Operation: 9+23=32, Resulting Numbers: [34, 32]
Generated Node #0,0,1: 66:[34, 32] Operation: 9+23=32
Moving to Node #0,0,1
Current State: 66:[34, 32], Operations: ['88-65=23', '9+23=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
4,
13,
87,
46
] | 71 | [
"13+87=100",
"100/4=25",
"46+25=71"
] | Current State: 71:[4, 13, 87, 46], Operations: []
Exploring Operation: 13+87=100, Resulting Numbers: [4, 46, 100]
Generated Node #2: [4, 46, 100] from Operation: 13+87=100
Current State: 71:[4, 46, 100], Operations: ['13+87=100']
Exploring Operation: 100/4=25, Resulting Numbers: [46, 25]
Generated Node #3: [46, 25] from Operation: 100/4=25
Current State: 71:[46, 25], Operations: ['13+87=100', '100/4=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[4, 13, 87, 46], Operations: []
Exploring Operation: 4+13=17, Resulting Numbers: [87, 46, 17]
Generated Node #0,0: 71:[87, 46, 17] Operation: 4+13=17
Exploring Operation: 87-4=83, Resulting Numbers: [13, 46, 83]
Generated Node #0,1: 71:[13, 46, 83] Operation: 87-4=83
Exploring Operation: 4*13=52, Resulting Numbers: [87, 46, 52]
Generated Node #0,2: 71:[87, 46, 52] Operation: 4*13=52
Moving to Node #0,2
Current State: 71:[87, 46, 52], Operations: ['4*13=52']
Exploring Operation: 87-46=41, Resulting Numbers: [52, 41]
Generated Node #0,2,0: 71:[52, 41] Operation: 87-46=41
Exploring Operation: 87-52=35, Resulting Numbers: [46, 35]
Generated Node #0,2,1: 71:[46, 35] Operation: 87-52=35
Exploring Operation: 46+52=98, Resulting Numbers: [87, 98]
Generated Node #0,2,2: 71:[87, 98] Operation: 46+52=98
Moving to Node #0,0
Current State: 71:[87, 46, 17], Operations: ['4+13=17']
Exploring Operation: 87-17=70, Resulting Numbers: [46, 70]
Generated Node #0,0,0: 71:[46, 70] Operation: 87-17=70
Exploring Operation: 46+17=63, Resulting Numbers: [87, 63]
Generated Node #0,0,1: 71:[87, 63] Operation: 46+17=63
Exploring Operation: 87+17=104, Resulting Numbers: [46, 104]
Generated Node #0,0,2: 71:[46, 104] Operation: 87+17=104
Moving to Node #0,1
Current State: 71:[13, 46, 83], Operations: ['87-4=83']
Exploring Operation: 13+46=59, Resulting Numbers: [83, 59]
Generated Node #0,1,0: 71:[83, 59] Operation: 13+46=59
Exploring Operation: 83-13=70, Resulting Numbers: [46, 70]
Generated Node #0,1,1: 71:[46, 70] Operation: 83-13=70
Exploring Operation: 46-13=33, Resulting Numbers: [83, 33]
Generated Node #0,1,2: 71:[83, 33] Operation: 46-13=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[83, 59], Operations: ['87-4=83', '13+46=59']
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 83*59=4897, Resulting Numbers: [4897]
4897,71 unequal: No Solution
Exploring Operation: 83+59=142, Resulting Numbers: [142]
142,71 unequal: No Solution
No 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: 71:[46, 70], Operations: ['87-4=83', '83-13=70']
Exploring Operation: 46*70=3220, Resulting Numbers: [3220]
3220,71 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 46+70=116, Resulting Numbers: [116]
116,71 unequal: No Solution
No 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: 71:[83, 33], Operations: ['87-4=83', '46-13=33']
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,71 unequal: No Solution
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 71:[87, 63], Operations: ['4+13=17', '46+17=63']
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[46, 70], Operations: ['4+13=17', '87-17=70']
Exploring Operation: 46*70=3220, Resulting Numbers: [3220]
3220,71 unequal: No Solution
Exploring Operation: 46+70=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[87, 98], Operations: ['4*13=52', '46+52=98']
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 87*98=8526, Resulting Numbers: [8526]
8526,71 unequal: No Solution
Exploring Operation: 87+98=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[52, 41], Operations: ['4*13=52', '87-46=41']
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[46, 104], Operations: ['4+13=17', '87+17=104']
Exploring Operation: 104-46=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 46*104=4784, Resulting Numbers: [4784]
4784,71 unequal: No Solution
Exploring Operation: 46+104=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[46, 35], Operations: ['4*13=52', '87-52=35']
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,71 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
96,
35,
58,
3
] | 43 | [
"96+35=131",
"58*3=174",
"174-131=43"
] | Current State: 43:[96, 35, 58, 3], Operations: []
Exploring Operation: 96+35=131, Resulting Numbers: [58, 3, 131]
Generated Node #2: [58, 3, 131] from Operation: 96+35=131
Current State: 43:[58, 3, 131], Operations: ['96+35=131']
Exploring Operation: 58*3=174, Resulting Numbers: [131, 174]
Generated Node #3: [131, 174] from Operation: 58*3=174
Current State: 43:[131, 174], Operations: ['96+35=131', '58*3=174']
Exploring Operation: 174-131=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[96, 35, 58, 3], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [35, 58, 32]
Generated Node #0,0: 43:[35, 58, 32] Operation: 96/3=32
Exploring Operation: 96-58=38, Resulting Numbers: [35, 3, 38]
Generated Node #0,1: 43:[35, 3, 38] Operation: 96-58=38
Moving to Node #0,0
Current State: 43:[35, 58, 32], Operations: ['96/3=32']
Exploring Operation: 58-35=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 43:[32, 23] Operation: 58-35=23
Exploring Operation: 58-32=26, Resulting Numbers: [35, 26]
Generated Node #0,0,1: 43:[35, 26] Operation: 58-32=26
Moving to Node #0,1
Current State: 43:[35, 3, 38], Operations: ['96-58=38']
Exploring Operation: 3+38=41, Resulting Numbers: [35, 41]
Generated Node #0,1,0: 43:[35, 41] Operation: 3+38=41
Exploring Operation: 35+3=38, Resulting Numbers: [38, 38]
Generated Node #0,1,1: 43:[38, 38] Operation: 35+3=38
Moving to Node #0,1,0
Current State: 43:[35, 41], Operations: ['96-58=38', '3+38=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[38, 38], Operations: ['96-58=38', '35+3=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[35, 26], Operations: ['96/3=32', '58-32=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[32, 23], Operations: ['96/3=32', '58-35=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
90,
56,
82,
25
] | 89 | [
"90+56=146",
"82-25=57",
"146-57=89"
] | Current State: 89:[90, 56, 82, 25], Operations: []
Exploring Operation: 90+56=146, Resulting Numbers: [82, 25, 146]
Generated Node #2: [82, 25, 146] from Operation: 90+56=146
Current State: 89:[82, 25, 146], Operations: ['90+56=146']
Exploring Operation: 82-25=57, Resulting Numbers: [146, 57]
Generated Node #3: [146, 57] from Operation: 82-25=57
Current State: 89:[146, 57], Operations: ['90+56=146', '82-25=57']
Exploring Operation: 146-57=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[90, 56, 82, 25], Operations: []
Exploring Operation: 82+25=107, Resulting Numbers: [90, 56, 107]
Generated Node #0,0: 89:[90, 56, 107] Operation: 82+25=107
Exploring Operation: 90+25=115, Resulting Numbers: [56, 82, 115]
Generated Node #0,1: 89:[56, 82, 115] Operation: 90+25=115
Exploring Operation: 56+25=81, Resulting Numbers: [90, 82, 81]
Generated Node #0,2: 89:[90, 82, 81] Operation: 56+25=81
Exploring Operation: 90-25=65, Resulting Numbers: [56, 82, 65]
Generated Node #0,3: 89:[56, 82, 65] Operation: 90-25=65
Exploring Operation: 56-25=31, Resulting Numbers: [90, 82, 31]
Generated Node #0,4: 89:[90, 82, 31] Operation: 56-25=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[90, 82, 81], Operations: ['56+25=81']
Exploring Operation: 90-82=8, Resulting Numbers: [81, 8]
Generated Node #0,2,0: 89:[81, 8] Operation: 90-82=8
Exploring Operation: 82-81=1, Resulting Numbers: [90, 1]
Generated Node #0,2,1: 89:[90, 1] Operation: 82-81=1
Exploring Operation: 82+81=163, Resulting Numbers: [90, 163]
Generated Node #0,2,2: 89:[90, 163] Operation: 82+81=163
Exploring Operation: 90+81=171, Resulting Numbers: [82, 171]
Generated Node #0,2,3: 89:[82, 171] Operation: 90+81=171
Exploring Operation: 90-81=9, Resulting Numbers: [82, 9]
Generated Node #0,2,4: 89:[82, 9] Operation: 90-81=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[90, 163], Operations: ['56+25=81', '82+81=163']
Exploring Operation: 163-90=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 90*163=14670, Resulting Numbers: [14670]
14670,89 unequal: No Solution
Exploring Operation: 90+163=253, Resulting Numbers: [253]
253,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 89:[82, 9], Operations: ['56+25=81', '90-81=9']
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,89 unequal: No Solution
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[81, 8], Operations: ['56+25=81', '90-82=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[90, 56, 82, 25], Operations: []
Exploring Operation: 56+25=81, Resulting Numbers: [90, 82, 81]
Generated Node #0,2: 89:[90, 82, 81] Operation: 56+25=81
Moving to Node #0,2
Current State: 89:[90, 82, 81], Operations: ['56+25=81']
Exploring Operation: 90-82=8, Resulting Numbers: [81, 8]
Generated Node #0,2,0: 89:[81, 8] Operation: 90-82=8
Moving to Node #0,2,0
Current State: 89:[81, 8], Operations: ['56+25=81', '90-82=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
90,
9,
11,
85
] | 15 | [
"90-9=81",
"11+85=96",
"96-81=15"
] | Current State: 15:[90, 9, 11, 85], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [11, 85, 81]
Generated Node #2: [11, 85, 81] from Operation: 90-9=81
Current State: 15:[11, 85, 81], Operations: ['90-9=81']
Exploring Operation: 11+85=96, Resulting Numbers: [81, 96]
Generated Node #3: [81, 96] from Operation: 11+85=96
Current State: 15:[81, 96], Operations: ['90-9=81', '11+85=96']
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[90, 9, 11, 85], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [9, 85, 79]
Generated Node #0,0: 15:[9, 85, 79] Operation: 90-11=79
Exploring Operation: 90-85=5, Resulting Numbers: [9, 11, 5]
Generated Node #0,1: 15:[9, 11, 5] Operation: 90-85=5
Exploring Operation: 90/9=10, Resulting Numbers: [11, 85, 10]
Generated Node #0,2: 15:[11, 85, 10] Operation: 90/9=10
Exploring Operation: 85-11=74, Resulting Numbers: [90, 9, 74]
Generated Node #0,3: 15:[90, 9, 74] Operation: 85-11=74
Moving to Node #0,1
Current State: 15:[9, 11, 5], Operations: ['90-85=5']
Exploring Operation: 11-9=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 15:[5, 2] Operation: 11-9=2
Exploring Operation: 9-5=4, Resulting Numbers: [11, 4]
Generated Node #0,1,1: 15:[11, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [11, 14]
Generated Node #0,1,2: 15:[11, 14] Operation: 9+5=14
Exploring Operation: 9+11=20, Resulting Numbers: [5, 20]
Generated Node #0,1,3: 15:[5, 20] Operation: 9+11=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[5, 2], Operations: ['90-85=5', '11-9=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[11, 4], Operations: ['90-85=5', '9-5=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[90, 9, 11, 85], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [9, 11, 5]
Generated Node #0,1: 15:[9, 11, 5] Operation: 90-85=5
Moving to Node #0,1
Current State: 15:[9, 11, 5], Operations: ['90-85=5']
Exploring Operation: 9-5=4, Resulting Numbers: [11, 4]
Generated Node #0,1,1: 15:[11, 4] Operation: 9-5=4
Moving to Node #0,1,1
Current State: 15:[11, 4], Operations: ['90-85=5', '9-5=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
62,
76,
27,
53
] | 66 | [
"76-62=14",
"27+53=80",
"80-14=66"
] | Current State: 66:[62, 76, 27, 53], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [27, 53, 14]
Generated Node #2: [27, 53, 14] from Operation: 76-62=14
Current State: 66:[27, 53, 14], Operations: ['76-62=14']
Exploring Operation: 27+53=80, Resulting Numbers: [14, 80]
Generated Node #3: [14, 80] from Operation: 27+53=80
Current State: 66:[14, 80], Operations: ['76-62=14', '27+53=80']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[62, 76, 27, 53], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [62, 76, 26]
Generated Node #0,0: 66:[62, 76, 26] Operation: 53-27=26
Exploring Operation: 76-53=23, Resulting Numbers: [62, 27, 23]
Generated Node #0,1: 66:[62, 27, 23] Operation: 76-53=23
Exploring Operation: 62-53=9, Resulting Numbers: [76, 27, 9]
Generated Node #0,2: 66:[76, 27, 9] Operation: 62-53=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[62, 27, 23], Operations: ['76-53=23']
Exploring Operation: 62-27=35, Resulting Numbers: [23, 35]
Generated Node #0,1,0: 66:[23, 35] Operation: 62-27=35
Exploring Operation: 27-23=4, Resulting Numbers: [62, 4]
Generated Node #0,1,1: 66:[62, 4] Operation: 27-23=4
Exploring Operation: 62-23=39, Resulting Numbers: [27, 39]
Generated Node #0,1,2: 66:[27, 39] Operation: 62-23=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[23, 35], Operations: ['76-53=23', '62-27=35']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,66 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[62, 4], Operations: ['76-53=23', '27-23=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[62, 76, 27, 53], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [62, 27, 23]
Generated Node #0,1: 66:[62, 27, 23] Operation: 76-53=23
Moving to Node #0,1
Current State: 66:[62, 27, 23], Operations: ['76-53=23']
Exploring Operation: 27-23=4, Resulting Numbers: [62, 4]
Generated Node #0,1,1: 66:[62, 4] Operation: 27-23=4
Moving to Node #0,1,1
Current State: 66:[62, 4], Operations: ['76-53=23', '27-23=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
18,
80,
58,
36
] | 24 | [
"36/18=2",
"80-58=22",
"2+22=24"
] | Current State: 24:[18, 80, 58, 36], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [80, 58, 2]
Generated Node #2: [80, 58, 2] from Operation: 36/18=2
Current State: 24:[80, 58, 2], Operations: ['36/18=2']
Exploring Operation: 80-58=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 80-58=22
Current State: 24:[2, 22], Operations: ['36/18=2', '80-58=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[18, 80, 58, 36], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [18, 58, 44]
Generated Node #0,0: 24:[18, 58, 44] Operation: 80-36=44
Exploring Operation: 58-36=22, Resulting Numbers: [18, 80, 22]
Generated Node #0,1: 24:[18, 80, 22] Operation: 58-36=22
Exploring Operation: 80-18=62, Resulting Numbers: [58, 36, 62]
Generated Node #0,2: 24:[58, 36, 62] Operation: 80-18=62
Exploring Operation: 58-18=40, Resulting Numbers: [80, 36, 40]
Generated Node #0,3: 24:[80, 36, 40] Operation: 58-18=40
Exploring Operation: 80-58=22, Resulting Numbers: [18, 36, 22]
Generated Node #0,4: 24:[18, 36, 22] Operation: 80-58=22
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[18, 36, 22], Operations: ['80-58=22']
Exploring Operation: 36/18=2, Resulting Numbers: [22, 2]
Generated Node #0,4,0: 24:[22, 2] Operation: 36/18=2
Exploring Operation: 36-22=14, Resulting Numbers: [18, 14]
Generated Node #0,4,1: 24:[18, 14] Operation: 36-22=14
Exploring Operation: 18+22=40, Resulting Numbers: [36, 40]
Generated Node #0,4,2: 24:[36, 40] Operation: 18+22=40
Exploring Operation: 36-18=18, Resulting Numbers: [22, 18]
Generated Node #0,4,3: 24:[22, 18] Operation: 36-18=18
Exploring Operation: 22-18=4, Resulting Numbers: [36, 4]
Generated Node #0,4,4: 24:[36, 4] Operation: 22-18=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 24:[22, 2], Operations: ['80-58=22', '36/18=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[18, 80, 58, 36], Operations: []
Exploring Operation: 80-58=22, Resulting Numbers: [18, 36, 22]
Generated Node #0,4: 24:[18, 36, 22] Operation: 80-58=22
Moving to Node #0,4
Current State: 24:[18, 36, 22], Operations: ['80-58=22']
Exploring Operation: 36/18=2, Resulting Numbers: [22, 2]
Generated Node #0,4,0: 24:[22, 2] Operation: 36/18=2
Moving to Node #0,4,0
Current State: 24:[22, 2], Operations: ['80-58=22', '36/18=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
35,
36,
21,
32
] | 12 | [
"36-35=1",
"32-21=11",
"1+11=12"
] | Current State: 12:[35, 36, 21, 32], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [21, 32, 1]
Generated Node #2: [21, 32, 1] from Operation: 36-35=1
Current State: 12:[21, 32, 1], Operations: ['36-35=1']
Exploring Operation: 32-21=11, Resulting Numbers: [1, 11]
Generated Node #3: [1, 11] from Operation: 32-21=11
Current State: 12:[1, 11], Operations: ['36-35=1', '32-21=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[35, 36, 21, 32], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [21, 32, 1]
Generated Node #0,0: 12:[21, 32, 1] Operation: 36-35=1
Exploring Operation: 36-32=4, Resulting Numbers: [35, 21, 4]
Generated Node #0,1: 12:[35, 21, 4] Operation: 36-32=4
Exploring Operation: 35-32=3, Resulting Numbers: [36, 21, 3]
Generated Node #0,2: 12:[36, 21, 3] Operation: 35-32=3
Exploring Operation: 35-21=14, Resulting Numbers: [36, 32, 14]
Generated Node #0,3: 12:[36, 32, 14] Operation: 35-21=14
Moving to Node #0,0
Current State: 12:[21, 32, 1], Operations: ['36-35=1']
Exploring Operation: 21-1=20, Resulting Numbers: [32, 20]
Generated Node #0,0,0: 12:[32, 20] Operation: 21-1=20
Exploring Operation: 32-1=31, Resulting Numbers: [21, 31]
Generated Node #0,0,1: 12:[21, 31] Operation: 32-1=31
Exploring Operation: 32-21=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 12:[1, 11] Operation: 32-21=11
Exploring Operation: 21*1=21, Resulting Numbers: [32, 21]
Generated Node #0,0,3: 12:[32, 21] Operation: 21*1=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[1, 11], Operations: ['36-35=1', '32-21=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[35, 36, 21, 32], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [21, 32, 1]
Generated Node #0,0: 12:[21, 32, 1] Operation: 36-35=1
Moving to Node #0,0
Current State: 12:[21, 32, 1], Operations: ['36-35=1']
Exploring Operation: 32-21=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 12:[1, 11] Operation: 32-21=11
Moving to Node #0,0,2
Current State: 12:[1, 11], Operations: ['36-35=1', '32-21=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
37,
73,
43,
89
] | 27 | [
"43-37=6",
"73+89=162",
"162/6=27"
] | Current State: 27:[37, 73, 43, 89], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [73, 89, 6]
Generated Node #2: [73, 89, 6] from Operation: 43-37=6
Current State: 27:[73, 89, 6], Operations: ['43-37=6']
Exploring Operation: 73+89=162, Resulting Numbers: [6, 162]
Generated Node #3: [6, 162] from Operation: 73+89=162
Current State: 27:[6, 162], Operations: ['43-37=6', '73+89=162']
Exploring Operation: 162/6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[37, 73, 43, 89], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [37, 43, 16]
Generated Node #0,0: 27:[37, 43, 16] Operation: 89-73=16
Exploring Operation: 73-43=30, Resulting Numbers: [37, 89, 30]
Generated Node #0,1: 27:[37, 89, 30] Operation: 73-43=30
Exploring Operation: 89-43=46, Resulting Numbers: [37, 73, 46]
Generated Node #0,2: 27:[37, 73, 46] Operation: 89-43=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[37, 43, 16], Operations: ['89-73=16']
Exploring Operation: 37-16=21, Resulting Numbers: [43, 21]
Generated Node #0,0,0: 27:[43, 21] Operation: 37-16=21
Exploring Operation: 43-37=6, Resulting Numbers: [16, 6]
Generated Node #0,0,1: 27:[16, 6] Operation: 43-37=6
Exploring Operation: 43-16=27, Resulting Numbers: [37, 27]
Generated Node #0,0,2: 27:[37, 27] Operation: 43-16=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[16, 6], Operations: ['89-73=16', '43-37=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[37, 27], Operations: ['89-73=16', '43-16=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[43, 21], Operations: ['89-73=16', '37-16=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[37, 89, 30], Operations: ['73-43=30']
Exploring Operation: 37-30=7, Resulting Numbers: [89, 7]
Generated Node #0,1,0: 27:[89, 7] Operation: 37-30=7
Exploring Operation: 89-37=52, Resulting Numbers: [30, 52]
Generated Node #0,1,1: 27:[30, 52] Operation: 89-37=52
Exploring Operation: 89-30=59, Resulting Numbers: [37, 59]
Generated Node #0,1,2: 27:[37, 59] Operation: 89-30=59
Moving to Node #0,1,1
Current State: 27:[30, 52], Operations: ['73-43=30', '89-37=52']
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[37, 59], Operations: ['73-43=30', '89-30=59']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 37*59=2183, Resulting Numbers: [2183]
2183,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[89, 7], Operations: ['73-43=30', '37-30=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,27 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[37, 73, 46], Operations: ['89-43=46']
Exploring Operation: 73-46=27, Resulting Numbers: [37, 27]
Generated Node #0,2,0: 27:[37, 27] Operation: 73-46=27
Exploring Operation: 73-37=36, Resulting Numbers: [46, 36]
Generated Node #0,2,1: 27:[46, 36] Operation: 73-37=36
Exploring Operation: 46-37=9, Resulting Numbers: [73, 9]
Generated Node #0,2,2: 27:[73, 9] Operation: 46-37=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[37, 27], Operations: ['89-43=46', '73-46=27']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,27 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[46, 36], Operations: ['89-43=46', '73-37=36']
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,27 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[73, 9], Operations: ['89-43=46', '46-37=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
26,
31,
19,
47
] | 57 | [
"31+47=78",
"78/26=3",
"19*3=57"
] | Current State: 57:[26, 31, 19, 47], Operations: []
Exploring Operation: 31+47=78, Resulting Numbers: [26, 19, 78]
Generated Node #2: [26, 19, 78] from Operation: 31+47=78
Current State: 57:[26, 19, 78], Operations: ['31+47=78']
Exploring Operation: 78/26=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 78/26=3
Current State: 57:[19, 3], Operations: ['31+47=78', '78/26=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[26, 31, 19, 47], Operations: []
Exploring Operation: 26+31=57, Resulting Numbers: [19, 47, 57]
Generated Node #0,0: 57:[19, 47, 57] Operation: 26+31=57
Exploring Operation: 31-26=5, Resulting Numbers: [19, 47, 5]
Generated Node #0,1: 57:[19, 47, 5] Operation: 31-26=5
Exploring Operation: 47-26=21, Resulting Numbers: [31, 19, 21]
Generated Node #0,2: 57:[31, 19, 21] Operation: 47-26=21
Exploring Operation: 47-31=16, Resulting Numbers: [26, 19, 16]
Generated Node #0,3: 57:[26, 19, 16] Operation: 47-31=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[19, 47, 57], Operations: ['26+31=57']
Exploring Operation: 57-47=10, Resulting Numbers: [19, 10]
Generated Node #0,0,0: 57:[19, 10] Operation: 57-47=10
Exploring Operation: 19+47=66, Resulting Numbers: [57, 66]
Generated Node #0,0,1: 57:[57, 66] Operation: 19+47=66
Exploring Operation: 47-19=28, Resulting Numbers: [57, 28]
Generated Node #0,0,2: 57:[57, 28] Operation: 47-19=28
Exploring Operation: 57/19=3, Resulting Numbers: [47, 3]
Generated Node #0,0,3: 57:[47, 3] Operation: 57/19=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[19, 10], Operations: ['26+31=57', '57-47=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,57 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[57, 66], Operations: ['26+31=57', '19+47=66']
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,57 unequal: No Solution
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,57 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[57, 28], Operations: ['26+31=57', '47-19=28']
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,57 unequal: No Solution
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[47, 3], Operations: ['26+31=57', '57/19=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[26, 19, 16], Operations: ['47-31=16']
Exploring Operation: 19-16=3, Resulting Numbers: [26, 3]
Generated Node #0,3,0: 57:[26, 3] Operation: 19-16=3
Exploring Operation: 26+19=45, Resulting Numbers: [16, 45]
Generated Node #0,3,1: 57:[16, 45] Operation: 26+19=45
Exploring Operation: 26-16=10, Resulting Numbers: [19, 10]
Generated Node #0,3,2: 57:[19, 10] Operation: 26-16=10
Exploring Operation: 26-19=7, Resulting Numbers: [16, 7]
Generated Node #0,3,3: 57:[16, 7] Operation: 26-19=7
Moving to Node #0,3,0
Current State: 57:[26, 3], Operations: ['47-31=16', '19-16=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[16, 7], Operations: ['47-31=16', '26-19=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[19, 10], Operations: ['47-31=16', '26-16=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,57 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[16, 45], Operations: ['47-31=16', '26+19=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,57 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[19, 47, 5], Operations: ['31-26=5']
Exploring Operation: 47-19=28, Resulting Numbers: [5, 28]
Generated Node #0,1,0: 57:[5, 28] Operation: 47-19=28
Exploring Operation: 47+5=52, Resulting Numbers: [19, 52]
Generated Node #0,1,1: 57:[19, 52] Operation: 47+5=52
Exploring Operation: 19+5=24, Resulting Numbers: [47, 24]
Generated Node #0,1,2: 57:[47, 24] Operation: 19+5=24
Exploring Operation: 19+47=66, Resulting Numbers: [5, 66]
Generated Node #0,1,3: 57:[5, 66] Operation: 19+47=66
Moving to Node #0,1,1
Current State: 57:[19, 52], Operations: ['31-26=5', '47+5=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,57 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[5, 66], Operations: ['31-26=5', '19+47=66']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 5*66=330, Resulting Numbers: [330]
330,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[5, 28], Operations: ['31-26=5', '47-19=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[47, 24], Operations: ['31-26=5', '19+5=24']
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,57 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[31, 19, 21], Operations: ['47-26=21']
Exploring Operation: 31-19=12, Resulting Numbers: [21, 12]
Generated Node #0,2,0: 57:[21, 12] Operation: 31-19=12
Exploring Operation: 31+21=52, Resulting Numbers: [19, 52]
Generated Node #0,2,1: 57:[19, 52] Operation: 31+21=52
Exploring Operation: 31+19=50, Resulting Numbers: [21, 50]
Generated Node #0,2,2: 57:[21, 50] Operation: 31+19=50
Exploring Operation: 31-21=10, Resulting Numbers: [19, 10]
Generated Node #0,2,3: 57:[19, 10] Operation: 31-21=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[19, 52], Operations: ['47-26=21', '31+21=52']
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,57 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[19, 10], Operations: ['47-26=21', '31-21=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[21, 12], Operations: ['47-26=21', '31-19=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[21, 50], Operations: ['47-26=21', '31+19=50']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
97,
16,
16
] | 89 | [
"97-8=89",
"16-16=0",
"89+0=89"
] | Current State: 89:[8, 97, 16, 16], Operations: []
Exploring Operation: 97-8=89, Resulting Numbers: [16, 16, 89]
Generated Node #2: [16, 16, 89] from Operation: 97-8=89
Current State: 89:[16, 16, 89], Operations: ['97-8=89']
Exploring Operation: 16-16=0, Resulting Numbers: [89, 0]
Generated Node #3: [89, 0] from Operation: 16-16=0
Current State: 89:[89, 0], Operations: ['97-8=89', '16-16=0']
Exploring Operation: 89+0=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[8, 97, 16, 16], Operations: []
Exploring Operation: 97-8=89, Resulting Numbers: [16, 16, 89]
Generated Node #0,0: 89:[16, 16, 89] Operation: 97-8=89
Exploring Operation: 8*16=128, Resulting Numbers: [97, 16, 128]
Generated Node #0,1: 89:[97, 16, 128] Operation: 8*16=128
Exploring Operation: 8*16=128, Resulting Numbers: [97, 16, 128]
Generated Node #0,2: 89:[97, 16, 128] Operation: 8*16=128
Moving to Node #0,1
Current State: 89:[97, 16, 128], Operations: ['8*16=128']
Exploring Operation: 97+16=113, Resulting Numbers: [128, 113]
Generated Node #0,1,0: 89:[128, 113] Operation: 97+16=113
Exploring Operation: 97-16=81, Resulting Numbers: [128, 81]
Generated Node #0,1,1: 89:[128, 81] Operation: 97-16=81
Exploring Operation: 128-16=112, Resulting Numbers: [97, 112]
Generated Node #0,1,2: 89:[97, 112] Operation: 128-16=112
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[97, 112], Operations: ['8*16=128', '128-16=112']
Exploring Operation: 97*112=10864, Resulting Numbers: [10864]
10864,89 unequal: No Solution
Exploring Operation: 112-97=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 97+112=209, Resulting Numbers: [209]
209,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[128, 81], Operations: ['8*16=128', '97-16=81']
Exploring Operation: 128*81=10368, Resulting Numbers: [10368]
10368,89 unequal: No Solution
Exploring Operation: 128+81=209, Resulting Numbers: [209]
209,89 unequal: No Solution
Exploring Operation: 128-81=47, Resulting Numbers: [47]
47,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[128, 113], Operations: ['8*16=128', '97+16=113']
Exploring Operation: 128*113=14464, Resulting Numbers: [14464]
14464,89 unequal: No Solution
Exploring Operation: 128-113=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 128+113=241, Resulting Numbers: [241]
241,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 89:[97, 16, 128], Operations: ['8*16=128']
Exploring Operation: 128-16=112, Resulting Numbers: [97, 112]
Generated Node #0,2,0: 89:[97, 112] Operation: 128-16=112
Exploring Operation: 97+16=113, Resulting Numbers: [128, 113]
Generated Node #0,2,1: 89:[128, 113] Operation: 97+16=113
Exploring Operation: 97-16=81, Resulting Numbers: [128, 81]
Generated Node #0,2,2: 89:[128, 81] Operation: 97-16=81
Moving to Node #0,0
Current State: 89:[16, 16, 89], Operations: ['97-8=89']
Exploring Operation: 16-16=0, Resulting Numbers: [89, 0]
Generated Node #0,0,0: 89:[89, 0] Operation: 16-16=0
Exploring Operation: 16+16=32, Resulting Numbers: [89, 32]
Generated Node #0,0,1: 89:[89, 32] Operation: 16+16=32
Exploring Operation: 16/16=1, Resulting Numbers: [89, 1]
Generated Node #0,0,2: 89:[89, 1] Operation: 16/16=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[89, 32], Operations: ['97-8=89', '16+16=32']
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,89 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[89, 1], Operations: ['97-8=89', '16/16=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[8, 97, 16, 16], Operations: []
Exploring Operation: 97-8=89, Resulting Numbers: [16, 16, 89]
Generated Node #0,0: 89:[16, 16, 89] Operation: 97-8=89
Moving to Node #0,0
Current State: 89:[16, 16, 89], Operations: ['97-8=89']
Exploring Operation: 16/16=1, Resulting Numbers: [89, 1]
Generated Node #0,0,2: 89:[89, 1] Operation: 16/16=1
Moving to Node #0,0,2
Current State: 89:[89, 1], Operations: ['97-8=89', '16/16=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
18,
30,
34,
26
] | 20 | [
"30-18=12",
"34-26=8",
"12+8=20"
] | Current State: 20:[18, 30, 34, 26], Operations: []
Exploring Operation: 30-18=12, Resulting Numbers: [34, 26, 12]
Generated Node #2: [34, 26, 12] from Operation: 30-18=12
Current State: 20:[34, 26, 12], Operations: ['30-18=12']
Exploring Operation: 34-26=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 34-26=8
Current State: 20:[12, 8], Operations: ['30-18=12', '34-26=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[18, 30, 34, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [18, 34, 4]
Generated Node #0,0: 20:[18, 34, 4] Operation: 30-26=4
Exploring Operation: 34-30=4, Resulting Numbers: [18, 26, 4]
Generated Node #0,1: 20:[18, 26, 4] Operation: 34-30=4
Exploring Operation: 34-18=16, Resulting Numbers: [30, 26, 16]
Generated Node #0,2: 20:[30, 26, 16] Operation: 34-18=16
Exploring Operation: 34-26=8, Resulting Numbers: [18, 30, 8]
Generated Node #0,3: 20:[18, 30, 8] Operation: 34-26=8
Moving to Node #0,1
Current State: 20:[18, 26, 4], Operations: ['34-30=4']
Exploring Operation: 26-18=8, Resulting Numbers: [4, 8]
Generated Node #0,1,0: 20:[4, 8] Operation: 26-18=8
Exploring Operation: 18+4=22, Resulting Numbers: [26, 22]
Generated Node #0,1,1: 20:[26, 22] Operation: 18+4=22
Exploring Operation: 26-4=22, Resulting Numbers: [18, 22]
Generated Node #0,1,2: 20:[18, 22] Operation: 26-4=22
Exploring Operation: 18-4=14, Resulting Numbers: [26, 14]
Generated Node #0,1,3: 20:[26, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[4, 8], Operations: ['34-30=4', '26-18=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[18, 22], Operations: ['34-30=4', '26-4=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[26, 22], Operations: ['34-30=4', '18+4=22']
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,20 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[26, 14], Operations: ['34-30=4', '18-4=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,20 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,20 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: 20:[18, 30, 8], Operations: ['34-26=8']
Exploring Operation: 30-8=22, Resulting Numbers: [18, 22]
Generated Node #0,3,0: 20:[18, 22] Operation: 30-8=22
Exploring Operation: 18+8=26, Resulting Numbers: [30, 26]
Generated Node #0,3,1: 20:[30, 26] Operation: 18+8=26
Exploring Operation: 30-18=12, Resulting Numbers: [8, 12]
Generated Node #0,3,2: 20:[8, 12] Operation: 30-18=12
Exploring Operation: 18-8=10, Resulting Numbers: [30, 10]
Generated Node #0,3,3: 20:[30, 10] Operation: 18-8=10
Moving to Node #0,0
Current State: 20:[18, 34, 4], Operations: ['30-26=4']
Exploring Operation: 34-18=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 20:[4, 16] Operation: 34-18=16
Exploring Operation: 34-4=30, Resulting Numbers: [18, 30]
Generated Node #0,0,1: 20:[18, 30] Operation: 34-4=30
Exploring Operation: 18+4=22, Resulting Numbers: [34, 22]
Generated Node #0,0,2: 20:[34, 22] Operation: 18+4=22
Exploring Operation: 18-4=14, Resulting Numbers: [34, 14]
Generated Node #0,0,3: 20:[34, 14] Operation: 18-4=14
Moving to Node #0,2
Current State: 20:[30, 26, 16], Operations: ['34-18=16']
Exploring Operation: 30-16=14, Resulting Numbers: [26, 14]
Generated Node #0,2,0: 20:[26, 14] Operation: 30-16=14
Exploring Operation: 30+16=46, Resulting Numbers: [26, 46]
Generated Node #0,2,1: 20:[26, 46] Operation: 30+16=46
Exploring Operation: 26-16=10, Resulting Numbers: [30, 10]
Generated Node #0,2,2: 20:[30, 10] Operation: 26-16=10
Exploring Operation: 30-26=4, Resulting Numbers: [16, 4]
Generated Node #0,2,3: 20:[16, 4] Operation: 30-26=4
Moving to Node #0,3,0
Current State: 20:[18, 22], Operations: ['34-26=8', '30-8=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[8, 12], Operations: ['34-26=8', '30-18=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[18, 30, 34, 26], Operations: []
Exploring Operation: 34-26=8, Resulting Numbers: [18, 30, 8]
Generated Node #0,3: 20:[18, 30, 8] Operation: 34-26=8
Moving to Node #0,3
Current State: 20:[18, 30, 8], Operations: ['34-26=8']
Exploring Operation: 30-18=12, Resulting Numbers: [8, 12]
Generated Node #0,3,2: 20:[8, 12] Operation: 30-18=12
Moving to Node #0,3,2
Current State: 20:[8, 12], Operations: ['34-26=8', '30-18=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
8,
37,
32,
84
] | 64 | [
"32/8=4",
"37*4=148",
"148-84=64"
] | Current State: 64:[8, 37, 32, 84], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [37, 84, 4]
Generated Node #2: [37, 84, 4] from Operation: 32/8=4
Current State: 64:[37, 84, 4], Operations: ['32/8=4']
Exploring Operation: 37*4=148, Resulting Numbers: [84, 148]
Generated Node #3: [84, 148] from Operation: 37*4=148
Current State: 64:[84, 148], Operations: ['32/8=4', '37*4=148']
Exploring Operation: 148-84=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 37, 32, 84], Operations: []
Exploring Operation: 84-37=47, Resulting Numbers: [8, 32, 47]
Generated Node #0,0: 64:[8, 32, 47] Operation: 84-37=47
Exploring Operation: 84-8=76, Resulting Numbers: [37, 32, 76]
Generated Node #0,1: 64:[37, 32, 76] Operation: 84-8=76
Exploring Operation: 84-32=52, Resulting Numbers: [8, 37, 52]
Generated Node #0,2: 64:[8, 37, 52] Operation: 84-32=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 32, 47], Operations: ['84-37=47']
Exploring Operation: 47-8=39, Resulting Numbers: [32, 39]
Generated Node #0,0,0: 64:[32, 39] Operation: 47-8=39
Exploring Operation: 8+47=55, Resulting Numbers: [32, 55]
Generated Node #0,0,1: 64:[32, 55] Operation: 8+47=55
Exploring Operation: 47-32=15, Resulting Numbers: [8, 15]
Generated Node #0,0,2: 64:[8, 15] Operation: 47-32=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[8, 15], Operations: ['84-37=47', '47-32=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,64 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[32, 39], Operations: ['84-37=47', '47-8=39']
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,64 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[32, 55], Operations: ['84-37=47', '8+47=55']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,64 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[37, 32, 76], Operations: ['84-8=76']
Exploring Operation: 37-32=5, Resulting Numbers: [76, 5]
Generated Node #0,1,0: 64:[76, 5] Operation: 37-32=5
Exploring Operation: 76-37=39, Resulting Numbers: [32, 39]
Generated Node #0,1,1: 64:[32, 39] Operation: 76-37=39
Exploring Operation: 37+32=69, Resulting Numbers: [76, 69]
Generated Node #0,1,2: 64:[76, 69] Operation: 37+32=69
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[32, 39], Operations: ['84-8=76', '76-37=39']
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,64 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[76, 5], Operations: ['84-8=76', '37-32=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,64 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 64:[76, 69], Operations: ['84-8=76', '37+32=69']
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 76*69=5244, Resulting Numbers: [5244]
5244,64 unequal: No Solution
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[8, 37, 52], Operations: ['84-32=52']
Exploring Operation: 8+52=60, Resulting Numbers: [37, 60]
Generated Node #0,2,0: 64:[37, 60] Operation: 8+52=60
Exploring Operation: 52-37=15, Resulting Numbers: [8, 15]
Generated Node #0,2,1: 64:[8, 15] Operation: 52-37=15
Exploring Operation: 37-8=29, Resulting Numbers: [52, 29]
Generated Node #0,2,2: 64:[52, 29] Operation: 37-8=29
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[8, 15], Operations: ['84-32=52', '52-37=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[37, 60], Operations: ['84-32=52', '8+52=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[52, 29], Operations: ['84-32=52', '37-8=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
47,
42,
17,
94
] | 76 | [
"94/47=2",
"17*2=34",
"42+34=76"
] | Current State: 76:[47, 42, 17, 94], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [42, 17, 2]
Generated Node #2: [42, 17, 2] from Operation: 94/47=2
Current State: 76:[42, 17, 2], Operations: ['94/47=2']
Exploring Operation: 17*2=34, Resulting Numbers: [42, 34]
Generated Node #3: [42, 34] from Operation: 17*2=34
Current State: 76:[42, 34], Operations: ['94/47=2', '17*2=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[47, 42, 17, 94], Operations: []
Exploring Operation: 94-47=47, Resulting Numbers: [42, 17, 47]
Generated Node #0,0: 76:[42, 17, 47] Operation: 94-47=47
Exploring Operation: 94-42=52, Resulting Numbers: [47, 17, 52]
Generated Node #0,1: 76:[47, 17, 52] Operation: 94-42=52
Exploring Operation: 94-17=77, Resulting Numbers: [47, 42, 77]
Generated Node #0,2: 76:[47, 42, 77] Operation: 94-17=77
Exploring Operation: 94/47=2, Resulting Numbers: [42, 17, 2]
Generated Node #0,3: 76:[42, 17, 2] Operation: 94/47=2
Exploring Operation: 47-42=5, Resulting Numbers: [17, 94, 5]
Generated Node #0,4: 76:[17, 94, 5] Operation: 47-42=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[42, 17, 2], Operations: ['94/47=2']
Exploring Operation: 42-2=40, Resulting Numbers: [17, 40]
Generated Node #0,3,0: 76:[17, 40] Operation: 42-2=40
Exploring Operation: 17+2=19, Resulting Numbers: [42, 19]
Generated Node #0,3,1: 76:[42, 19] Operation: 17+2=19
Exploring Operation: 42/2=21, Resulting Numbers: [17, 21]
Generated Node #0,3,2: 76:[17, 21] Operation: 42/2=21
Exploring Operation: 42+2=44, Resulting Numbers: [17, 44]
Generated Node #0,3,3: 76:[17, 44] Operation: 42+2=44
Exploring Operation: 42-17=25, Resulting Numbers: [2, 25]
Generated Node #0,3,4: 76:[2, 25] Operation: 42-17=25
Moving to Node #0,3,0
Current State: 76:[17, 40], Operations: ['94/47=2', '42-2=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[17, 21], Operations: ['94/47=2', '42/2=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,76 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[42, 19], Operations: ['94/47=2', '17+2=19']
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,76 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[2, 25], Operations: ['94/47=2', '42-17=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[17, 44], Operations: ['94/47=2', '42+2=44']
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,76 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[47, 42, 77], Operations: ['94-17=77']
Exploring Operation: 47+42=89, Resulting Numbers: [77, 89]
Generated Node #0,2,0: 76:[77, 89] Operation: 47+42=89
Exploring Operation: 47-42=5, Resulting Numbers: [77, 5]
Generated Node #0,2,1: 76:[77, 5] Operation: 47-42=5
Exploring Operation: 77-42=35, Resulting Numbers: [47, 35]
Generated Node #0,2,2: 76:[47, 35] Operation: 77-42=35
Exploring Operation: 47+77=124, Resulting Numbers: [42, 124]
Generated Node #0,2,3: 76:[42, 124] Operation: 47+77=124
Exploring Operation: 77-47=30, Resulting Numbers: [42, 30]
Generated Node #0,2,4: 76:[42, 30] Operation: 77-47=30
Moving to Node #0,2,1
Current State: 76:[77, 5], Operations: ['94-17=77', '47-42=5']
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,76 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[42, 30], Operations: ['94-17=77', '77-47=30']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,76 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[47, 35], Operations: ['94-17=77', '77-42=35']
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[77, 89], Operations: ['94-17=77', '47+42=89']
Exploring Operation: 77*89=6853, Resulting Numbers: [6853]
6853,76 unequal: No Solution
Exploring Operation: 77+89=166, Resulting Numbers: [166]
166,76 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[42, 124], Operations: ['94-17=77', '47+77=124']
Exploring Operation: 42+124=166, Resulting Numbers: [166]
166,76 unequal: No Solution
Exploring Operation: 124-42=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 42*124=5208, Resulting Numbers: [5208]
5208,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:[42, 17, 47], Operations: ['94-47=47']
Exploring Operation: 47-17=30, Resulting Numbers: [42, 30]
Generated Node #0,0,0: 76:[42, 30] Operation: 47-17=30
Exploring Operation: 42+47=89, Resulting Numbers: [17, 89]
Generated Node #0,0,1: 76:[17, 89] Operation: 42+47=89
Exploring Operation: 47-42=5, Resulting Numbers: [17, 5]
Generated Node #0,0,2: 76:[17, 5] Operation: 47-42=5
Exploring Operation: 42-17=25, Resulting Numbers: [47, 25]
Generated Node #0,0,3: 76:[47, 25] Operation: 42-17=25
Exploring Operation: 17+47=64, Resulting Numbers: [42, 64]
Generated Node #0,0,4: 76:[42, 64] Operation: 17+47=64
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[17, 5], Operations: ['94-47=47', '47-42=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,76 unequal: No Solution
No 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: 76:[42, 30], Operations: ['94-47=47', '47-17=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,76 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,76 unequal: No Solution
No 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: 76:[17, 89], Operations: ['94-47=47', '42+47=89']
Exploring Operation: 17*89=1513, Resulting Numbers: [1513]
1513,76 unequal: No Solution
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 17+89=106, Resulting Numbers: [106]
106,76 unequal: No Solution
No 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: 76:[47, 25], Operations: ['94-47=47', '42-17=25']
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,76 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No 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: 76:[42, 64], Operations: ['94-47=47', '17+47=64']
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,76 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,76 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: 76:[17, 94, 5], Operations: ['47-42=5']
Exploring Operation: 94+5=99, Resulting Numbers: [17, 99]
Generated Node #0,4,0: 76:[17, 99] Operation: 94+5=99
Exploring Operation: 17+5=22, Resulting Numbers: [94, 22]
Generated Node #0,4,1: 76:[94, 22] Operation: 17+5=22
Exploring Operation: 94-5=89, Resulting Numbers: [17, 89]
Generated Node #0,4,2: 76:[17, 89] Operation: 94-5=89
Exploring Operation: 94-17=77, Resulting Numbers: [5, 77]
Generated Node #0,4,3: 76:[5, 77] Operation: 94-17=77
Exploring Operation: 17-5=12, Resulting Numbers: [94, 12]
Generated Node #0,4,4: 76:[94, 12] Operation: 17-5=12
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[5, 77], Operations: ['47-42=5', '94-17=77']
Exploring Operation: 5*77=385, Resulting Numbers: [385]
385,76 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,76 unequal: No Solution
No 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: 76:[17, 89], Operations: ['47-42=5', '94-5=89']
Exploring Operation: 17+89=106, Resulting Numbers: [106]
106,76 unequal: No Solution
Exploring Operation: 17*89=1513, Resulting Numbers: [1513]
1513,76 unequal: No Solution
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,76 unequal: No Solution
No 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: 76:[94, 22], Operations: ['47-42=5', '17+5=22']
Exploring Operation: 94+22=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 94*22=2068, Resulting Numbers: [2068]
2068,76 unequal: No Solution
No 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: 76:[17, 99], Operations: ['47-42=5', '94+5=99']
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,76 unequal: No Solution
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,76 unequal: No Solution
No 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: 76:[94, 12], Operations: ['47-42=5', '17-5=12']
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,76 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,76 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: 76:[47, 17, 52], Operations: ['94-42=52']
Exploring Operation: 52-17=35, Resulting Numbers: [47, 35]
Generated Node #0,1,0: 76:[47, 35] Operation: 52-17=35
Exploring Operation: 47-17=30, Resulting Numbers: [52, 30]
Generated Node #0,1,1: 76:[52, 30] Operation: 47-17=30
Exploring Operation: 52-47=5, Resulting Numbers: [17, 5]
Generated Node #0,1,2: 76:[17, 5] Operation: 52-47=5
Exploring Operation: 17+52=69, Resulting Numbers: [47, 69]
Generated Node #0,1,3: 76:[47, 69] Operation: 17+52=69
Exploring Operation: 47+52=99, Resulting Numbers: [17, 99]
Generated Node #0,1,4: 76:[17, 99] Operation: 47+52=99
Moving to Node #0,1,2
Current State: 76:[17, 5], Operations: ['94-42=52', '52-47=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[47, 35], Operations: ['94-42=52', '52-17=35']
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,76 unequal: No Solution
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[47, 69], Operations: ['94-42=52', '17+52=69']
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[52, 30], Operations: ['94-42=52', '47-17=30']
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,76 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[17, 99], Operations: ['94-42=52', '47+52=99']
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,76 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,76 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 |
[
43,
28,
9,
43
] | 67 | [
"43-28=15",
"9+43=52",
"15+52=67"
] | Current State: 67:[43, 28, 9, 43], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [9, 15]
Generated Node #2: [9, 15] from Operation: 43-28=15
Current State: 67:[9, 15], Operations: ['43-28=15']
Exploring Operation: 9+43=52, Resulting Numbers: [15, 52]
Generated Node #3: [15, 52] from Operation: 9+43=52
Current State: 67:[15, 52], Operations: ['43-28=15', '9+43=52']
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[43, 28, 9, 43], Operations: []
Exploring Operation: 43+9=52, Resulting Numbers: [28, 43, 52]
Generated Node #0,0: 67:[28, 43, 52] Operation: 43+9=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[28, 43, 52], Operations: ['43+9=52']
Exploring Operation: 28+43=71, Resulting Numbers: [52, 71]
Generated Node #0,0,0: 67:[52, 71] Operation: 28+43=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[52, 71], Operations: ['43+9=52', '28+43=71']
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,67 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 |
[
83,
9,
94,
73
] | 94 | [
"83-9=74",
"74-73=1",
"94*1=94"
] | Current State: 94:[83, 9, 94, 73], Operations: []
Exploring Operation: 83-9=74, Resulting Numbers: [94, 73, 74]
Generated Node #2: [94, 73, 74] from Operation: 83-9=74
Current State: 94:[94, 73, 74], Operations: ['83-9=74']
Exploring Operation: 74-73=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 74-73=1
Current State: 94:[94, 1], Operations: ['83-9=74', '74-73=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[83, 9, 94, 73], Operations: []
Exploring Operation: 9+73=82, Resulting Numbers: [83, 94, 82]
Generated Node #0,0: 94:[83, 94, 82] Operation: 9+73=82
Exploring Operation: 83-73=10, Resulting Numbers: [9, 94, 10]
Generated Node #0,1: 94:[9, 94, 10] Operation: 83-73=10
Exploring Operation: 83+9=92, Resulting Numbers: [94, 73, 92]
Generated Node #0,2: 94:[94, 73, 92] Operation: 83+9=92
Moving to Node #0,1
Current State: 94:[9, 94, 10], Operations: ['83-73=10']
Exploring Operation: 9+94=103, Resulting Numbers: [10, 103]
Generated Node #0,1,0: 94:[10, 103] Operation: 9+94=103
Exploring Operation: 9*10=90, Resulting Numbers: [94, 90]
Generated Node #0,1,1: 94:[94, 90] Operation: 9*10=90
Exploring Operation: 10-9=1, Resulting Numbers: [94, 1]
Generated Node #0,1,2: 94:[94, 1] Operation: 10-9=1
Moving to Node #0,0
Current State: 94:[83, 94, 82], Operations: ['9+73=82']
Exploring Operation: 94-83=11, Resulting Numbers: [82, 11]
Generated Node #0,0,0: 94:[82, 11] Operation: 94-83=11
Exploring Operation: 83-82=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 94:[94, 1] Operation: 83-82=1
Exploring Operation: 94-82=12, Resulting Numbers: [83, 12]
Generated Node #0,0,2: 94:[83, 12] Operation: 94-82=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[94, 1], Operations: ['9+73=82', '83-82=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[83, 9, 94, 73], Operations: []
Exploring Operation: 9+73=82, Resulting Numbers: [83, 94, 82]
Generated Node #0,0: 94:[83, 94, 82] Operation: 9+73=82
Moving to Node #0,0
Current State: 94:[83, 94, 82], Operations: ['9+73=82']
Exploring Operation: 83-82=1, Resulting Numbers: [94, 1]
Generated Node #0,0,1: 94:[94, 1] Operation: 83-82=1
Moving to Node #0,0,1
Current State: 94:[94, 1], Operations: ['9+73=82', '83-82=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
62,
11,
79,
4
] | 85 | [
"62+4=66",
"66/11=6",
"79+6=85"
] | Current State: 85:[62, 11, 79, 4], Operations: []
Exploring Operation: 62+4=66, Resulting Numbers: [11, 79, 66]
Generated Node #2: [11, 79, 66] from Operation: 62+4=66
Current State: 85:[11, 79, 66], Operations: ['62+4=66']
Exploring Operation: 66/11=6, Resulting Numbers: [79, 6]
Generated Node #3: [79, 6] from Operation: 66/11=6
Current State: 85:[79, 6], Operations: ['62+4=66', '66/11=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[62, 11, 79, 4], Operations: []
Exploring Operation: 62+11=73, Resulting Numbers: [79, 4, 73]
Generated Node #0,0: 85:[79, 4, 73] Operation: 62+11=73
Exploring Operation: 11+79=90, Resulting Numbers: [62, 4, 90]
Generated Node #0,1: 85:[62, 4, 90] Operation: 11+79=90
Exploring Operation: 79-62=17, Resulting Numbers: [11, 4, 17]
Generated Node #0,2: 85:[11, 4, 17] Operation: 79-62=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[11, 4, 17], Operations: ['79-62=17']
Exploring Operation: 17-11=6, Resulting Numbers: [4, 6]
Generated Node #0,2,0: 85:[4, 6] Operation: 17-11=6
Exploring Operation: 11-4=7, Resulting Numbers: [17, 7]
Generated Node #0,2,1: 85:[17, 7] Operation: 11-4=7
Exploring Operation: 11+4=15, Resulting Numbers: [17, 15]
Generated Node #0,2,2: 85:[17, 15] Operation: 11+4=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[4, 6], Operations: ['79-62=17', '17-11=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[17, 7], Operations: ['79-62=17', '11-4=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[17, 15], Operations: ['79-62=17', '11+4=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[79, 4, 73], Operations: ['62+11=73']
Exploring Operation: 79-73=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 85:[4, 6] Operation: 79-73=6
Exploring Operation: 4+73=77, Resulting Numbers: [79, 77]
Generated Node #0,0,1: 85:[79, 77] Operation: 4+73=77
Exploring Operation: 79+4=83, Resulting Numbers: [73, 83]
Generated Node #0,0,2: 85:[73, 83] Operation: 79+4=83
Moving to Node #0,0,0
Current State: 85:[4, 6], Operations: ['62+11=73', '79-73=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[79, 77], Operations: ['62+11=73', '4+73=77']
Exploring Operation: 79+77=156, Resulting Numbers: [156]
156,85 unequal: No Solution
Exploring Operation: 79*77=6083, Resulting Numbers: [6083]
6083,85 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[73, 83], Operations: ['62+11=73', '79+4=83']
Exploring Operation: 73*83=6059, Resulting Numbers: [6059]
6059,85 unequal: No Solution
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 73+83=156, Resulting Numbers: [156]
156,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
Current State: 85:[62, 4, 90], Operations: ['11+79=90']
Exploring Operation: 90-4=86, Resulting Numbers: [62, 86]
Generated Node #0,1,0: 85:[62, 86] Operation: 90-4=86
Exploring Operation: 62+4=66, Resulting Numbers: [90, 66]
Generated Node #0,1,1: 85:[90, 66] Operation: 62+4=66
Exploring Operation: 90-62=28, Resulting Numbers: [4, 28]
Generated Node #0,1,2: 85:[4, 28] Operation: 90-62=28
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[4, 28], Operations: ['11+79=90', '90-62=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[62, 86], Operations: ['11+79=90', '90-4=86']
Exploring Operation: 62*86=5332, Resulting Numbers: [5332]
5332,85 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 62+86=148, Resulting Numbers: [148]
148,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[90, 66], Operations: ['11+79=90', '62+4=66']
Exploring Operation: 90+66=156, Resulting Numbers: [156]
156,85 unequal: No Solution
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 90*66=5940, Resulting Numbers: [5940]
5940,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
37,
29,
91,
43
] | 18 | [
"37+29=66",
"91-43=48",
"66-48=18"
] | Current State: 18:[37, 29, 91, 43], Operations: []
Exploring Operation: 37+29=66, Resulting Numbers: [91, 43, 66]
Generated Node #2: [91, 43, 66] from Operation: 37+29=66
Current State: 18:[91, 43, 66], Operations: ['37+29=66']
Exploring Operation: 91-43=48, Resulting Numbers: [66, 48]
Generated Node #3: [66, 48] from Operation: 91-43=48
Current State: 18:[66, 48], Operations: ['37+29=66', '91-43=48']
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[37, 29, 91, 43], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [29, 43, 54]
Generated Node #0,0: 18:[29, 43, 54] Operation: 91-37=54
Exploring Operation: 91-43=48, Resulting Numbers: [37, 29, 48]
Generated Node #0,1: 18:[37, 29, 48] Operation: 91-43=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[37, 29, 48], Operations: ['91-43=48']
Exploring Operation: 48-29=19, Resulting Numbers: [37, 19]
Generated Node #0,1,0: 18:[37, 19] Operation: 48-29=19
Exploring Operation: 48-37=11, Resulting Numbers: [29, 11]
Generated Node #0,1,1: 18:[29, 11] Operation: 48-37=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[29, 11], Operations: ['91-43=48', '48-37=11']
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[37, 29, 91, 43], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [37, 29, 48]
Generated Node #0,1: 18:[37, 29, 48] Operation: 91-43=48
Moving to Node #0,1
Current State: 18:[37, 29, 48], Operations: ['91-43=48']
Exploring Operation: 48-37=11, Resulting Numbers: [29, 11]
Generated Node #0,1,1: 18:[29, 11] Operation: 48-37=11
Moving to Node #0,1,1
Current State: 18:[29, 11], Operations: ['91-43=48', '48-37=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
55,
40,
8,
60
] | 80 | [
"60-55=5",
"8*5=40",
"40+40=80"
] | Current State: 80:[55, 40, 8, 60], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [40, 8, 5]
Generated Node #2: [40, 8, 5] from Operation: 60-55=5
Current State: 80:[40, 8, 5], Operations: ['60-55=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40, 40]
Generated Node #3: [40, 40] from Operation: 8*5=40
Current State: 80:[40, 40], Operations: ['60-55=5', '8*5=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[55, 40, 8, 60], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [8, 60, 15]
Generated Node #0,0: 80:[8, 60, 15] Operation: 55-40=15
Exploring Operation: 60-55=5, Resulting Numbers: [40, 8, 5]
Generated Node #0,1: 80:[40, 8, 5] Operation: 60-55=5
Exploring Operation: 60-40=20, Resulting Numbers: [55, 8, 20]
Generated Node #0,2: 80:[55, 8, 20] Operation: 60-40=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[40, 8, 5], Operations: ['60-55=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 80:[8, 8] Operation: 40/5=8
Exploring Operation: 8*5=40, Resulting Numbers: [40, 40]
Generated Node #0,1,1: 80:[40, 40] Operation: 8*5=40
Exploring Operation: 40/8=5, Resulting Numbers: [5, 5]
Generated Node #0,1,2: 80:[5, 5] Operation: 40/8=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[8, 8], Operations: ['60-55=5', '40/5=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[40, 40], Operations: ['60-55=5', '8*5=40']
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[55, 40, 8, 60], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [40, 8, 5]
Generated Node #0,1: 80:[40, 8, 5] Operation: 60-55=5
Moving to Node #0,1
Current State: 80:[40, 8, 5], Operations: ['60-55=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40, 40]
Generated Node #0,1,1: 80:[40, 40] Operation: 8*5=40
Moving to Node #0,1,1
Current State: 80:[40, 40], Operations: ['60-55=5', '8*5=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
60,
33,
84,
84
] | 27 | [
"60-33=27",
"84-84=0",
"27+0=27"
] | Current State: 27:[60, 33, 84, 84], Operations: []
Exploring Operation: 60-33=27, Resulting Numbers: [84, 84, 27]
Generated Node #2: [84, 84, 27] from Operation: 60-33=27
Current State: 27:[84, 84, 27], Operations: ['60-33=27']
Exploring Operation: 84-84=0, Resulting Numbers: [27, 0]
Generated Node #3: [27, 0] from Operation: 84-84=0
Current State: 27:[27, 0], Operations: ['60-33=27', '84-84=0']
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[60, 33, 84, 84], Operations: []
Exploring Operation: 84-84=0, Resulting Numbers: [60, 33, 0]
Generated Node #0,0: 27:[60, 33, 0] Operation: 84-84=0
Exploring Operation: 84/84=1, Resulting Numbers: [60, 33, 1]
Generated Node #0,1: 27:[60, 33, 1] Operation: 84/84=1
Moving to Node #0,1
Current State: 27:[60, 33, 1], Operations: ['84/84=1']
Exploring Operation: 60-1=59, Resulting Numbers: [33, 59]
Generated Node #0,1,0: 27:[33, 59] Operation: 60-1=59
Exploring Operation: 60-33=27, Resulting Numbers: [1, 27]
Generated Node #0,1,1: 27:[1, 27] Operation: 60-33=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[1, 27], Operations: ['84/84=1', '60-33=27']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[60, 33, 84, 84], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [60, 33, 1]
Generated Node #0,1: 27:[60, 33, 1] Operation: 84/84=1
Moving to Node #0,1
Current State: 27:[60, 33, 1], Operations: ['84/84=1']
Exploring Operation: 60-33=27, Resulting Numbers: [1, 27]
Generated Node #0,1,1: 27:[1, 27] Operation: 60-33=27
Moving to Node #0,1,1
Current State: 27:[1, 27], Operations: ['84/84=1', '60-33=27']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
66,
39,
29,
93
] | 17 | [
"66+39=105",
"29+93=122",
"122-105=17"
] | Current State: 17:[66, 39, 29, 93], Operations: []
Exploring Operation: 66+39=105, Resulting Numbers: [29, 93, 105]
Generated Node #2: [29, 93, 105] from Operation: 66+39=105
Current State: 17:[29, 93, 105], Operations: ['66+39=105']
Exploring Operation: 29+93=122, Resulting Numbers: [105, 122]
Generated Node #3: [105, 122] from Operation: 29+93=122
Current State: 17:[105, 122], Operations: ['66+39=105', '29+93=122']
Exploring Operation: 122-105=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[66, 39, 29, 93], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [39, 29, 27]
Generated Node #0,0: 17:[39, 29, 27] Operation: 93-66=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[39, 29, 27], Operations: ['93-66=27']
Exploring Operation: 39-29=10, Resulting Numbers: [27, 10]
Generated Node #0,0,0: 17:[27, 10] Operation: 39-29=10
Moving to Node #0,0,0
Current State: 17:[27, 10], Operations: ['93-66=27', '39-29=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[66, 39, 29, 93], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [39, 29, 27]
Generated Node #0,0: 17:[39, 29, 27] Operation: 93-66=27
Moving to Node #0,0
Current State: 17:[39, 29, 27], Operations: ['93-66=27']
Exploring Operation: 39-29=10, Resulting Numbers: [27, 10]
Generated Node #0,0,0: 17:[27, 10] Operation: 39-29=10
Moving to Node #0,0,0
Current State: 17:[27, 10], Operations: ['93-66=27', '39-29=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
58,
2,
63,
14
] | 82 | [
"58-14=44",
"2*63=126",
"126-44=82"
] | Current State: 82:[58, 2, 63, 14], Operations: []
Exploring Operation: 58-14=44, Resulting Numbers: [2, 63, 44]
Generated Node #2: [2, 63, 44] from Operation: 58-14=44
Current State: 82:[2, 63, 44], Operations: ['58-14=44']
Exploring Operation: 2*63=126, Resulting Numbers: [44, 126]
Generated Node #3: [44, 126] from Operation: 2*63=126
Current State: 82:[44, 126], Operations: ['58-14=44', '2*63=126']
Exploring Operation: 126-44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[58, 2, 63, 14], Operations: []
Exploring Operation: 58-14=44, Resulting Numbers: [2, 63, 44]
Generated Node #0,0: 82:[2, 63, 44] Operation: 58-14=44
Exploring Operation: 63+14=77, Resulting Numbers: [58, 2, 77]
Generated Node #0,1: 82:[58, 2, 77] Operation: 63+14=77
Exploring Operation: 63-58=5, Resulting Numbers: [2, 14, 5]
Generated Node #0,2: 82:[2, 14, 5] Operation: 63-58=5
Moving to Node #0,2
Current State: 82:[2, 14, 5], Operations: ['63-58=5']
Exploring Operation: 14*5=70, Resulting Numbers: [2, 70]
Generated Node #0,2,0: 82:[2, 70] Operation: 14*5=70
Exploring Operation: 14/2=7, Resulting Numbers: [5, 7]
Generated Node #0,2,1: 82:[5, 7] Operation: 14/2=7
Exploring Operation: 14-5=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 82:[2, 9] Operation: 14-5=9
Moving to Node #0,0
Current State: 82:[2, 63, 44], Operations: ['58-14=44']
Exploring Operation: 63-44=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 82:[2, 19] Operation: 63-44=19
Exploring Operation: 44-2=42, Resulting Numbers: [63, 42]
Generated Node #0,0,1: 82:[63, 42] Operation: 44-2=42
Exploring Operation: 2+63=65, Resulting Numbers: [44, 65]
Generated Node #0,0,2: 82:[44, 65] Operation: 2+63=65
Moving to Node #0,1
Current State: 82:[58, 2, 77], Operations: ['63+14=77']
Exploring Operation: 58/2=29, Resulting Numbers: [77, 29]
Generated Node #0,1,0: 82:[77, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [77, 56]
Generated Node #0,1,1: 82:[77, 56] Operation: 58-2=56
Exploring Operation: 77-58=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 82:[2, 19] Operation: 77-58=19
Moving to Node #0,2,2
Current State: 82:[2, 9], Operations: ['63-58=5', '14-5=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[5, 7], Operations: ['63-58=5', '14/2=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,82 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[2, 70], Operations: ['63-58=5', '14*5=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,82 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[77, 29], Operations: ['63+14=77', '58/2=29']
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,82 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[2, 19], Operations: ['58-14=44', '63-44=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[2, 19], Operations: ['63+14=77', '77-58=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[44, 65], Operations: ['58-14=44', '2+63=65']
Exploring Operation: 44+65=109, Resulting Numbers: [109]
109,82 unequal: No Solution
Exploring Operation: 44*65=2860, Resulting Numbers: [2860]
2860,82 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[77, 56], Operations: ['63+14=77', '58-2=56']
Exploring Operation: 77*56=4312, Resulting Numbers: [4312]
4312,82 unequal: No Solution
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 77+56=133, Resulting Numbers: [133]
133,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[63, 42], Operations: ['58-14=44', '44-2=42']
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,82 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
88,
24,
88
] | 11 | [
"36-24=12",
"88/88=1",
"12-1=11"
] | Current State: 11:[36, 88, 24, 88], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [88, 88, 12]
Generated Node #2: [88, 88, 12] from Operation: 36-24=12
Current State: 11:[88, 88, 12], Operations: ['36-24=12']
Exploring Operation: 88/88=1, Resulting Numbers: [12, 1]
Generated Node #3: [12, 1] from Operation: 88/88=1
Current State: 11:[12, 1], Operations: ['36-24=12', '88/88=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[36, 88, 24, 88], Operations: []
Exploring Operation: 88/88=1, Resulting Numbers: [36, 24, 1]
Generated Node #0,0: 11:[36, 24, 1] Operation: 88/88=1
Exploring Operation: 88-88=0, Resulting Numbers: [36, 24, 0]
Generated Node #0,1: 11:[36, 24, 0] Operation: 88-88=0
Moving to Node #0,0
Current State: 11:[36, 24, 1], Operations: ['88/88=1']
Exploring Operation: 36-24=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 11:[1, 12] Operation: 36-24=12
Exploring Operation: 36-1=35, Resulting Numbers: [24, 35]
Generated Node #0,0,1: 11:[24, 35] Operation: 36-1=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[1, 12], Operations: ['88/88=1', '36-24=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[36, 88, 24, 88], Operations: []
Exploring Operation: 88/88=1, Resulting Numbers: [36, 24, 1]
Generated Node #0,0: 11:[36, 24, 1] Operation: 88/88=1
Moving to Node #0,0
Current State: 11:[36, 24, 1], Operations: ['88/88=1']
Exploring Operation: 36-24=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 11:[1, 12] Operation: 36-24=12
Moving to Node #0,0,0
Current State: 11:[1, 12], Operations: ['88/88=1', '36-24=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
10,
8,
1,
45
] | 25 | [
"8-1=7",
"10*7=70",
"70-45=25"
] | Current State: 25:[10, 8, 1, 45], Operations: []
Exploring Operation: 8-1=7, Resulting Numbers: [10, 45, 7]
Generated Node #2: [10, 45, 7] from Operation: 8-1=7
Current State: 25:[10, 45, 7], Operations: ['8-1=7']
Exploring Operation: 10*7=70, Resulting Numbers: [45, 70]
Generated Node #3: [45, 70] from Operation: 10*7=70
Current State: 25:[45, 70], Operations: ['8-1=7', '10*7=70']
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[10, 8, 1, 45], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [8, 1, 35]
Generated Node #0,0: 25:[8, 1, 35] Operation: 45-10=35
Exploring Operation: 10-8=2, Resulting Numbers: [1, 45, 2]
Generated Node #0,1: 25:[1, 45, 2] Operation: 10-8=2
Exploring Operation: 45-8=37, Resulting Numbers: [10, 1, 37]
Generated Node #0,2: 25:[10, 1, 37] Operation: 45-8=37
Moving to Node #0,0
Current State: 25:[8, 1, 35], Operations: ['45-10=35']
Exploring Operation: 35-8=27, Resulting Numbers: [1, 27]
Generated Node #0,0,0: 25:[1, 27] Operation: 35-8=27
Exploring Operation: 35-1=34, Resulting Numbers: [8, 34]
Generated Node #0,0,1: 25:[8, 34] Operation: 35-1=34
Exploring Operation: 8-1=7, Resulting Numbers: [35, 7]
Generated Node #0,0,2: 25:[35, 7] Operation: 8-1=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[1, 27], Operations: ['45-10=35', '35-8=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[8, 34], Operations: ['45-10=35', '35-1=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[35, 7], Operations: ['45-10=35', '8-1=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,25 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: 25:[10, 1, 37], Operations: ['45-8=37']
Exploring Operation: 10-1=9, Resulting Numbers: [37, 9]
Generated Node #0,2,0: 25:[37, 9] Operation: 10-1=9
Exploring Operation: 37-10=27, Resulting Numbers: [1, 27]
Generated Node #0,2,1: 25:[1, 27] Operation: 37-10=27
Exploring Operation: 37-1=36, Resulting Numbers: [10, 36]
Generated Node #0,2,2: 25:[10, 36] Operation: 37-1=36
Moving to Node #0,1
Current State: 25:[1, 45, 2], Operations: ['10-8=2']
Exploring Operation: 45-2=43, Resulting Numbers: [1, 43]
Generated Node #0,1,0: 25:[1, 43] Operation: 45-2=43
Exploring Operation: 45-1=44, Resulting Numbers: [2, 44]
Generated Node #0,1,1: 25:[2, 44] Operation: 45-1=44
Exploring Operation: 1+2=3, Resulting Numbers: [45, 3]
Generated Node #0,1,2: 25:[45, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[1, 43], Operations: ['10-8=2', '45-2=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,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:[2, 44], Operations: ['10-8=2', '45-1=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,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,2
Current State: 25:[45, 3], Operations: ['10-8=2', '1+2=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 25:[1, 27], Operations: ['45-8=37', '37-10=27']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[37, 9], Operations: ['45-8=37', '10-1=9']
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[10, 36], Operations: ['45-8=37', '37-1=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,25 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
94,
63,
92
] | 63 | [
"94-3=91",
"92-91=1",
"63*1=63"
] | Current State: 63:[3, 94, 63, 92], Operations: []
Exploring Operation: 94-3=91, Resulting Numbers: [63, 92, 91]
Generated Node #2: [63, 92, 91] from Operation: 94-3=91
Current State: 63:[63, 92, 91], Operations: ['94-3=91']
Exploring Operation: 92-91=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 92-91=1
Current State: 63:[63, 1], Operations: ['94-3=91', '92-91=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[3, 94, 63, 92], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [3, 92, 31]
Generated Node #0,0: 63:[3, 92, 31] Operation: 94-63=31
Exploring Operation: 94-3=91, Resulting Numbers: [63, 92, 91]
Generated Node #0,1: 63:[63, 92, 91] Operation: 94-3=91
Exploring Operation: 94-92=2, Resulting Numbers: [3, 63, 2]
Generated Node #0,2: 63:[3, 63, 2] Operation: 94-92=2
Exploring Operation: 92-63=29, Resulting Numbers: [3, 94, 29]
Generated Node #0,3: 63:[3, 94, 29] Operation: 92-63=29
Moving to Node #0,2
Current State: 63:[3, 63, 2], Operations: ['94-92=2']
Exploring Operation: 63/3=21, Resulting Numbers: [2, 21]
Generated Node #0,2,0: 63:[2, 21] Operation: 63/3=21
Exploring Operation: 3*2=6, Resulting Numbers: [63, 6]
Generated Node #0,2,1: 63:[63, 6] Operation: 3*2=6
Exploring Operation: 3-2=1, Resulting Numbers: [63, 1]
Generated Node #0,2,2: 63:[63, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [63, 5]
Generated Node #0,2,3: 63:[63, 5] Operation: 3+2=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[2, 21], Operations: ['94-92=2', '63/3=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[63, 6], Operations: ['94-92=2', '3*2=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,63 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[63, 1], Operations: ['94-92=2', '3-2=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[3, 94, 63, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [3, 63, 2]
Generated Node #0,2: 63:[3, 63, 2] Operation: 94-92=2
Moving to Node #0,2
Current State: 63:[3, 63, 2], Operations: ['94-92=2']
Exploring Operation: 3-2=1, Resulting Numbers: [63, 1]
Generated Node #0,2,2: 63:[63, 1] Operation: 3-2=1
Moving to Node #0,2,2
Current State: 63:[63, 1], Operations: ['94-92=2', '3-2=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
81,
5,
4,
52
] | 32 | [
"81-5=76",
"52+76=128",
"128/4=32"
] | Current State: 32:[81, 5, 4, 52], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [4, 52, 76]
Generated Node #2: [4, 52, 76] from Operation: 81-5=76
Current State: 32:[4, 52, 76], Operations: ['81-5=76']
Exploring Operation: 52+76=128, Resulting Numbers: [4, 128]
Generated Node #3: [4, 128] from Operation: 52+76=128
Current State: 32:[4, 128], Operations: ['81-5=76', '52+76=128']
Exploring Operation: 128/4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[81, 5, 4, 52], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [5, 4, 29]
Generated Node #0,0: 32:[5, 4, 29] Operation: 81-52=29
Exploring Operation: 52/4=13, Resulting Numbers: [81, 5, 13]
Generated Node #0,1: 32:[81, 5, 13] Operation: 52/4=13
Moving to Node #0,0
Current State: 32:[5, 4, 29], Operations: ['81-52=29']
Exploring Operation: 4+29=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 32:[5, 33] Operation: 4+29=33
Exploring Operation: 5+29=34, Resulting Numbers: [4, 34]
Generated Node #0,0,1: 32:[4, 34] Operation: 5+29=34
Moving to Node #0,1
Current State: 32:[81, 5, 13], Operations: ['52/4=13']
Exploring Operation: 81-5=76, Resulting Numbers: [13, 76]
Generated Node #0,1,0: 32:[13, 76] Operation: 81-5=76
Exploring Operation: 81-13=68, Resulting Numbers: [5, 68]
Generated Node #0,1,1: 32:[5, 68] Operation: 81-13=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[5, 68], Operations: ['52/4=13', '81-13=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,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:[13, 76], Operations: ['52/4=13', '81-5=76']
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 13+76=89, Resulting Numbers: [89]
89,32 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: 32:[5, 33], Operations: ['81-52=29', '4+29=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[4, 34], Operations: ['81-52=29', '5+29=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,32 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
56,
23,
92,
96
] | 38 | [
"56+96=152",
"92/23=4",
"152/4=38"
] | Current State: 38:[56, 23, 92, 96], Operations: []
Exploring Operation: 56+96=152, Resulting Numbers: [23, 92, 152]
Generated Node #2: [23, 92, 152] from Operation: 56+96=152
Current State: 38:[23, 92, 152], Operations: ['56+96=152']
Exploring Operation: 92/23=4, Resulting Numbers: [152, 4]
Generated Node #3: [152, 4] from Operation: 92/23=4
Current State: 38:[152, 4], Operations: ['56+96=152', '92/23=4']
Exploring Operation: 152/4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[56, 23, 92, 96], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [56, 23, 4]
Generated Node #0,0: 38:[56, 23, 4] Operation: 96-92=4
Moving to Node #0,0
Current State: 38:[56, 23, 4], Operations: ['96-92=4']
Exploring Operation: 56-23=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 38:[4, 33] Operation: 56-23=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[4, 33], Operations: ['96-92=4', '56-23=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,38 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 |
[
62,
2,
37,
83
] | 56 | [
"62+2=64",
"37+83=120",
"120-64=56"
] | Current State: 56:[62, 2, 37, 83], Operations: []
Exploring Operation: 62+2=64, Resulting Numbers: [37, 83, 64]
Generated Node #2: [37, 83, 64] from Operation: 62+2=64
Current State: 56:[37, 83, 64], Operations: ['62+2=64']
Exploring Operation: 37+83=120, Resulting Numbers: [64, 120]
Generated Node #3: [64, 120] from Operation: 37+83=120
Current State: 56:[64, 120], Operations: ['62+2=64', '37+83=120']
Exploring Operation: 120-64=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[62, 2, 37, 83], Operations: []
Exploring Operation: 83-37=46, Resulting Numbers: [62, 2, 46]
Generated Node #0,0: 56:[62, 2, 46] Operation: 83-37=46
Exploring Operation: 83-62=21, Resulting Numbers: [2, 37, 21]
Generated Node #0,1: 56:[2, 37, 21] Operation: 83-62=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[62, 2, 46], Operations: ['83-37=46']
Exploring Operation: 62-46=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 56:[2, 16] Operation: 62-46=16
Exploring Operation: 46/2=23, Resulting Numbers: [62, 23]
Generated Node #0,0,1: 56:[62, 23] Operation: 46/2=23
Moving to Node #0,0,0
Current State: 56:[2, 16], Operations: ['83-37=46', '62-46=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[62, 23], Operations: ['83-37=46', '46/2=23']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[2, 37, 21], Operations: ['83-62=21']
Exploring Operation: 37-21=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 56:[2, 16] Operation: 37-21=16
Exploring Operation: 37+21=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 56:[2, 58] Operation: 37+21=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[2, 16], Operations: ['83-62=21', '37-21=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No 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: 56:[2, 58], Operations: ['83-62=21', '37+21=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[62, 2, 37, 83], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [2, 37, 21]
Generated Node #0,1: 56:[2, 37, 21] Operation: 83-62=21
Moving to Node #0,1
Current State: 56:[2, 37, 21], Operations: ['83-62=21']
Exploring Operation: 37+21=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 56:[2, 58] Operation: 37+21=58
Moving to Node #0,1,1
Current State: 56:[2, 58], Operations: ['83-62=21', '37+21=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
22,
90,
36,
27
] | 82 | [
"22*90=1980",
"1980/36=55",
"27+55=82"
] | Current State: 82:[22, 90, 36, 27], Operations: []
Exploring Operation: 22*90=1980, Resulting Numbers: [36, 27, 1980]
Generated Node #2: [36, 27, 1980] from Operation: 22*90=1980
Current State: 82:[36, 27, 1980], Operations: ['22*90=1980']
Exploring Operation: 1980/36=55, Resulting Numbers: [27, 55]
Generated Node #3: [27, 55] from Operation: 1980/36=55
Current State: 82:[27, 55], Operations: ['22*90=1980', '1980/36=55']
Exploring Operation: 27+55=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[22, 90, 36, 27], Operations: []
Exploring Operation: 22+27=49, Resulting Numbers: [90, 36, 49]
Generated Node #0,0: 82:[90, 36, 49] Operation: 22+27=49
Exploring Operation: 90-22=68, Resulting Numbers: [36, 27, 68]
Generated Node #0,1: 82:[36, 27, 68] Operation: 90-22=68
Exploring Operation: 36-22=14, Resulting Numbers: [90, 27, 14]
Generated Node #0,2: 82:[90, 27, 14] Operation: 36-22=14
Exploring Operation: 27-22=5, Resulting Numbers: [90, 36, 5]
Generated Node #0,3: 82:[90, 36, 5] Operation: 27-22=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[90, 36, 5], Operations: ['27-22=5']
Exploring Operation: 90-36=54, Resulting Numbers: [5, 54]
Generated Node #0,3,0: 82:[5, 54] Operation: 90-36=54
Exploring Operation: 36+5=41, Resulting Numbers: [90, 41]
Generated Node #0,3,1: 82:[90, 41] Operation: 36+5=41
Exploring Operation: 90-5=85, Resulting Numbers: [36, 85]
Generated Node #0,3,2: 82:[36, 85] Operation: 90-5=85
Exploring Operation: 90+5=95, Resulting Numbers: [36, 95]
Generated Node #0,3,3: 82:[36, 95] Operation: 90+5=95
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[90, 41], Operations: ['27-22=5', '36+5=41']
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,82 unequal: No Solution
No 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: 82:[36, 85], Operations: ['27-22=5', '90-5=85']
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,82 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,82 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No 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: 82:[5, 54], Operations: ['27-22=5', '90-36=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,82 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,82 unequal: No Solution
No 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: 82:[36, 95], Operations: ['27-22=5', '90+5=95']
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,82 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: 82:[90, 36, 49], Operations: ['22+27=49']
Exploring Operation: 36+49=85, Resulting Numbers: [90, 85]
Generated Node #0,0,0: 82:[90, 85] Operation: 36+49=85
Exploring Operation: 90-36=54, Resulting Numbers: [49, 54]
Generated Node #0,0,1: 82:[49, 54] Operation: 90-36=54
Exploring Operation: 49-36=13, Resulting Numbers: [90, 13]
Generated Node #0,0,2: 82:[90, 13] Operation: 49-36=13
Exploring Operation: 90-49=41, Resulting Numbers: [36, 41]
Generated Node #0,0,3: 82:[36, 41] Operation: 90-49=41
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[36, 41], Operations: ['22+27=49', '90-49=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,82 unequal: No Solution
No 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: 82:[90, 85], Operations: ['22+27=49', '36+49=85']
Exploring Operation: 90*85=7650, Resulting Numbers: [7650]
7650,82 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 90+85=175, Resulting Numbers: [175]
175,82 unequal: No Solution
No 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: 82:[90, 13], Operations: ['22+27=49', '49-36=13']
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,82 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,82 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,82 unequal: No Solution
No 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: 82:[49, 54], Operations: ['22+27=49', '90-36=54']
Exploring Operation: 49*54=2646, Resulting Numbers: [2646]
2646,82 unequal: No Solution
Exploring Operation: 49+54=103, Resulting Numbers: [103]
103,82 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,82 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: 82:[36, 27, 68], Operations: ['90-22=68']
Exploring Operation: 68-36=32, Resulting Numbers: [27, 32]
Generated Node #0,1,0: 82:[27, 32] Operation: 68-36=32
Exploring Operation: 68-27=41, Resulting Numbers: [36, 41]
Generated Node #0,1,1: 82:[36, 41] Operation: 68-27=41
Exploring Operation: 36-27=9, Resulting Numbers: [68, 9]
Generated Node #0,1,2: 82:[68, 9] Operation: 36-27=9
Exploring Operation: 27+68=95, Resulting Numbers: [36, 95]
Generated Node #0,1,3: 82:[36, 95] Operation: 27+68=95
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[36, 41], Operations: ['90-22=68', '68-27=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,82 unequal: No Solution
No 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: 82:[36, 95], Operations: ['90-22=68', '27+68=95']
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,82 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,82 unequal: No Solution
No 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: 82:[68, 9], Operations: ['90-22=68', '36-27=9']
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,82 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,82 unequal: No Solution
No 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: 82:[27, 32], Operations: ['90-22=68', '68-36=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,82 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: 82:[90, 27, 14], Operations: ['36-22=14']
Exploring Operation: 27+14=41, Resulting Numbers: [90, 41]
Generated Node #0,2,0: 82:[90, 41] Operation: 27+14=41
Exploring Operation: 90-27=63, Resulting Numbers: [14, 63]
Generated Node #0,2,1: 82:[14, 63] Operation: 90-27=63
Exploring Operation: 27-14=13, Resulting Numbers: [90, 13]
Generated Node #0,2,2: 82:[90, 13] Operation: 27-14=13
Exploring Operation: 90-14=76, Resulting Numbers: [27, 76]
Generated Node #0,2,3: 82:[27, 76] Operation: 90-14=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[90, 41], Operations: ['36-22=14', '27+14=41']
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,82 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,82 unequal: No Solution
No 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: 82:[90, 13], Operations: ['36-22=14', '27-14=13']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,82 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,82 unequal: No Solution
No 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: 82:[27, 76], Operations: ['36-22=14', '90-14=76']
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,82 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 27*76=2052, Resulting Numbers: [2052]
2052,82 unequal: No Solution
No 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: 82:[14, 63], Operations: ['36-22=14', '90-27=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
1,
44,
15
] | 24 | [
"36-1=35",
"44+15=59",
"59-35=24"
] | Current State: 24:[36, 1, 44, 15], Operations: []
Exploring Operation: 36-1=35, Resulting Numbers: [44, 15, 35]
Generated Node #2: [44, 15, 35] from Operation: 36-1=35
Current State: 24:[44, 15, 35], Operations: ['36-1=35']
Exploring Operation: 44+15=59, Resulting Numbers: [35, 59]
Generated Node #3: [35, 59] from Operation: 44+15=59
Current State: 24:[35, 59], Operations: ['36-1=35', '44+15=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[36, 1, 44, 15], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [1, 15, 8]
Generated Node #0,0: 24:[1, 15, 8] Operation: 44-36=8
Exploring Operation: 44-15=29, Resulting Numbers: [36, 1, 29]
Generated Node #0,1: 24:[36, 1, 29] Operation: 44-15=29
Exploring Operation: 36-15=21, Resulting Numbers: [1, 44, 21]
Generated Node #0,2: 24:[1, 44, 21] Operation: 36-15=21
Moving to Node #0,0
Current State: 24:[1, 15, 8], Operations: ['44-36=8']
Exploring Operation: 15-1=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 24:[8, 14] Operation: 15-1=14
Exploring Operation: 15+8=23, Resulting Numbers: [1, 23]
Generated Node #0,0,1: 24:[1, 23] Operation: 15+8=23
Exploring Operation: 15-8=7, Resulting Numbers: [1, 7]
Generated Node #0,0,2: 24:[1, 7] Operation: 15-8=7
Moving to Node #0,1
Current State: 24:[36, 1, 29], Operations: ['44-15=29']
Exploring Operation: 36-1=35, Resulting Numbers: [29, 35]
Generated Node #0,1,0: 24:[29, 35] Operation: 36-1=35
Exploring Operation: 36-29=7, Resulting Numbers: [1, 7]
Generated Node #0,1,1: 24:[1, 7] Operation: 36-29=7
Exploring Operation: 29-1=28, Resulting Numbers: [36, 28]
Generated Node #0,1,2: 24:[36, 28] Operation: 29-1=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[1, 7], Operations: ['44-15=29', '36-29=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No 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: 24:[29, 35], Operations: ['44-15=29', '36-1=35']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,24 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,24 unequal: No Solution
No 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: 24:[36, 28], Operations: ['44-15=29', '29-1=28']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,24 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,24 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: 24:[1, 44, 21], Operations: ['36-15=21']
Exploring Operation: 44-21=23, Resulting Numbers: [1, 23]
Generated Node #0,2,0: 24:[1, 23] Operation: 44-21=23
Exploring Operation: 1+21=22, Resulting Numbers: [44, 22]
Generated Node #0,2,1: 24:[44, 22] Operation: 1+21=22
Exploring Operation: 44-1=43, Resulting Numbers: [21, 43]
Generated Node #0,2,2: 24:[21, 43] Operation: 44-1=43
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[1, 23], Operations: ['36-15=21', '44-21=23']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[36, 1, 44, 15], Operations: []
Exploring Operation: 36-15=21, Resulting Numbers: [1, 44, 21]
Generated Node #0,2: 24:[1, 44, 21] Operation: 36-15=21
Moving to Node #0,2
Current State: 24:[1, 44, 21], Operations: ['36-15=21']
Exploring Operation: 44-21=23, Resulting Numbers: [1, 23]
Generated Node #0,2,0: 24:[1, 23] Operation: 44-21=23
Moving to Node #0,2,0
Current State: 24:[1, 23], Operations: ['36-15=21', '44-21=23']
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
44,
3,
30,
37
] | 34 | [
"44-3=41",
"37-30=7",
"41-7=34"
] | Current State: 34:[44, 3, 30, 37], Operations: []
Exploring Operation: 44-3=41, Resulting Numbers: [30, 37, 41]
Generated Node #2: [30, 37, 41] from Operation: 44-3=41
Current State: 34:[30, 37, 41], Operations: ['44-3=41']
Exploring Operation: 37-30=7, Resulting Numbers: [41, 7]
Generated Node #3: [41, 7] from Operation: 37-30=7
Current State: 34:[41, 7], Operations: ['44-3=41', '37-30=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[44, 3, 30, 37], Operations: []
Exploring Operation: 3+30=33, Resulting Numbers: [44, 37, 33]
Generated Node #0,0: 34:[44, 37, 33] Operation: 3+30=33
Exploring Operation: 44-3=41, Resulting Numbers: [30, 37, 41]
Generated Node #0,1: 34:[30, 37, 41] Operation: 44-3=41
Exploring Operation: 44-37=7, Resulting Numbers: [3, 30, 7]
Generated Node #0,2: 34:[3, 30, 7] Operation: 44-37=7
Exploring Operation: 44-30=14, Resulting Numbers: [3, 37, 14]
Generated Node #0,3: 34:[3, 37, 14] Operation: 44-30=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[3, 37, 14], Operations: ['44-30=14']
Exploring Operation: 37-3=34, Resulting Numbers: [14, 34]
Generated Node #0,3,0: 34:[14, 34] Operation: 37-3=34
Exploring Operation: 3+37=40, Resulting Numbers: [14, 40]
Generated Node #0,3,1: 34:[14, 40] Operation: 3+37=40
Exploring Operation: 37-14=23, Resulting Numbers: [3, 23]
Generated Node #0,3,2: 34:[3, 23] Operation: 37-14=23
Exploring Operation: 3+14=17, Resulting Numbers: [37, 17]
Generated Node #0,3,3: 34:[37, 17] Operation: 3+14=17
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[14, 34], Operations: ['44-30=14', '37-3=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,34 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,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,3,3
Current State: 34:[37, 17], Operations: ['44-30=14', '3+14=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,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,3,2
Current State: 34:[3, 23], Operations: ['44-30=14', '37-14=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,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,3,1
Current State: 34:[14, 40], Operations: ['44-30=14', '3+37=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,34 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[3, 30, 7], Operations: ['44-37=7']
Exploring Operation: 7-3=4, Resulting Numbers: [30, 4]
Generated Node #0,2,0: 34:[30, 4] Operation: 7-3=4
Exploring Operation: 30+7=37, Resulting Numbers: [3, 37]
Generated Node #0,2,1: 34:[3, 37] Operation: 30+7=37
Exploring Operation: 30-7=23, Resulting Numbers: [3, 23]
Generated Node #0,2,2: 34:[3, 23] Operation: 30-7=23
Exploring Operation: 3+30=33, Resulting Numbers: [7, 33]
Generated Node #0,2,3: 34:[7, 33] Operation: 3+30=33
Moving to Node #0,2,1
Current State: 34:[3, 37], Operations: ['44-37=7', '30+7=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[44, 3, 30, 37], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [3, 30, 7]
Generated Node #0,2: 34:[3, 30, 7] Operation: 44-37=7
Moving to Node #0,2
Current State: 34:[3, 30, 7], Operations: ['44-37=7']
Exploring Operation: 30+7=37, Resulting Numbers: [3, 37]
Generated Node #0,2,1: 34:[3, 37] Operation: 30+7=37
Moving to Node #0,2,1
Current State: 34:[3, 37], Operations: ['44-37=7', '30+7=37']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
73,
28,
73,
57
] | 86 | [
"73/73=1",
"28+57=85",
"1+85=86"
] | Current State: 86:[73, 28, 73, 57], Operations: []
Exploring Operation: 73/73=1, Resulting Numbers: [28, 57, 1]
Generated Node #2: [28, 57, 1] from Operation: 73/73=1
Current State: 86:[28, 57, 1], Operations: ['73/73=1']
Exploring Operation: 28+57=85, Resulting Numbers: [1, 85]
Generated Node #3: [1, 85] from Operation: 28+57=85
Current State: 86:[1, 85], Operations: ['73/73=1', '28+57=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[73, 28, 73, 57], Operations: []
Exploring Operation: 73/73=1, Resulting Numbers: [28, 57, 1]
Generated Node #0,0: 86:[28, 57, 1] Operation: 73/73=1
Exploring Operation: 73-73=0, Resulting Numbers: [28, 57, 0]
Generated Node #0,1: 86:[28, 57, 0] Operation: 73-73=0
Exploring Operation: 73-28=45, Resulting Numbers: [73, 57, 45]
Generated Node #0,2: 86:[73, 57, 45] Operation: 73-28=45
Exploring Operation: 73-28=45, Resulting Numbers: [73, 57, 45]
Generated Node #0,3: 86:[73, 57, 45] Operation: 73-28=45
Exploring Operation: 28+57=85, Resulting Numbers: [73, 73, 85]
Generated Node #0,4: 86:[73, 73, 85] Operation: 28+57=85
Moving to Node #0,4
Current State: 86:[73, 73, 85], Operations: ['28+57=85']
Exploring Operation: 73+73=146, Resulting Numbers: [85, 146]
Generated Node #0,4,0: 86:[85, 146] Operation: 73+73=146
Exploring Operation: 73-73=0, Resulting Numbers: [85, 0]
Generated Node #0,4,1: 86:[85, 0] Operation: 73-73=0
Exploring Operation: 73/73=1, Resulting Numbers: [85, 1]
Generated Node #0,4,2: 86:[85, 1] Operation: 73/73=1
Exploring Operation: 85-73=12, Resulting Numbers: [73, 12]
Generated Node #0,4,3: 86:[73, 12] Operation: 85-73=12
Exploring Operation: 85-73=12, Resulting Numbers: [73, 12]
Generated Node #0,4,4: 86:[73, 12] Operation: 85-73=12
Moving to Node #0,3
Current State: 86:[73, 57, 45], Operations: ['73-28=45']
Exploring Operation: 73-45=28, Resulting Numbers: [57, 28]
Generated Node #0,3,0: 86:[57, 28] Operation: 73-45=28
Exploring Operation: 57+45=102, Resulting Numbers: [73, 102]
Generated Node #0,3,1: 86:[73, 102] Operation: 57+45=102
Exploring Operation: 73-57=16, Resulting Numbers: [45, 16]
Generated Node #0,3,2: 86:[45, 16] Operation: 73-57=16
Exploring Operation: 73+57=130, Resulting Numbers: [45, 130]
Generated Node #0,3,3: 86:[45, 130] Operation: 73+57=130
Exploring Operation: 57-45=12, Resulting Numbers: [73, 12]
Generated Node #0,3,4: 86:[73, 12] Operation: 57-45=12
Moving to Node #0,2
Current State: 86:[73, 57, 45], Operations: ['73-28=45']
Exploring Operation: 73+57=130, Resulting Numbers: [45, 130]
Generated Node #0,2,0: 86:[45, 130] Operation: 73+57=130
Exploring Operation: 57-45=12, Resulting Numbers: [73, 12]
Generated Node #0,2,1: 86:[73, 12] Operation: 57-45=12
Exploring Operation: 73-57=16, Resulting Numbers: [45, 16]
Generated Node #0,2,2: 86:[45, 16] Operation: 73-57=16
Exploring Operation: 57+45=102, Resulting Numbers: [73, 102]
Generated Node #0,2,3: 86:[73, 102] Operation: 57+45=102
Exploring Operation: 73-45=28, Resulting Numbers: [57, 28]
Generated Node #0,2,4: 86:[57, 28] Operation: 73-45=28
Moving to Node #0,0
Current State: 86:[28, 57, 1], Operations: ['73/73=1']
Exploring Operation: 28+1=29, Resulting Numbers: [57, 29]
Generated Node #0,0,0: 86:[57, 29] Operation: 28+1=29
Exploring Operation: 57-1=56, Resulting Numbers: [28, 56]
Generated Node #0,0,1: 86:[28, 56] Operation: 57-1=56
Exploring Operation: 57-28=29, Resulting Numbers: [1, 29]
Generated Node #0,0,2: 86:[1, 29] Operation: 57-28=29
Exploring Operation: 28+57=85, Resulting Numbers: [1, 85]
Generated Node #0,0,3: 86:[1, 85] Operation: 28+57=85
Exploring Operation: 28*1=28, Resulting Numbers: [57, 28]
Generated Node #0,0,4: 86:[57, 28] Operation: 28*1=28
Moving to Node #0,1
Current State: 86:[28, 57, 0], Operations: ['73-73=0']
Exploring Operation: 57-28=29, Resulting Numbers: [0, 29]
Generated Node #0,1,0: 86:[0, 29] Operation: 57-28=29
Exploring Operation: 57*0=0, Resulting Numbers: [28, 0]
Generated Node #0,1,1: 86:[28, 0] Operation: 57*0=0
Exploring Operation: 28+0=28, Resulting Numbers: [57, 28]
Generated Node #0,1,2: 86:[57, 28] Operation: 28+0=28
Exploring Operation: 28*0=0, Resulting Numbers: [57, 0]
Generated Node #0,1,3: 86:[57, 0] Operation: 28*0=0
Exploring Operation: 28+57=85, Resulting Numbers: [0, 85]
Generated Node #0,1,4: 86:[0, 85] Operation: 28+57=85
Moving to Node #0,4,2
Current State: 86:[85, 1], Operations: ['28+57=85', '73/73=1']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[73, 28, 73, 57], Operations: []
Exploring Operation: 28+57=85, Resulting Numbers: [73, 73, 85]
Generated Node #0,4: 86:[73, 73, 85] Operation: 28+57=85
Moving to Node #0,4
Current State: 86:[73, 73, 85], Operations: ['28+57=85']
Exploring Operation: 73/73=1, Resulting Numbers: [85, 1]
Generated Node #0,4,2: 86:[85, 1] Operation: 73/73=1
Moving to Node #0,4,2
Current State: 86:[85, 1], Operations: ['28+57=85', '73/73=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.967882 | hs_5 | sum_heuristic |
[
52,
7,
92,
72
] | 39 | [
"52+7=59",
"92-72=20",
"59-20=39"
] | Current State: 39:[52, 7, 92, 72], Operations: []
Exploring Operation: 52+7=59, Resulting Numbers: [92, 72, 59]
Generated Node #2: [92, 72, 59] from Operation: 52+7=59
Current State: 39:[92, 72, 59], Operations: ['52+7=59']
Exploring Operation: 92-72=20, Resulting Numbers: [59, 20]
Generated Node #3: [59, 20] from Operation: 92-72=20
Current State: 39:[59, 20], Operations: ['52+7=59', '92-72=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[52, 7, 92, 72], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [52, 7, 20]
Generated Node #0,0: 39:[52, 7, 20] Operation: 92-72=20
Exploring Operation: 92-52=40, Resulting Numbers: [7, 72, 40]
Generated Node #0,1: 39:[7, 72, 40] Operation: 92-52=40
Moving to Node #0,0
Current State: 39:[52, 7, 20], Operations: ['92-72=20']
Exploring Operation: 52-20=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 39:[7, 32] Operation: 52-20=32
Exploring Operation: 52-7=45, Resulting Numbers: [20, 45]
Generated Node #0,0,1: 39:[20, 45] Operation: 52-7=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[7, 32], Operations: ['92-72=20', '52-20=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[52, 7, 92, 72], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [52, 7, 20]
Generated Node #0,0: 39:[52, 7, 20] Operation: 92-72=20
Moving to Node #0,0
Current State: 39:[52, 7, 20], Operations: ['92-72=20']
Exploring Operation: 52-20=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 39:[7, 32] Operation: 52-20=32
Moving to Node #0,0,0
Current State: 39:[7, 32], Operations: ['92-72=20', '52-20=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
10,
64,
10,
7
] | 64 | [
"10-10=0",
"7*0=0",
"64+0=64"
] | Current State: 64:[10, 64, 10, 7], Operations: []
Exploring Operation: 10-10=0, Resulting Numbers: [64, 7, 0]
Generated Node #2: [64, 7, 0] from Operation: 10-10=0
Current State: 64:[64, 7, 0], Operations: ['10-10=0']
Exploring Operation: 7*0=0, Resulting Numbers: [64, 0]
Generated Node #3: [64, 0] from Operation: 7*0=0
Current State: 64:[64, 0], Operations: ['10-10=0', '7*0=0']
Exploring Operation: 64+0=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[10, 64, 10, 7], Operations: []
Exploring Operation: 10/10=1, Resulting Numbers: [64, 7, 1]
Generated Node #0,0: 64:[64, 7, 1] Operation: 10/10=1
Exploring Operation: 10-10=0, Resulting Numbers: [64, 7, 0]
Generated Node #0,1: 64:[64, 7, 0] Operation: 10-10=0
Exploring Operation: 10+7=17, Resulting Numbers: [64, 10, 17]
Generated Node #0,2: 64:[64, 10, 17] Operation: 10+7=17
Exploring Operation: 10-7=3, Resulting Numbers: [64, 10, 3]
Generated Node #0,3: 64:[64, 10, 3] Operation: 10-7=3
Exploring Operation: 10+7=17, Resulting Numbers: [10, 64, 17]
Generated Node #0,4: 64:[10, 64, 17] Operation: 10+7=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[64, 7, 1], Operations: ['10/10=1']
Exploring Operation: 64/1=64, Resulting Numbers: [7, 64]
Generated Node #0,0,0: 64:[7, 64] Operation: 64/1=64
Exploring Operation: 7+1=8, Resulting Numbers: [64, 8]
Generated Node #0,0,1: 64:[64, 8] Operation: 7+1=8
Exploring Operation: 7/1=7, Resulting Numbers: [64, 7]
Generated Node #0,0,2: 64:[64, 7] Operation: 7/1=7
Exploring Operation: 7*1=7, Resulting Numbers: [64, 7]
Generated Node #0,0,3: 64:[64, 7] Operation: 7*1=7
Exploring Operation: 64*1=64, Resulting Numbers: [7, 64]
Generated Node #0,0,4: 64:[7, 64] Operation: 64*1=64
Moving to Node #0,0,1
Current State: 64:[64, 8], Operations: ['10/10=1', '7+1=8']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,64 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[64, 7], Operations: ['10/10=1', '7/1=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[7, 64], Operations: ['10/10=1', '64*1=64']
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[7, 64], Operations: ['10/10=1', '64/1=64']
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[64, 7], Operations: ['10/10=1', '7*1=7']
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[64, 7, 0], Operations: ['10-10=0']
Exploring Operation: 64+0=64, Resulting Numbers: [7, 64]
Generated Node #0,1,0: 64:[7, 64] Operation: 64+0=64
Exploring Operation: 7-0=7, Resulting Numbers: [64, 7]
Generated Node #0,1,1: 64:[64, 7] Operation: 7-0=7
Exploring Operation: 7+0=7, Resulting Numbers: [64, 7]
Generated Node #0,1,2: 64:[64, 7] Operation: 7+0=7
Exploring Operation: 64-0=64, Resulting Numbers: [7, 64]
Generated Node #0,1,3: 64:[7, 64] Operation: 64-0=64
Exploring Operation: 7*0=0, Resulting Numbers: [64, 0]
Generated Node #0,1,4: 64:[64, 0] Operation: 7*0=0
Moving to Node #0,1,0
Current State: 64:[7, 64], Operations: ['10-10=0', '64+0=64']
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[64, 7], Operations: ['10-10=0', '7+0=7']
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[64, 7], Operations: ['10-10=0', '7-0=7']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[7, 64], Operations: ['10-10=0', '64-0=64']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[64, 0], Operations: ['10-10=0', '7*0=0']
Exploring Operation: 64-0=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[10, 64, 10, 7], Operations: []
Exploring Operation: 10-10=0, Resulting Numbers: [64, 7, 0]
Generated Node #0,1: 64:[64, 7, 0] Operation: 10-10=0
Moving to Node #0,1
Current State: 64:[64, 7, 0], Operations: ['10-10=0']
Exploring Operation: 7*0=0, Resulting Numbers: [64, 0]
Generated Node #0,1,4: 64:[64, 0] Operation: 7*0=0
Moving to Node #0,1,4
Current State: 64:[64, 0], Operations: ['10-10=0', '7*0=0']
Exploring Operation: 64-0=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | sum_heuristic |
[
51,
29,
4,
67
] | 41 | [
"51-29=22",
"67-4=63",
"63-22=41"
] | Current State: 41:[51, 29, 4, 67], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [4, 67, 22]
Generated Node #2: [4, 67, 22] from Operation: 51-29=22
Current State: 41:[4, 67, 22], Operations: ['51-29=22']
Exploring Operation: 67-4=63, Resulting Numbers: [22, 63]
Generated Node #3: [22, 63] from Operation: 67-4=63
Current State: 41:[22, 63], Operations: ['51-29=22', '67-4=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[51, 29, 4, 67], Operations: []
Exploring Operation: 67-29=38, Resulting Numbers: [51, 4, 38]
Generated Node #0,0: 41:[51, 4, 38] Operation: 67-29=38
Exploring Operation: 51-4=47, Resulting Numbers: [29, 67, 47]
Generated Node #0,1: 41:[29, 67, 47] Operation: 51-4=47
Exploring Operation: 67-4=63, Resulting Numbers: [51, 29, 63]
Generated Node #0,2: 41:[51, 29, 63] Operation: 67-4=63
Exploring Operation: 51+4=55, Resulting Numbers: [29, 67, 55]
Generated Node #0,3: 41:[29, 67, 55] Operation: 51+4=55
Exploring Operation: 29+4=33, Resulting Numbers: [51, 67, 33]
Generated Node #0,4: 41:[51, 67, 33] Operation: 29+4=33
Moving to Node #0,1
Current State: 41:[29, 67, 47], Operations: ['51-4=47']
Exploring Operation: 67-29=38, Resulting Numbers: [47, 38]
Generated Node #0,1,0: 41:[47, 38] Operation: 67-29=38
Exploring Operation: 29+47=76, Resulting Numbers: [67, 76]
Generated Node #0,1,1: 41:[67, 76] Operation: 29+47=76
Exploring Operation: 67-47=20, Resulting Numbers: [29, 20]
Generated Node #0,1,2: 41:[29, 20] Operation: 67-47=20
Exploring Operation: 47-29=18, Resulting Numbers: [67, 18]
Generated Node #0,1,3: 41:[67, 18] Operation: 47-29=18
Exploring Operation: 29+67=96, Resulting Numbers: [47, 96]
Generated Node #0,1,4: 41:[47, 96] Operation: 29+67=96
Moving to Node #0,4
Current State: 41:[51, 67, 33], Operations: ['29+4=33']
Exploring Operation: 51+33=84, Resulting Numbers: [67, 84]
Generated Node #0,4,0: 41:[67, 84] Operation: 51+33=84
Exploring Operation: 51-33=18, Resulting Numbers: [67, 18]
Generated Node #0,4,1: 41:[67, 18] Operation: 51-33=18
Exploring Operation: 67-51=16, Resulting Numbers: [33, 16]
Generated Node #0,4,2: 41:[33, 16] Operation: 67-51=16
Exploring Operation: 67-33=34, Resulting Numbers: [51, 34]
Generated Node #0,4,3: 41:[51, 34] Operation: 67-33=34
Exploring Operation: 67+33=100, Resulting Numbers: [51, 100]
Generated Node #0,4,4: 41:[51, 100] Operation: 67+33=100
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[51, 34], Operations: ['29+4=33', '67-33=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,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,4,2
Current State: 41:[33, 16], Operations: ['29+4=33', '67-51=16']
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,41 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,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,4,1
Current State: 41:[67, 18], Operations: ['29+4=33', '51-33=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,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,4,0
Current State: 41:[67, 84], Operations: ['29+4=33', '51+33=84']
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,41 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,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,4,4
Current State: 41:[51, 100], Operations: ['29+4=33', '67+33=100']
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 51*100=5100, Resulting Numbers: [5100]
5100,41 unequal: No Solution
Exploring Operation: 51+100=151, Resulting Numbers: [151]
151,41 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: 41:[51, 29, 63], Operations: ['67-4=63']
Exploring Operation: 63-29=34, Resulting Numbers: [51, 34]
Generated Node #0,2,0: 41:[51, 34] Operation: 63-29=34
Exploring Operation: 29+63=92, Resulting Numbers: [51, 92]
Generated Node #0,2,1: 41:[51, 92] Operation: 29+63=92
Exploring Operation: 63-51=12, Resulting Numbers: [29, 12]
Generated Node #0,2,2: 41:[29, 12] Operation: 63-51=12
Exploring Operation: 51-29=22, Resulting Numbers: [63, 22]
Generated Node #0,2,3: 41:[63, 22] Operation: 51-29=22
Exploring Operation: 51+29=80, Resulting Numbers: [63, 80]
Generated Node #0,2,4: 41:[63, 80] Operation: 51+29=80
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[51, 34], Operations: ['67-4=63', '63-29=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,41 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,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,2
Current State: 41:[29, 12], Operations: ['67-4=63', '63-51=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,41 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[51, 29, 4, 67], Operations: []
Exploring Operation: 67-4=63, Resulting Numbers: [51, 29, 63]
Generated Node #0,2: 41:[51, 29, 63] Operation: 67-4=63
Moving to Node #0,2
Current State: 41:[51, 29, 63], Operations: ['67-4=63']
Exploring Operation: 63-51=12, Resulting Numbers: [29, 12]
Generated Node #0,2,2: 41:[29, 12] Operation: 63-51=12
Moving to Node #0,2,2
Current State: 41:[29, 12], Operations: ['67-4=63', '63-51=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | sum_heuristic |
[
84,
72,
96,
91
] | 56 | [
"84+72=156",
"96*91=8736",
"8736/156=56"
] | Current State: 56:[84, 72, 96, 91], Operations: []
Exploring Operation: 84+72=156, Resulting Numbers: [96, 91, 156]
Generated Node #2: [96, 91, 156] from Operation: 84+72=156
Current State: 56:[96, 91, 156], Operations: ['84+72=156']
Exploring Operation: 96*91=8736, Resulting Numbers: [156, 8736]
Generated Node #3: [156, 8736] from Operation: 96*91=8736
Current State: 56:[156, 8736], Operations: ['84+72=156', '96*91=8736']
Exploring Operation: 8736/156=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[84, 72, 96, 91], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [84, 72, 5]
Generated Node #0,0: 56:[84, 72, 5] Operation: 96-91=5
Exploring Operation: 91-72=19, Resulting Numbers: [84, 96, 19]
Generated Node #0,1: 56:[84, 96, 19] Operation: 91-72=19
Exploring Operation: 91-84=7, Resulting Numbers: [72, 96, 7]
Generated Node #0,2: 56:[72, 96, 7] Operation: 91-84=7
Exploring Operation: 96-72=24, Resulting Numbers: [84, 91, 24]
Generated Node #0,3: 56:[84, 91, 24] Operation: 96-72=24
Exploring Operation: 96-84=12, Resulting Numbers: [72, 91, 12]
Generated Node #0,4: 56:[72, 91, 12] Operation: 96-84=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[84, 72, 5], Operations: ['96-91=5']
Exploring Operation: 84+5=89, Resulting Numbers: [72, 89]
Generated Node #0,0,0: 56:[72, 89] Operation: 84+5=89
Exploring Operation: 72-5=67, Resulting Numbers: [84, 67]
Generated Node #0,0,1: 56:[84, 67] Operation: 72-5=67
Exploring Operation: 72+5=77, Resulting Numbers: [84, 77]
Generated Node #0,0,2: 56:[84, 77] Operation: 72+5=77
Exploring Operation: 84-72=12, Resulting Numbers: [5, 12]
Generated Node #0,0,3: 56:[5, 12] Operation: 84-72=12
Exploring Operation: 84-5=79, Resulting Numbers: [72, 79]
Generated Node #0,0,4: 56:[72, 79] Operation: 84-5=79
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[5, 12], Operations: ['96-91=5', '84-72=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,56 unequal: No Solution
No 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: 56:[84, 67], Operations: ['96-91=5', '72-5=67']
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 84+67=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 84*67=5628, Resulting Numbers: [5628]
5628,56 unequal: No Solution
No 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: 56:[72, 79], Operations: ['96-91=5', '84-5=79']
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,56 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,56 unequal: No Solution
No 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: 56:[72, 89], Operations: ['96-91=5', '84+5=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,56 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,56 unequal: No Solution
No 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: 56:[84, 77], Operations: ['96-91=5', '72+5=77']
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,56 unequal: No Solution
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,56 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,56 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: 56:[72, 91, 12], Operations: ['96-84=12']
Exploring Operation: 72-12=60, Resulting Numbers: [91, 60]
Generated Node #0,4,0: 56:[91, 60] Operation: 72-12=60
Exploring Operation: 91-72=19, Resulting Numbers: [12, 19]
Generated Node #0,4,1: 56:[12, 19] Operation: 91-72=19
Exploring Operation: 91-12=79, Resulting Numbers: [72, 79]
Generated Node #0,4,2: 56:[72, 79] Operation: 91-12=79
Exploring Operation: 72/12=6, Resulting Numbers: [91, 6]
Generated Node #0,4,3: 56:[91, 6] Operation: 72/12=6
Exploring Operation: 72+12=84, Resulting Numbers: [91, 84]
Generated Node #0,4,4: 56:[91, 84] Operation: 72+12=84
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 56:[12, 19], Operations: ['96-84=12', '91-72=19']
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,56 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No 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: 56:[91, 6], Operations: ['96-84=12', '72/12=6']
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,56 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,56 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,56 unequal: No Solution
No 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: 56:[91, 60], Operations: ['96-84=12', '72-12=60']
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,56 unequal: No Solution
No 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: 56:[72, 79], Operations: ['96-84=12', '91-12=79']
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,56 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,56 unequal: No Solution
No 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: 56:[91, 84], Operations: ['96-84=12', '72+12=84']
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 91*84=7644, Resulting Numbers: [7644]
7644,56 unequal: No Solution
Exploring Operation: 91+84=175, Resulting Numbers: [175]
175,56 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: 56:[72, 96, 7], Operations: ['91-84=7']
Exploring Operation: 96-7=89, Resulting Numbers: [72, 89]
Generated Node #0,2,0: 56:[72, 89] Operation: 96-7=89
Exploring Operation: 96-72=24, Resulting Numbers: [7, 24]
Generated Node #0,2,1: 56:[7, 24] Operation: 96-72=24
Exploring Operation: 96+7=103, Resulting Numbers: [72, 103]
Generated Node #0,2,2: 56:[72, 103] Operation: 96+7=103
Exploring Operation: 72-7=65, Resulting Numbers: [96, 65]
Generated Node #0,2,3: 56:[96, 65] Operation: 72-7=65
Exploring Operation: 72+7=79, Resulting Numbers: [96, 79]
Generated Node #0,2,4: 56:[96, 79] Operation: 72+7=79
Moving to Node #0,2,1
Current State: 56:[7, 24], Operations: ['91-84=7', '96-72=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[96, 65], Operations: ['91-84=7', '72-7=65']
Exploring Operation: 96*65=6240, Resulting Numbers: [6240]
6240,56 unequal: No Solution
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 96+65=161, Resulting Numbers: [161]
161,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[72, 89], Operations: ['91-84=7', '96-7=89']
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,56 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[72, 103], Operations: ['91-84=7', '96+7=103']
Exploring Operation: 72*103=7416, Resulting Numbers: [7416]
7416,56 unequal: No Solution
Exploring Operation: 72+103=175, Resulting Numbers: [175]
175,56 unequal: No Solution
Exploring Operation: 103-72=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Moving to Node #0,2,4
Current State: 56:[96, 79], Operations: ['91-84=7', '72+7=79']
Exploring Operation: 96*79=7584, Resulting Numbers: [7584]
7584,56 unequal: No Solution
Exploring Operation: 96+79=175, Resulting Numbers: [175]
175,56 unequal: No Solution
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[84, 91, 24], Operations: ['96-72=24']
Exploring Operation: 84-24=60, Resulting Numbers: [91, 60]
Generated Node #0,3,0: 56:[91, 60] Operation: 84-24=60
Exploring Operation: 84+24=108, Resulting Numbers: [91, 108]
Generated Node #0,3,1: 56:[91, 108] Operation: 84+24=108
Exploring Operation: 91+24=115, Resulting Numbers: [84, 115]
Generated Node #0,3,2: 56:[84, 115] Operation: 91+24=115
Exploring Operation: 91-84=7, Resulting Numbers: [24, 7]
Generated Node #0,3,3: 56:[24, 7] Operation: 91-84=7
Exploring Operation: 91-24=67, Resulting Numbers: [84, 67]
Generated Node #0,3,4: 56:[84, 67] Operation: 91-24=67
Moving to Node #0,3,3
Current State: 56:[24, 7], Operations: ['96-72=24', '91-84=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Moving to Node #0,3,4
Current State: 56:[84, 67], Operations: ['96-72=24', '91-24=67']
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 84+67=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 84*67=5628, Resulting Numbers: [5628]
5628,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[91, 60], Operations: ['96-72=24', '84-24=60']
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[91, 108], Operations: ['96-72=24', '84+24=108']
Exploring Operation: 108-91=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 91+108=199, Resulting Numbers: [199]
199,56 unequal: No Solution
Exploring Operation: 91*108=9828, Resulting Numbers: [9828]
9828,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[84, 115], Operations: ['96-72=24', '91+24=115']
Exploring Operation: 84*115=9660, Resulting Numbers: [9660]
9660,56 unequal: No Solution
Exploring Operation: 84+115=199, Resulting Numbers: [199]
199,56 unequal: No Solution
Exploring Operation: 115-84=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[84, 96, 19], Operations: ['91-72=19']
Exploring Operation: 96+19=115, Resulting Numbers: [84, 115]
Generated Node #0,1,0: 56:[84, 115] Operation: 96+19=115
Exploring Operation: 84-19=65, Resulting Numbers: [96, 65]
Generated Node #0,1,1: 56:[96, 65] Operation: 84-19=65
Exploring Operation: 84+19=103, Resulting Numbers: [96, 103]
Generated Node #0,1,2: 56:[96, 103] Operation: 84+19=103
Exploring Operation: 96-84=12, Resulting Numbers: [19, 12]
Generated Node #0,1,3: 56:[19, 12] Operation: 96-84=12
Exploring Operation: 96-19=77, Resulting Numbers: [84, 77]
Generated Node #0,1,4: 56:[84, 77] Operation: 96-19=77
Moving to Node #0,1,3
Current State: 56:[19, 12], Operations: ['91-72=19', '96-84=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,56 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Moving to Node #0,1,4
Current State: 56:[84, 77], Operations: ['91-72=19', '96-19=77']
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,56 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[96, 65], Operations: ['91-72=19', '84-19=65']
Exploring Operation: 96+65=161, Resulting Numbers: [161]
161,56 unequal: No Solution
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 96*65=6240, Resulting Numbers: [6240]
6240,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[84, 115], Operations: ['91-72=19', '96+19=115']
Exploring Operation: 115-84=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 84+115=199, Resulting Numbers: [199]
199,56 unequal: No Solution
Exploring Operation: 84*115=9660, Resulting Numbers: [9660]
9660,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[96, 103], Operations: ['91-72=19', '84+19=103']
Exploring Operation: 96+103=199, Resulting Numbers: [199]
199,56 unequal: No Solution
Exploring Operation: 96*103=9888, Resulting Numbers: [9888]
9888,56 unequal: No Solution
Exploring Operation: 103-96=7, Resulting Numbers: [7]
7,56 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 |
[
69,
66,
66,
79
] | 39 | [
"69-66=3",
"79-66=13",
"3*13=39"
] | Current State: 39:[69, 66, 66, 79], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [79, 3]
Generated Node #2: [79, 3] from Operation: 69-66=3
Current State: 39:[79, 3], Operations: ['69-66=3']
Exploring Operation: 79-66=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 79-66=13
Current State: 39:[3, 13], Operations: ['69-66=3', '79-66=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[69, 66, 66, 79], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [69, 66, 13]
Generated Node #0,0: 39:[69, 66, 13] Operation: 79-66=13
Exploring Operation: 79-66=13, Resulting Numbers: [69, 66, 13]
Generated Node #0,1: 39:[69, 66, 13] Operation: 79-66=13
Exploring Operation: 79-69=10, Resulting Numbers: [66, 66, 10]
Generated Node #0,2: 39:[66, 66, 10] Operation: 79-69=10
Exploring Operation: 69-66=3, Resulting Numbers: [66, 79, 3]
Generated Node #0,3: 39:[66, 79, 3] Operation: 69-66=3
Exploring Operation: 69-66=3, Resulting Numbers: [66, 79, 3]
Generated Node #0,4: 39:[66, 79, 3] Operation: 69-66=3
Moving to Node #0,0
Current State: 39:[69, 66, 13], Operations: ['79-66=13']
Exploring Operation: 69-66=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 39:[13, 3] Operation: 69-66=3
Exploring Operation: 66-13=53, Resulting Numbers: [69, 53]
Generated Node #0,0,1: 39:[69, 53] Operation: 66-13=53
Exploring Operation: 69-13=56, Resulting Numbers: [66, 56]
Generated Node #0,0,2: 39:[66, 56] Operation: 69-13=56
Exploring Operation: 66+13=79, Resulting Numbers: [69, 79]
Generated Node #0,0,3: 39:[69, 79] Operation: 66+13=79
Exploring Operation: 69+13=82, Resulting Numbers: [66, 82]
Generated Node #0,0,4: 39:[66, 82] Operation: 69+13=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[13, 3], Operations: ['79-66=13', '69-66=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[69, 66, 66, 79], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [69, 66, 13]
Generated Node #0,0: 39:[69, 66, 13] Operation: 79-66=13
Moving to Node #0,0
Current State: 39:[69, 66, 13], Operations: ['79-66=13']
Exploring Operation: 69-66=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 39:[13, 3] Operation: 69-66=3
Moving to Node #0,0,0
Current State: 39:[13, 3], Operations: ['79-66=13', '69-66=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
1,
8,
4,
17
] | 32 | [
"1+8=9",
"17-9=8",
"4*8=32"
] | Current State: 32:[1, 8, 4, 17], Operations: []
Exploring Operation: 1+8=9, Resulting Numbers: [4, 17, 9]
Generated Node #2: [4, 17, 9] from Operation: 1+8=9
Current State: 32:[4, 17, 9], Operations: ['1+8=9']
Exploring Operation: 17-9=8, Resulting Numbers: [4, 8]
Generated Node #3: [4, 8] from Operation: 17-9=8
Current State: 32:[4, 8], Operations: ['1+8=9', '17-9=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[1, 8, 4, 17], Operations: []
Exploring Operation: 17-1=16, Resulting Numbers: [8, 4, 16]
Generated Node #0,0: 32:[8, 4, 16] Operation: 17-1=16
Exploring Operation: 1*4=4, Resulting Numbers: [8, 17, 4]
Generated Node #0,1: 32:[8, 17, 4] Operation: 1*4=4
Exploring Operation: 8/1=8, Resulting Numbers: [4, 17, 8]
Generated Node #0,2: 32:[4, 17, 8] Operation: 8/1=8
Exploring Operation: 1*8=8, Resulting Numbers: [4, 17, 8]
Generated Node #0,3: 32:[4, 17, 8] Operation: 1*8=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[8, 4, 16], Operations: ['17-1=16']
Exploring Operation: 8*4=32, Resulting Numbers: [16, 32]
Generated Node #0,0,0: 32:[16, 32] Operation: 8*4=32
Exploring Operation: 8-4=4, Resulting Numbers: [16, 4]
Generated Node #0,0,1: 32:[16, 4] Operation: 8-4=4
Exploring Operation: 16-8=8, Resulting Numbers: [4, 8]
Generated Node #0,0,2: 32:[4, 8] Operation: 16-8=8
Exploring Operation: 8/4=2, Resulting Numbers: [16, 2]
Generated Node #0,0,3: 32:[16, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[16, 32], Operations: ['17-1=16', '8*4=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,32 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[16, 4], Operations: ['17-1=16', '8-4=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,32 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[4, 8], Operations: ['17-1=16', '16-8=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[1, 8, 4, 17], Operations: []
Exploring Operation: 17-1=16, Resulting Numbers: [8, 4, 16]
Generated Node #0,0: 32:[8, 4, 16] Operation: 17-1=16
Moving to Node #0,0
Current State: 32:[8, 4, 16], Operations: ['17-1=16']
Exploring Operation: 16-8=8, Resulting Numbers: [4, 8]
Generated Node #0,0,2: 32:[4, 8] Operation: 16-8=8
Moving to Node #0,0,2
Current State: 32:[4, 8], Operations: ['17-1=16', '16-8=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
93,
28,
14,
31
] | 60 | [
"93-31=62",
"28/14=2",
"62-2=60"
] | Current State: 60:[93, 28, 14, 31], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [28, 14, 62]
Generated Node #2: [28, 14, 62] from Operation: 93-31=62
Current State: 60:[28, 14, 62], Operations: ['93-31=62']
Exploring Operation: 28/14=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 28/14=2
Current State: 60:[62, 2], Operations: ['93-31=62', '28/14=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[93, 28, 14, 31], Operations: []
Exploring Operation: 93-28=65, Resulting Numbers: [14, 31, 65]
Generated Node #0,0: 60:[14, 31, 65] Operation: 93-28=65
Exploring Operation: 93/31=3, Resulting Numbers: [28, 14, 3]
Generated Node #0,1: 60:[28, 14, 3] Operation: 93/31=3
Exploring Operation: 93-31=62, Resulting Numbers: [28, 14, 62]
Generated Node #0,2: 60:[28, 14, 62] Operation: 93-31=62
Exploring Operation: 93-14=79, Resulting Numbers: [28, 31, 79]
Generated Node #0,3: 60:[28, 31, 79] Operation: 93-14=79
Exploring Operation: 28/14=2, Resulting Numbers: [93, 31, 2]
Generated Node #0,4: 60:[93, 31, 2] Operation: 28/14=2
Moving to Node #0,1
Current State: 60:[28, 14, 3], Operations: ['93/31=3']
Exploring Operation: 28+3=31, Resulting Numbers: [14, 31]
Generated Node #0,1,0: 60:[14, 31] Operation: 28+3=31
Exploring Operation: 28/14=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 60:[3, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [3, 14]
Generated Node #0,1,2: 60:[3, 14] Operation: 28-14=14
Exploring Operation: 14-3=11, Resulting Numbers: [28, 11]
Generated Node #0,1,3: 60:[28, 11] Operation: 14-3=11
Exploring Operation: 14+3=17, Resulting Numbers: [28, 17]
Generated Node #0,1,4: 60:[28, 17] Operation: 14+3=17
Moving to Node #0,2
Current State: 60:[28, 14, 62], Operations: ['93-31=62']
Exploring Operation: 28-14=14, Resulting Numbers: [62, 14]
Generated Node #0,2,0: 60:[62, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [62, 2]
Generated Node #0,2,1: 60:[62, 2] Operation: 28/14=2
Exploring Operation: 28+14=42, Resulting Numbers: [62, 42]
Generated Node #0,2,2: 60:[62, 42] Operation: 28+14=42
Exploring Operation: 62-28=34, Resulting Numbers: [14, 34]
Generated Node #0,2,3: 60:[14, 34] Operation: 62-28=34
Exploring Operation: 62-14=48, Resulting Numbers: [28, 48]
Generated Node #0,2,4: 60:[28, 48] Operation: 62-14=48
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[62, 2], Operations: ['93-31=62', '28/14=2']
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,60 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[93, 28, 14, 31], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [28, 14, 62]
Generated Node #0,2: 60:[28, 14, 62] Operation: 93-31=62
Moving to Node #0,2
Current State: 60:[28, 14, 62], Operations: ['93-31=62']
Exploring Operation: 28/14=2, Resulting Numbers: [62, 2]
Generated Node #0,2,1: 60:[62, 2] Operation: 28/14=2
Moving to Node #0,2,1
Current State: 60:[62, 2], Operations: ['93-31=62', '28/14=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
74,
56,
24,
70
] | 38 | [
"74-70=4",
"56/4=14",
"24+14=38"
] | Current State: 38:[74, 56, 24, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [56, 24, 4]
Generated Node #2: [56, 24, 4] from Operation: 74-70=4
Current State: 38:[56, 24, 4], Operations: ['74-70=4']
Exploring Operation: 56/4=14, Resulting Numbers: [24, 14]
Generated Node #3: [24, 14] from Operation: 56/4=14
Current State: 38:[24, 14], Operations: ['74-70=4', '56/4=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[74, 56, 24, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [56, 24, 4]
Generated Node #0,0: 38:[56, 24, 4] Operation: 74-70=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[56, 24, 4], Operations: ['74-70=4']
Exploring Operation: 56-24=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 38:[4, 32] Operation: 56-24=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[4, 32], Operations: ['74-70=4', '56-24=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
59,
62,
31,
30
] | 21 | [
"62-59=3",
"30/3=10",
"31-10=21"
] | Current State: 21:[59, 62, 31, 30], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [31, 30, 3]
Generated Node #2: [31, 30, 3] from Operation: 62-59=3
Current State: 21:[31, 30, 3], Operations: ['62-59=3']
Exploring Operation: 30/3=10, Resulting Numbers: [31, 10]
Generated Node #3: [31, 10] from Operation: 30/3=10
Current State: 21:[31, 10], Operations: ['62-59=3', '30/3=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[59, 62, 31, 30], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [31, 30, 3]
Generated Node #0,0: 21:[31, 30, 3] Operation: 62-59=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[31, 30, 3], Operations: ['62-59=3']
Exploring Operation: 31-30=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 21:[3, 1] Operation: 31-30=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[3, 1], Operations: ['62-59=3', '31-30=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
27,
53,
3
] | 59 | [
"30-27=3",
"53+3=56",
"3+56=59"
] | Current State: 59:[30, 27, 53, 3], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [53, 3, 3]
Generated Node #2: [53, 3, 3] from Operation: 30-27=3
Current State: 59:[53, 3, 3], Operations: ['30-27=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,59 equal: Goal Reached
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[30, 27, 53, 3], Operations: []
Exploring Operation: 27*3=81, Resulting Numbers: [30, 53, 81]
Generated Node #0,0: 59:[30, 53, 81] Operation: 27*3=81
Exploring Operation: 30+27=57, Resulting Numbers: [53, 3, 57]
Generated Node #0,1: 59:[53, 3, 57] Operation: 30+27=57
Exploring Operation: 30+3=33, Resulting Numbers: [27, 53, 33]
Generated Node #0,2: 59:[27, 53, 33] Operation: 30+3=33
Exploring Operation: 27+3=30, Resulting Numbers: [30, 53, 30]
Generated Node #0,3: 59:[30, 53, 30] Operation: 27+3=30
Moving to Node #0,0
Current State: 59:[30, 53, 81], Operations: ['27*3=81']
Exploring Operation: 53-30=23, Resulting Numbers: [81, 23]
Generated Node #0,0,0: 59:[81, 23] Operation: 53-30=23
Exploring Operation: 81-30=51, Resulting Numbers: [53, 51]
Generated Node #0,0,1: 59:[53, 51] Operation: 81-30=51
Exploring Operation: 30+81=111, Resulting Numbers: [53, 111]
Generated Node #0,0,2: 59:[53, 111] Operation: 30+81=111
Exploring Operation: 30+53=83, Resulting Numbers: [81, 83]
Generated Node #0,0,3: 59:[81, 83] Operation: 30+53=83
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[53, 51], Operations: ['27*3=81', '81-30=51']
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,59 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[81, 83], Operations: ['27*3=81', '30+53=83']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 81*83=6723, Resulting Numbers: [6723]
6723,59 unequal: No Solution
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[81, 23], Operations: ['27*3=81', '53-30=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,59 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[53, 111], Operations: ['27*3=81', '30+81=111']
Exploring Operation: 53*111=5883, Resulting Numbers: [5883]
5883,59 unequal: No Solution
Exploring Operation: 111-53=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 53+111=164, Resulting Numbers: [164]
164,59 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: 59:[27, 53, 33], Operations: ['30+3=33']
Exploring Operation: 27+53=80, Resulting Numbers: [33, 80]
Generated Node #0,2,0: 59:[33, 80] Operation: 27+53=80
Exploring Operation: 27+33=60, Resulting Numbers: [53, 60]
Generated Node #0,2,1: 59:[53, 60] Operation: 27+33=60
Exploring Operation: 33-27=6, Resulting Numbers: [53, 6]
Generated Node #0,2,2: 59:[53, 6] Operation: 33-27=6
Exploring Operation: 53-27=26, Resulting Numbers: [33, 26]
Generated Node #0,2,3: 59:[33, 26] Operation: 53-27=26
Moving to Node #0,1
Current State: 59:[53, 3, 57], Operations: ['30+27=57']
Exploring Operation: 53-3=50, Resulting Numbers: [57, 50]
Generated Node #0,1,0: 59:[57, 50] Operation: 53-3=50
Exploring Operation: 3+57=60, Resulting Numbers: [53, 60]
Generated Node #0,1,1: 59:[53, 60] Operation: 3+57=60
Exploring Operation: 53+3=56, Resulting Numbers: [57, 56]
Generated Node #0,1,2: 59:[57, 56] Operation: 53+3=56
Exploring Operation: 57-3=54, Resulting Numbers: [53, 54]
Generated Node #0,1,3: 59:[53, 54] Operation: 57-3=54
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[57, 56], Operations: ['30+27=57', '53+3=56']
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,59 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,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,1,1
Current State: 59:[53, 60], Operations: ['30+27=57', '3+57=60']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,59 unequal: No Solution
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,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,1,0
Current State: 59:[57, 50], Operations: ['30+27=57', '53-3=50']
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,59 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,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,1,3
Current State: 59:[53, 54], Operations: ['30+27=57', '57-3=54']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 53*54=2862, Resulting Numbers: [2862]
2862,59 unequal: No Solution
Exploring Operation: 53+54=107, Resulting Numbers: [107]
107,59 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: 59:[30, 53, 30], Operations: ['27+3=30']
Exploring Operation: 30+53=83, Resulting Numbers: [30, 83]
Generated Node #0,3,0: 59:[30, 83] Operation: 30+53=83
Exploring Operation: 53+30=83, Resulting Numbers: [30, 83]
Generated Node #0,3,1: 59:[30, 83] Operation: 53+30=83
Exploring Operation: 30+30=60, Resulting Numbers: [53, 60]
Generated Node #0,3,2: 59:[53, 60] Operation: 30+30=60
Exploring Operation: 30/30=1, Resulting Numbers: [53, 1]
Generated Node #0,3,3: 59:[53, 1] Operation: 30/30=1
Moving to Node #0,2,1
Current State: 59:[53, 60], Operations: ['30+3=33', '27+33=60']
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,59 unequal: No Solution
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[53, 60], Operations: ['27+3=30', '30+30=60']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[33, 80], Operations: ['30+3=33', '27+53=80']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 33*80=2640, Resulting Numbers: [2640]
2640,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[30, 83], Operations: ['27+3=30', '30+53=83']
Exploring Operation: 30+83=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 30*83=2490, Resulting Numbers: [2490]
2490,59 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[30, 83], Operations: ['27+3=30', '53+30=83']
Exploring Operation: 30*83=2490, Resulting Numbers: [2490]
2490,59 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 30+83=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[53, 6], Operations: ['30+3=33', '33-27=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[30, 27, 53, 3], Operations: []
Exploring Operation: 30+3=33, Resulting Numbers: [27, 53, 33]
Generated Node #0,2: 59:[27, 53, 33] Operation: 30+3=33
Moving to Node #0,2
Current State: 59:[27, 53, 33], Operations: ['30+3=33']
Exploring Operation: 33-27=6, Resulting Numbers: [53, 6]
Generated Node #0,2,2: 59:[53, 6] Operation: 33-27=6
Moving to Node #0,2,2
Current State: 59:[53, 6], Operations: ['30+3=33', '33-27=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.944444 | hs_4 | sum_heuristic |
[
26,
13,
80,
57
] | 46 | [
"26/13=2",
"80-57=23",
"2*23=46"
] | Current State: 46:[26, 13, 80, 57], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [80, 57, 2]
Generated Node #2: [80, 57, 2] from Operation: 26/13=2
Current State: 46:[80, 57, 2], Operations: ['26/13=2']
Exploring Operation: 80-57=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 80-57=23
Current State: 46:[2, 23], Operations: ['26/13=2', '80-57=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[26, 13, 80, 57], Operations: []
Exploring Operation: 80-13=67, Resulting Numbers: [26, 57, 67]
Generated Node #0,0: 46:[26, 57, 67] Operation: 80-13=67
Exploring Operation: 80-57=23, Resulting Numbers: [26, 13, 23]
Generated Node #0,1: 46:[26, 13, 23] Operation: 80-57=23
Exploring Operation: 80-26=54, Resulting Numbers: [13, 57, 54]
Generated Node #0,2: 46:[13, 57, 54] Operation: 80-26=54
Exploring Operation: 57-13=44, Resulting Numbers: [26, 80, 44]
Generated Node #0,3: 46:[26, 80, 44] Operation: 57-13=44
Exploring Operation: 26/13=2, Resulting Numbers: [80, 57, 2]
Generated Node #0,4: 46:[80, 57, 2] Operation: 26/13=2
Moving to Node #0,1
Current State: 46:[26, 13, 23], Operations: ['80-57=23']
Exploring Operation: 26-13=13, Resulting Numbers: [23, 13]
Generated Node #0,1,0: 46:[23, 13] Operation: 26-13=13
Exploring Operation: 23-13=10, Resulting Numbers: [26, 10]
Generated Node #0,1,1: 46:[26, 10] Operation: 23-13=10
Exploring Operation: 26+13=39, Resulting Numbers: [23, 39]
Generated Node #0,1,2: 46:[23, 39] Operation: 26+13=39
Exploring Operation: 26-23=3, Resulting Numbers: [13, 3]
Generated Node #0,1,3: 46:[13, 3] Operation: 26-23=3
Exploring Operation: 26/13=2, Resulting Numbers: [23, 2]
Generated Node #0,1,4: 46:[23, 2] Operation: 26/13=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[23, 2], Operations: ['80-57=23', '26/13=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[26, 13, 80, 57], Operations: []
Exploring Operation: 80-57=23, Resulting Numbers: [26, 13, 23]
Generated Node #0,1: 46:[26, 13, 23] Operation: 80-57=23
Moving to Node #0,1
Current State: 46:[26, 13, 23], Operations: ['80-57=23']
Exploring Operation: 26/13=2, Resulting Numbers: [23, 2]
Generated Node #0,1,4: 46:[23, 2] Operation: 26/13=2
Moving to Node #0,1,4
Current State: 46:[23, 2], Operations: ['80-57=23', '26/13=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
6,
95,
69,
11
] | 43 | [
"6+95=101",
"69-11=58",
"101-58=43"
] | Current State: 43:[6, 95, 69, 11], Operations: []
Exploring Operation: 6+95=101, Resulting Numbers: [69, 11, 101]
Generated Node #2: [69, 11, 101] from Operation: 6+95=101
Current State: 43:[69, 11, 101], Operations: ['6+95=101']
Exploring Operation: 69-11=58, Resulting Numbers: [101, 58]
Generated Node #3: [101, 58] from Operation: 69-11=58
Current State: 43:[101, 58], Operations: ['6+95=101', '69-11=58']
Exploring Operation: 101-58=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[6, 95, 69, 11], Operations: []
Exploring Operation: 6*11=66, Resulting Numbers: [95, 69, 66]
Generated Node #0,0: 43:[95, 69, 66] Operation: 6*11=66
Exploring Operation: 95-69=26, Resulting Numbers: [6, 11, 26]
Generated Node #0,1: 43:[6, 11, 26] Operation: 95-69=26
Exploring Operation: 95-6=89, Resulting Numbers: [69, 11, 89]
Generated Node #0,2: 43:[69, 11, 89] Operation: 95-6=89
Exploring Operation: 6+11=17, Resulting Numbers: [95, 69, 17]
Generated Node #0,3: 43:[95, 69, 17] Operation: 6+11=17
Exploring Operation: 69-6=63, Resulting Numbers: [95, 11, 63]
Generated Node #0,4: 43:[95, 11, 63] Operation: 69-6=63
Moving to Node #0,1
Current State: 43:[6, 11, 26], Operations: ['95-69=26']
Exploring Operation: 11-6=5, Resulting Numbers: [26, 5]
Generated Node #0,1,0: 43:[26, 5] Operation: 11-6=5
Exploring Operation: 11+26=37, Resulting Numbers: [6, 37]
Generated Node #0,1,1: 43:[6, 37] Operation: 11+26=37
Exploring Operation: 6+11=17, Resulting Numbers: [26, 17]
Generated Node #0,1,2: 43:[26, 17] Operation: 6+11=17
Exploring Operation: 6+26=32, Resulting Numbers: [11, 32]
Generated Node #0,1,3: 43:[11, 32] Operation: 6+26=32
Exploring Operation: 6*11=66, Resulting Numbers: [26, 66]
Generated Node #0,1,4: 43:[26, 66] Operation: 6*11=66
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 43:[26, 66], Operations: ['95-69=26', '6*11=66']
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,43 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[6, 37], Operations: ['95-69=26', '11+26=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[6, 95, 69, 11], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [6, 11, 26]
Generated Node #0,1: 43:[6, 11, 26] Operation: 95-69=26
Moving to Node #0,1
Current State: 43:[6, 11, 26], Operations: ['95-69=26']
Exploring Operation: 11+26=37, Resulting Numbers: [6, 37]
Generated Node #0,1,1: 43:[6, 37] Operation: 11+26=37
Moving to Node #0,1,1
Current State: 43:[6, 37], Operations: ['95-69=26', '11+26=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
47,
44,
42,
66
] | 21 | [
"47-44=3",
"66-42=24",
"24-3=21"
] | Current State: 21:[47, 44, 42, 66], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [42, 66, 3]
Generated Node #2: [42, 66, 3] from Operation: 47-44=3
Current State: 21:[42, 66, 3], Operations: ['47-44=3']
Exploring Operation: 66-42=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 66-42=24
Current State: 21:[3, 24], Operations: ['47-44=3', '66-42=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[47, 44, 42, 66], Operations: []
Exploring Operation: 66-44=22, Resulting Numbers: [47, 42, 22]
Generated Node #0,0: 21:[47, 42, 22] Operation: 66-44=22
Exploring Operation: 66-47=19, Resulting Numbers: [44, 42, 19]
Generated Node #0,1: 21:[44, 42, 19] Operation: 66-47=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[44, 42, 19], Operations: ['66-47=19']
Exploring Operation: 44-42=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 21:[19, 2] Operation: 44-42=2
Exploring Operation: 44-19=25, Resulting Numbers: [42, 25]
Generated Node #0,1,1: 21:[42, 25] Operation: 44-19=25
Moving to Node #0,1,0
Current State: 21:[19, 2], Operations: ['66-47=19', '44-42=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[47, 44, 42, 66], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [44, 42, 19]
Generated Node #0,1: 21:[44, 42, 19] Operation: 66-47=19
Moving to Node #0,1
Current State: 21:[44, 42, 19], Operations: ['66-47=19']
Exploring Operation: 44-42=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 21:[19, 2] Operation: 44-42=2
Moving to Node #0,1,0
Current State: 21:[19, 2], Operations: ['66-47=19', '44-42=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
59,
4,
36,
71
] | 44 | [
"59+4=63",
"36+71=107",
"107-63=44"
] | Current State: 44:[59, 4, 36, 71], Operations: []
Exploring Operation: 59+4=63, Resulting Numbers: [36, 71, 63]
Generated Node #2: [36, 71, 63] from Operation: 59+4=63
Current State: 44:[36, 71, 63], Operations: ['59+4=63']
Exploring Operation: 36+71=107, Resulting Numbers: [63, 107]
Generated Node #3: [63, 107] from Operation: 36+71=107
Current State: 44:[63, 107], Operations: ['59+4=63', '36+71=107']
Exploring Operation: 107-63=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[59, 4, 36, 71], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [4, 71, 23]
Generated Node #0,0: 44:[4, 71, 23] Operation: 59-36=23
Exploring Operation: 71-59=12, Resulting Numbers: [4, 36, 12]
Generated Node #0,1: 44:[4, 36, 12] Operation: 71-59=12
Exploring Operation: 71-36=35, Resulting Numbers: [59, 4, 35]
Generated Node #0,2: 44:[59, 4, 35] Operation: 71-36=35
Moving to Node #0,1
Current State: 44:[4, 36, 12], Operations: ['71-59=12']
Exploring Operation: 36/12=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 44:[4, 3] Operation: 36/12=3
Exploring Operation: 36/4=9, Resulting Numbers: [12, 9]
Generated Node #0,1,1: 44:[12, 9] Operation: 36/4=9
Exploring Operation: 36-12=24, Resulting Numbers: [4, 24]
Generated Node #0,1,2: 44:[4, 24] Operation: 36-12=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[4, 3], Operations: ['71-59=12', '36/12=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[4, 24], Operations: ['71-59=12', '36-12=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[12, 9], Operations: ['71-59=12', '36/4=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,44 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,44 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: 44:[59, 4, 35], Operations: ['71-36=35']
Exploring Operation: 4+35=39, Resulting Numbers: [59, 39]
Generated Node #0,2,0: 44:[59, 39] Operation: 4+35=39
Exploring Operation: 59-35=24, Resulting Numbers: [4, 24]
Generated Node #0,2,1: 44:[4, 24] Operation: 59-35=24
Exploring Operation: 59-4=55, Resulting Numbers: [35, 55]
Generated Node #0,2,2: 44:[35, 55] Operation: 59-4=55
Moving to Node #0,0
Current State: 44:[4, 71, 23], Operations: ['59-36=23']
Exploring Operation: 23-4=19, Resulting Numbers: [71, 19]
Generated Node #0,0,0: 44:[71, 19] Operation: 23-4=19
Exploring Operation: 71-4=67, Resulting Numbers: [23, 67]
Generated Node #0,0,1: 44:[23, 67] Operation: 71-4=67
Exploring Operation: 71-23=48, Resulting Numbers: [4, 48]
Generated Node #0,0,2: 44:[4, 48] Operation: 71-23=48
Moving to Node #0,2,1
Current State: 44:[4, 24], Operations: ['71-36=35', '59-35=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[4, 48], Operations: ['59-36=23', '71-23=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[59, 4, 36, 71], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [4, 71, 23]
Generated Node #0,0: 44:[4, 71, 23] Operation: 59-36=23
Moving to Node #0,0
Current State: 44:[4, 71, 23], Operations: ['59-36=23']
Exploring Operation: 71-23=48, Resulting Numbers: [4, 48]
Generated Node #0,0,2: 44:[4, 48] Operation: 71-23=48
Moving to Node #0,0,2
Current State: 44:[4, 48], Operations: ['59-36=23', '71-23=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
72,
18,
41,
41
] | 89 | [
"72+18=90",
"41/41=1",
"90-1=89"
] | Current State: 89:[72, 18, 41, 41], Operations: []
Exploring Operation: 72+18=90, Resulting Numbers: [41, 41, 90]
Generated Node #2: [41, 41, 90] from Operation: 72+18=90
Current State: 89:[41, 41, 90], Operations: ['72+18=90']
Exploring Operation: 41/41=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 41/41=1
Current State: 89:[90, 1], Operations: ['72+18=90', '41/41=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[72, 18, 41, 41], Operations: []
Exploring Operation: 18+41=59, Resulting Numbers: [72, 41, 59]
Generated Node #0,0: 89:[72, 41, 59] Operation: 18+41=59
Exploring Operation: 72+18=90, Resulting Numbers: [41, 41, 90]
Generated Node #0,1: 89:[41, 41, 90] Operation: 72+18=90
Exploring Operation: 18+41=59, Resulting Numbers: [72, 41, 59]
Generated Node #0,2: 89:[72, 41, 59] Operation: 18+41=59
Exploring Operation: 41+41=82, Resulting Numbers: [72, 18, 82]
Generated Node #0,3: 89:[72, 18, 82] Operation: 41+41=82
Moving to Node #0,0
Current State: 89:[72, 41, 59], Operations: ['18+41=59']
Exploring Operation: 72-41=31, Resulting Numbers: [59, 31]
Generated Node #0,0,0: 89:[59, 31] Operation: 72-41=31
Exploring Operation: 72+41=113, Resulting Numbers: [59, 113]
Generated Node #0,0,1: 89:[59, 113] Operation: 72+41=113
Exploring Operation: 41+59=100, Resulting Numbers: [72, 100]
Generated Node #0,0,2: 89:[72, 100] Operation: 41+59=100
Exploring Operation: 59-41=18, Resulting Numbers: [72, 18]
Generated Node #0,0,3: 89:[72, 18] Operation: 59-41=18
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[72, 100], Operations: ['18+41=59', '41+59=100']
Exploring Operation: 72+100=172, Resulting Numbers: [172]
172,89 unequal: No Solution
Exploring Operation: 72*100=7200, Resulting Numbers: [7200]
7200,89 unequal: No Solution
Exploring Operation: 100-72=28, Resulting Numbers: [28]
28,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[59, 113], Operations: ['18+41=59', '72+41=113']
Exploring Operation: 113-59=54, Resulting Numbers: [54]
54,89 unequal: No Solution
Exploring Operation: 59+113=172, Resulting Numbers: [172]
172,89 unequal: No Solution
Exploring Operation: 59*113=6667, Resulting Numbers: [6667]
6667,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[59, 31], Operations: ['18+41=59', '72-41=31']
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[72, 18], Operations: ['18+41=59', '59-41=18']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,89 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[72, 18, 82], Operations: ['41+41=82']
Exploring Operation: 72-18=54, Resulting Numbers: [82, 54]
Generated Node #0,3,0: 89:[82, 54] Operation: 72-18=54
Exploring Operation: 82-18=64, Resulting Numbers: [72, 64]
Generated Node #0,3,1: 89:[72, 64] Operation: 82-18=64
Exploring Operation: 18+82=100, Resulting Numbers: [72, 100]
Generated Node #0,3,2: 89:[72, 100] Operation: 18+82=100
Exploring Operation: 72+18=90, Resulting Numbers: [82, 90]
Generated Node #0,3,3: 89:[82, 90] Operation: 72+18=90
Moving to Node #0,2
Current State: 89:[72, 41, 59], Operations: ['18+41=59']
Exploring Operation: 41+59=100, Resulting Numbers: [72, 100]
Generated Node #0,2,0: 89:[72, 100] Operation: 41+59=100
Exploring Operation: 72-41=31, Resulting Numbers: [59, 31]
Generated Node #0,2,1: 89:[59, 31] Operation: 72-41=31
Exploring Operation: 72+41=113, Resulting Numbers: [59, 113]
Generated Node #0,2,2: 89:[59, 113] Operation: 72+41=113
Exploring Operation: 59-41=18, Resulting Numbers: [72, 18]
Generated Node #0,2,3: 89:[72, 18] Operation: 59-41=18
Moving to Node #0,1
Current State: 89:[41, 41, 90], Operations: ['72+18=90']
Exploring Operation: 90-41=49, Resulting Numbers: [41, 49]
Generated Node #0,1,0: 89:[41, 49] Operation: 90-41=49
Exploring Operation: 41+41=82, Resulting Numbers: [90, 82]
Generated Node #0,1,1: 89:[90, 82] Operation: 41+41=82
Exploring Operation: 41/41=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 89:[90, 1] Operation: 41/41=1
Exploring Operation: 90-41=49, Resulting Numbers: [41, 49]
Generated Node #0,1,3: 89:[41, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[90, 82], Operations: ['72+18=90', '41+41=82']
Exploring Operation: 90+82=172, Resulting Numbers: [172]
172,89 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 90*82=7380, Resulting Numbers: [7380]
7380,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[41, 49], Operations: ['72+18=90', '90-41=49']
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,89 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[41, 49], Operations: ['72+18=90', '90-41=49']
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,89 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[90, 1], Operations: ['72+18=90', '41/41=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[72, 18, 41, 41], Operations: []
Exploring Operation: 72+18=90, Resulting Numbers: [41, 41, 90]
Generated Node #0,1: 89:[41, 41, 90] Operation: 72+18=90
Moving to Node #0,1
Current State: 89:[41, 41, 90], Operations: ['72+18=90']
Exploring Operation: 41/41=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 89:[90, 1] Operation: 41/41=1
Moving to Node #0,1,2
Current State: 89:[90, 1], Operations: ['72+18=90', '41/41=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
95,
48,
98,
43
] | 79 | [
"48-43=5",
"95/5=19",
"98-19=79"
] | Current State: 79:[95, 48, 98, 43], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [95, 98, 5]
Generated Node #2: [95, 98, 5] from Operation: 48-43=5
Current State: 79:[95, 98, 5], Operations: ['48-43=5']
Exploring Operation: 95/5=19, Resulting Numbers: [98, 19]
Generated Node #3: [98, 19] from Operation: 95/5=19
Current State: 79:[98, 19], Operations: ['48-43=5', '95/5=19']
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[95, 48, 98, 43], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [95, 43, 50]
Generated Node #0,0: 79:[95, 43, 50] Operation: 98-48=50
Exploring Operation: 48+43=91, Resulting Numbers: [95, 98, 91]
Generated Node #0,1: 79:[95, 98, 91] Operation: 48+43=91
Exploring Operation: 98-43=55, Resulting Numbers: [95, 48, 55]
Generated Node #0,2: 79:[95, 48, 55] Operation: 98-43=55
Exploring Operation: 95-43=52, Resulting Numbers: [48, 98, 52]
Generated Node #0,3: 79:[48, 98, 52] Operation: 95-43=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[95, 98, 91], Operations: ['48+43=91']
Exploring Operation: 98-91=7, Resulting Numbers: [95, 7]
Generated Node #0,1,0: 79:[95, 7] Operation: 98-91=7
Exploring Operation: 98-95=3, Resulting Numbers: [91, 3]
Generated Node #0,1,1: 79:[91, 3] Operation: 98-95=3
Exploring Operation: 95-91=4, Resulting Numbers: [98, 4]
Generated Node #0,1,2: 79:[98, 4] Operation: 95-91=4
Exploring Operation: 95+98=193, Resulting Numbers: [91, 193]
Generated Node #0,1,3: 79:[91, 193] Operation: 95+98=193
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[95, 7], Operations: ['48+43=91', '98-91=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,79 unequal: No Solution
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[91, 3], Operations: ['48+43=91', '98-95=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[98, 4], Operations: ['48+43=91', '95-91=4']
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[91, 193], Operations: ['48+43=91', '95+98=193']
Exploring Operation: 91*193=17563, Resulting Numbers: [17563]
17563,79 unequal: No Solution
Exploring Operation: 193-91=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 91+193=284, Resulting Numbers: [284]
284,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[95, 48, 55], Operations: ['98-43=55']
Exploring Operation: 95-55=40, Resulting Numbers: [48, 40]
Generated Node #0,2,0: 79:[48, 40] Operation: 95-55=40
Exploring Operation: 95-48=47, Resulting Numbers: [55, 47]
Generated Node #0,2,1: 79:[55, 47] Operation: 95-48=47
Exploring Operation: 95+48=143, Resulting Numbers: [55, 143]
Generated Node #0,2,2: 79:[55, 143] Operation: 95+48=143
Exploring Operation: 48+55=103, Resulting Numbers: [95, 103]
Generated Node #0,2,3: 79:[95, 103] Operation: 48+55=103
Moving to Node #0,2,3
Current State: 79:[95, 103], Operations: ['98-43=55', '48+55=103']
Exploring Operation: 95*103=9785, Resulting Numbers: [9785]
9785,79 unequal: No Solution
Exploring Operation: 103-95=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 95+103=198, Resulting Numbers: [198]
198,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[55, 47], Operations: ['98-43=55', '95-48=47']
Exploring Operation: 55*47=2585, Resulting Numbers: [2585]
2585,79 unequal: No Solution
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[48, 40], Operations: ['98-43=55', '95-55=40']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[55, 143], Operations: ['98-43=55', '95+48=143']
Exploring Operation: 55*143=7865, Resulting Numbers: [7865]
7865,79 unequal: No Solution
Exploring Operation: 143-55=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 55+143=198, Resulting Numbers: [198]
198,79 unequal: No Solution
No 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: 79:[48, 98, 52], Operations: ['95-43=52']
Exploring Operation: 48+52=100, Resulting Numbers: [98, 100]
Generated Node #0,3,0: 79:[98, 100] Operation: 48+52=100
Exploring Operation: 48+98=146, Resulting Numbers: [52, 146]
Generated Node #0,3,1: 79:[52, 146] Operation: 48+98=146
Exploring Operation: 98-48=50, Resulting Numbers: [52, 50]
Generated Node #0,3,2: 79:[52, 50] Operation: 98-48=50
Exploring Operation: 98-52=46, Resulting Numbers: [48, 46]
Generated Node #0,3,3: 79:[48, 46] Operation: 98-52=46
Moving to Node #0,3,0
Current State: 79:[98, 100], Operations: ['95-43=52', '48+52=100']
Exploring Operation: 100-98=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 98+100=198, Resulting Numbers: [198]
198,79 unequal: No Solution
Exploring Operation: 98*100=9800, Resulting Numbers: [9800]
9800,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[52, 50], Operations: ['95-43=52', '98-48=50']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[48, 46], Operations: ['95-43=52', '98-52=46']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[52, 146], Operations: ['95-43=52', '48+98=146']
Exploring Operation: 146-52=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 52*146=7592, Resulting Numbers: [7592]
7592,79 unequal: No Solution
Exploring Operation: 52+146=198, Resulting Numbers: [198]
198,79 unequal: No Solution
No 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: 79:[95, 43, 50], Operations: ['98-48=50']
Exploring Operation: 95+43=138, Resulting Numbers: [50, 138]
Generated Node #0,0,0: 79:[50, 138] Operation: 95+43=138
Exploring Operation: 95-50=45, Resulting Numbers: [43, 45]
Generated Node #0,0,1: 79:[43, 45] Operation: 95-50=45
Exploring Operation: 95-43=52, Resulting Numbers: [50, 52]
Generated Node #0,0,2: 79:[50, 52] Operation: 95-43=52
Exploring Operation: 43+50=93, Resulting Numbers: [95, 93]
Generated Node #0,0,3: 79:[95, 93] Operation: 43+50=93
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[95, 93], Operations: ['98-48=50', '43+50=93']
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 95*93=8835, Resulting Numbers: [8835]
8835,79 unequal: No Solution
Exploring Operation: 95+93=188, Resulting Numbers: [188]
188,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[50, 52], Operations: ['98-48=50', '95-43=52']
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,79 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[43, 45], Operations: ['98-48=50', '95-50=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,79 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[50, 138], Operations: ['98-48=50', '95+43=138']
Exploring Operation: 138-50=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 50*138=6900, Resulting Numbers: [6900]
6900,79 unequal: No Solution
Exploring Operation: 50+138=188, Resulting Numbers: [188]
188,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
46,
91,
79,
47
] | 81 | [
"91-46=45",
"79+47=126",
"126-45=81"
] | Current State: 81:[46, 91, 79, 47], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [79, 47, 45]
Generated Node #2: [79, 47, 45] from Operation: 91-46=45
Current State: 81:[79, 47, 45], Operations: ['91-46=45']
Exploring Operation: 79+47=126, Resulting Numbers: [45, 126]
Generated Node #3: [45, 126] from Operation: 79+47=126
Current State: 81:[45, 126], Operations: ['91-46=45', '79+47=126']
Exploring Operation: 126-45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[46, 91, 79, 47], Operations: []
Exploring Operation: 79-46=33, Resulting Numbers: [91, 47, 33]
Generated Node #0,0: 81:[91, 47, 33] Operation: 79-46=33
Exploring Operation: 46+47=93, Resulting Numbers: [91, 79, 93]
Generated Node #0,1: 81:[91, 79, 93] Operation: 46+47=93
Exploring Operation: 79-47=32, Resulting Numbers: [46, 91, 32]
Generated Node #0,2: 81:[46, 91, 32] Operation: 79-47=32
Exploring Operation: 47-46=1, Resulting Numbers: [91, 79, 1]
Generated Node #0,3: 81:[91, 79, 1] Operation: 47-46=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[91, 79, 1], Operations: ['47-46=1']
Exploring Operation: 79+1=80, Resulting Numbers: [91, 80]
Generated Node #0,3,0: 81:[91, 80] Operation: 79+1=80
Exploring Operation: 91-79=12, Resulting Numbers: [1, 12]
Generated Node #0,3,1: 81:[1, 12] Operation: 91-79=12
Exploring Operation: 91*1=91, Resulting Numbers: [79, 91]
Generated Node #0,3,2: 81:[79, 91] Operation: 91*1=91
Exploring Operation: 91-1=90, Resulting Numbers: [79, 90]
Generated Node #0,3,3: 81:[79, 90] Operation: 91-1=90
Moving to Node #0,3,1
Current State: 81:[1, 12], Operations: ['47-46=1', '91-79=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[79, 90], Operations: ['47-46=1', '91-1=90']
Exploring Operation: 79*90=7110, Resulting Numbers: [7110]
7110,81 unequal: No Solution
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 79+90=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[91, 80], Operations: ['47-46=1', '79+1=80']
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,81 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[79, 91], Operations: ['47-46=1', '91*1=91']
Exploring Operation: 79*91=7189, Resulting Numbers: [7189]
7189,81 unequal: No Solution
Exploring Operation: 79+91=170, Resulting Numbers: [170]
170,81 unequal: No Solution
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[91, 79, 93], Operations: ['46+47=93']
Exploring Operation: 93-79=14, Resulting Numbers: [91, 14]
Generated Node #0,1,0: 81:[91, 14] Operation: 93-79=14
Exploring Operation: 93-91=2, Resulting Numbers: [79, 2]
Generated Node #0,1,1: 81:[79, 2] Operation: 93-91=2
Exploring Operation: 91-79=12, Resulting Numbers: [93, 12]
Generated Node #0,1,2: 81:[93, 12] Operation: 91-79=12
Exploring Operation: 91+79=170, Resulting Numbers: [93, 170]
Generated Node #0,1,3: 81:[93, 170] Operation: 91+79=170
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[79, 2], Operations: ['46+47=93', '93-91=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,81 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[46, 91, 79, 47], Operations: []
Exploring Operation: 46+47=93, Resulting Numbers: [91, 79, 93]
Generated Node #0,1: 81:[91, 79, 93] Operation: 46+47=93
Moving to Node #0,1
Current State: 81:[91, 79, 93], Operations: ['46+47=93']
Exploring Operation: 93-91=2, Resulting Numbers: [79, 2]
Generated Node #0,1,1: 81:[79, 2] Operation: 93-91=2
Moving to Node #0,1,1
Current State: 81:[79, 2], Operations: ['46+47=93', '93-91=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
96,
95,
30,
2
] | 28 | [
"96-95=1",
"30-2=28",
"1*28=28"
] | Current State: 28:[96, 95, 30, 2], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [30, 2, 1]
Generated Node #2: [30, 2, 1] from Operation: 96-95=1
Current State: 28:[30, 2, 1], Operations: ['96-95=1']
Exploring Operation: 30-2=28, Resulting Numbers: [1, 28]
Generated Node #3: [1, 28] from Operation: 30-2=28
Current State: 28:[1, 28], Operations: ['96-95=1', '30-2=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[96, 95, 30, 2], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [95, 2, 66]
Generated Node #0,0: 28:[95, 2, 66] Operation: 96-30=66
Exploring Operation: 96-95=1, Resulting Numbers: [30, 2, 1]
Generated Node #0,1: 28:[30, 2, 1] Operation: 96-95=1
Exploring Operation: 96/2=48, Resulting Numbers: [95, 30, 48]
Generated Node #0,2: 28:[95, 30, 48] Operation: 96/2=48
Exploring Operation: 95-30=65, Resulting Numbers: [96, 2, 65]
Generated Node #0,3: 28:[96, 2, 65] Operation: 95-30=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[30, 2, 1], Operations: ['96-95=1']
Exploring Operation: 30*1=30, Resulting Numbers: [2, 30]
Generated Node #0,1,0: 28:[2, 30] Operation: 30*1=30
Exploring Operation: 30/2=15, Resulting Numbers: [1, 15]
Generated Node #0,1,1: 28:[1, 15] Operation: 30/2=15
Exploring Operation: 30-1=29, Resulting Numbers: [2, 29]
Generated Node #0,1,2: 28:[2, 29] Operation: 30-1=29
Exploring Operation: 30-2=28, Resulting Numbers: [1, 28]
Generated Node #0,1,3: 28:[1, 28] Operation: 30-2=28
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[2, 29], Operations: ['96-95=1', '30-1=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[1, 28], Operations: ['96-95=1', '30-2=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[96, 95, 30, 2], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [30, 2, 1]
Generated Node #0,1: 28:[30, 2, 1] Operation: 96-95=1
Moving to Node #0,1
Current State: 28:[30, 2, 1], Operations: ['96-95=1']
Exploring Operation: 30-2=28, Resulting Numbers: [1, 28]
Generated Node #0,1,3: 28:[1, 28] Operation: 30-2=28
Moving to Node #0,1,3
Current State: 28:[1, 28], Operations: ['96-95=1', '30-2=28']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
62,
10,
4,
96
] | 96 | [
"62+10=72",
"96/4=24",
"72+24=96"
] | Current State: 96:[62, 10, 4, 96], Operations: []
Exploring Operation: 62+10=72, Resulting Numbers: [4, 96, 72]
Generated Node #2: [4, 96, 72] from Operation: 62+10=72
Current State: 96:[4, 96, 72], Operations: ['62+10=72']
Exploring Operation: 96/4=24, Resulting Numbers: [72, 24]
Generated Node #3: [72, 24] from Operation: 96/4=24
Current State: 96:[72, 24], Operations: ['62+10=72', '96/4=24']
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[62, 10, 4, 96], Operations: []
Exploring Operation: 62-10=52, Resulting Numbers: [4, 96, 52]
Generated Node #0,0: 96:[4, 96, 52] Operation: 62-10=52
Exploring Operation: 96-62=34, Resulting Numbers: [10, 4, 34]
Generated Node #0,1: 96:[10, 4, 34] Operation: 96-62=34
Exploring Operation: 62-4=58, Resulting Numbers: [10, 96, 58]
Generated Node #0,2: 96:[10, 96, 58] Operation: 62-4=58
Exploring Operation: 10-4=6, Resulting Numbers: [62, 96, 6]
Generated Node #0,3: 96:[62, 96, 6] Operation: 10-4=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[4, 96, 52], Operations: ['62-10=52']
Exploring Operation: 96-52=44, Resulting Numbers: [4, 44]
Generated Node #0,0,0: 96:[4, 44] Operation: 96-52=44
Exploring Operation: 96/4=24, Resulting Numbers: [52, 24]
Generated Node #0,0,1: 96:[52, 24] Operation: 96/4=24
Exploring Operation: 52-4=48, Resulting Numbers: [96, 48]
Generated Node #0,0,2: 96:[96, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [96, 13]
Generated Node #0,0,3: 96:[96, 13] Operation: 52/4=13
Moving to Node #0,0,2
Current State: 96:[96, 48], Operations: ['62-10=52', '52-4=48']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 96*48=4608, Resulting Numbers: [4608]
4608,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[96, 13], Operations: ['62-10=52', '52/4=13']
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,96 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[52, 24], Operations: ['62-10=52', '96/4=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[4, 44], Operations: ['62-10=52', '96-52=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,96 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,96 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,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:[10, 4, 34], Operations: ['96-62=34']
Exploring Operation: 10-4=6, Resulting Numbers: [34, 6]
Generated Node #0,1,0: 96:[34, 6] Operation: 10-4=6
Exploring Operation: 10+34=44, Resulting Numbers: [4, 44]
Generated Node #0,1,1: 96:[4, 44] Operation: 10+34=44
Exploring Operation: 10+4=14, Resulting Numbers: [34, 14]
Generated Node #0,1,2: 96:[34, 14] Operation: 10+4=14
Exploring Operation: 34-10=24, Resulting Numbers: [4, 24]
Generated Node #0,1,3: 96:[4, 24] Operation: 34-10=24
Moving to Node #0,1,3
Current State: 96:[4, 24], Operations: ['96-62=34', '34-10=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[62, 10, 4, 96], Operations: []
Exploring Operation: 96-62=34, Resulting Numbers: [10, 4, 34]
Generated Node #0,1: 96:[10, 4, 34] Operation: 96-62=34
Moving to Node #0,1
Current State: 96:[10, 4, 34], Operations: ['96-62=34']
Exploring Operation: 34-10=24, Resulting Numbers: [4, 24]
Generated Node #0,1,3: 96:[4, 24] Operation: 34-10=24
Moving to Node #0,1,3
Current State: 96:[4, 24], Operations: ['96-62=34', '34-10=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
12,
90,
3,
72
] | 72 | [
"12/3=4",
"90-72=18",
"4*18=72"
] | Current State: 72:[12, 90, 3, 72], Operations: []
Exploring Operation: 12/3=4, Resulting Numbers: [90, 72, 4]
Generated Node #2: [90, 72, 4] from Operation: 12/3=4
Current State: 72:[90, 72, 4], Operations: ['12/3=4']
Exploring Operation: 90-72=18, Resulting Numbers: [4, 18]
Generated Node #3: [4, 18] from Operation: 90-72=18
Current State: 72:[4, 18], Operations: ['12/3=4', '90-72=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[12, 90, 3, 72], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [12, 72, 30]
Generated Node #0,0: 72:[12, 72, 30] Operation: 90/3=30
Exploring Operation: 90-3=87, Resulting Numbers: [12, 72, 87]
Generated Node #0,1: 72:[12, 72, 87] Operation: 90-3=87
Exploring Operation: 90-72=18, Resulting Numbers: [12, 3, 18]
Generated Node #0,2: 72:[12, 3, 18] Operation: 90-72=18
Exploring Operation: 90-12=78, Resulting Numbers: [3, 72, 78]
Generated Node #0,3: 72:[3, 72, 78] Operation: 90-12=78
Moving to Node #0,2
Current State: 72:[12, 3, 18], Operations: ['90-72=18']
Exploring Operation: 12*3=36, Resulting Numbers: [18, 36]
Generated Node #0,2,0: 72:[18, 36] Operation: 12*3=36
Exploring Operation: 12/3=4, Resulting Numbers: [18, 4]
Generated Node #0,2,1: 72:[18, 4] Operation: 12/3=4
Exploring Operation: 18-12=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 72:[3, 6] Operation: 18-12=6
Exploring Operation: 12-3=9, Resulting Numbers: [18, 9]
Generated Node #0,2,3: 72:[18, 9] Operation: 12-3=9
Moving to Node #0,3
Current State: 72:[3, 72, 78], Operations: ['90-12=78']
Exploring Operation: 78/3=26, Resulting Numbers: [72, 26]
Generated Node #0,3,0: 72:[72, 26] Operation: 78/3=26
Exploring Operation: 78-72=6, Resulting Numbers: [3, 6]
Generated Node #0,3,1: 72:[3, 6] Operation: 78-72=6
Exploring Operation: 78-3=75, Resulting Numbers: [72, 75]
Generated Node #0,3,2: 72:[72, 75] Operation: 78-3=75
Exploring Operation: 72/3=24, Resulting Numbers: [78, 24]
Generated Node #0,3,3: 72:[78, 24] Operation: 72/3=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 72:[3, 6], Operations: ['90-12=78', '78-72=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,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,3,0
Current State: 72:[72, 26], Operations: ['90-12=78', '78/3=26']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,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,3,2
Current State: 72:[72, 75], Operations: ['90-12=78', '78-3=75']
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 72+75=147, Resulting Numbers: [147]
147,72 unequal: No Solution
Exploring Operation: 72*75=5400, Resulting Numbers: [5400]
5400,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,3,3
Current State: 72:[78, 24], Operations: ['90-12=78', '72/3=24']
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,72 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,72 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: 72:[12, 72, 30], Operations: ['90/3=30']
Exploring Operation: 72-30=42, Resulting Numbers: [12, 42]
Generated Node #0,0,0: 72:[12, 42] Operation: 72-30=42
Exploring Operation: 12+30=42, Resulting Numbers: [72, 42]
Generated Node #0,0,1: 72:[72, 42] Operation: 12+30=42
Exploring Operation: 72/12=6, Resulting Numbers: [30, 6]
Generated Node #0,0,2: 72:[30, 6] Operation: 72/12=6
Exploring Operation: 30-12=18, Resulting Numbers: [72, 18]
Generated Node #0,0,3: 72:[72, 18] Operation: 30-12=18
Moving to Node #0,1
Current State: 72:[12, 72, 87], Operations: ['90-3=87']
Exploring Operation: 87-12=75, Resulting Numbers: [72, 75]
Generated Node #0,1,0: 72:[72, 75] Operation: 87-12=75
Exploring Operation: 12+72=84, Resulting Numbers: [87, 84]
Generated Node #0,1,1: 72:[87, 84] Operation: 12+72=84
Exploring Operation: 72/12=6, Resulting Numbers: [87, 6]
Generated Node #0,1,2: 72:[87, 6] Operation: 72/12=6
Exploring Operation: 87-72=15, Resulting Numbers: [12, 15]
Generated Node #0,1,3: 72:[12, 15] Operation: 87-72=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[72, 75], Operations: ['90-3=87', '87-12=75']
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 72+75=147, Resulting Numbers: [147]
147,72 unequal: No Solution
Exploring Operation: 72*75=5400, Resulting Numbers: [5400]
5400,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,3
Current State: 72:[12, 15], Operations: ['90-3=87', '87-72=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,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,2
Current State: 72:[87, 6], Operations: ['90-3=87', '72/12=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,72 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,72 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,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:[87, 84], Operations: ['90-3=87', '12+72=84']
Exploring Operation: 87+84=171, Resulting Numbers: [171]
171,72 unequal: No Solution
Exploring Operation: 87*84=7308, Resulting Numbers: [7308]
7308,72 unequal: No Solution
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,72 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: 72:[18, 36], Operations: ['90-72=18', '12*3=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,72 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[3, 6], Operations: ['90-72=18', '18-12=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[18, 4], Operations: ['90-72=18', '12/3=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[12, 90, 3, 72], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [12, 3, 18]
Generated Node #0,2: 72:[12, 3, 18] Operation: 90-72=18
Moving to Node #0,2
Current State: 72:[12, 3, 18], Operations: ['90-72=18']
Exploring Operation: 12/3=4, Resulting Numbers: [18, 4]
Generated Node #0,2,1: 72:[18, 4] Operation: 12/3=4
Moving to Node #0,2,1
Current State: 72:[18, 4], Operations: ['90-72=18', '12/3=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.948785 | hs_4 | sum_heuristic |
[
37,
43,
6,
11
] | 47 | [
"43-37=6",
"6*6=36",
"11+36=47"
] | Current State: 47:[37, 43, 6, 11], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [6, 11, 6]
Generated Node #2: [6, 11, 6] from Operation: 43-37=6
Current State: 47:[6, 11, 6], Operations: ['43-37=6']
Exploring Operation: 6*6=36, Resulting Numbers: [11, 36]
Generated Node #3: [11, 36] from Operation: 6*6=36
Current State: 47:[11, 36], Operations: ['43-37=6', '6*6=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[37, 43, 6, 11], Operations: []
Exploring Operation: 6*11=66, Resulting Numbers: [37, 43, 66]
Generated Node #0,0: 47:[37, 43, 66] Operation: 6*11=66
Exploring Operation: 37+6=43, Resulting Numbers: [43, 11, 43]
Generated Node #0,1: 47:[43, 11, 43] Operation: 37+6=43
Exploring Operation: 37+11=48, Resulting Numbers: [43, 6, 48]
Generated Node #0,2: 47:[43, 6, 48] Operation: 37+11=48
Exploring Operation: 6+11=17, Resulting Numbers: [37, 43, 17]
Generated Node #0,3: 47:[37, 43, 17] Operation: 6+11=17
Exploring Operation: 43+6=49, Resulting Numbers: [37, 11, 49]
Generated Node #0,4: 47:[37, 11, 49] Operation: 43+6=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[37, 43, 66], Operations: ['6*11=66']
Exploring Operation: 66-43=23, Resulting Numbers: [37, 23]
Generated Node #0,0,0: 47:[37, 23] Operation: 66-43=23
Exploring Operation: 37+43=80, Resulting Numbers: [66, 80]
Generated Node #0,0,1: 47:[66, 80] Operation: 37+43=80
Exploring Operation: 37+66=103, Resulting Numbers: [43, 103]
Generated Node #0,0,2: 47:[43, 103] Operation: 37+66=103
Exploring Operation: 66-37=29, Resulting Numbers: [43, 29]
Generated Node #0,0,3: 47:[43, 29] Operation: 66-37=29
Exploring Operation: 43-37=6, Resulting Numbers: [66, 6]
Generated Node #0,0,4: 47:[66, 6] Operation: 43-37=6
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[43, 29], Operations: ['6*11=66', '66-37=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[37, 23], Operations: ['6*11=66', '66-43=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,47 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[66, 80], Operations: ['6*11=66', '37+43=80']
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 66+80=146, Resulting Numbers: [146]
146,47 unequal: No Solution
Exploring Operation: 66*80=5280, Resulting Numbers: [5280]
5280,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[43, 103], Operations: ['6*11=66', '37+66=103']
Exploring Operation: 103-43=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 43+103=146, Resulting Numbers: [146]
146,47 unequal: No Solution
Exploring Operation: 43*103=4429, Resulting Numbers: [4429]
4429,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 47:[66, 6], Operations: ['6*11=66', '43-37=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[43, 11, 43], Operations: ['37+6=43']
Exploring Operation: 43-11=32, Resulting Numbers: [43, 32]
Generated Node #0,1,0: 47:[43, 32] Operation: 43-11=32
Exploring Operation: 43+11=54, Resulting Numbers: [43, 54]
Generated Node #0,1,1: 47:[43, 54] Operation: 43+11=54
Exploring Operation: 11+43=54, Resulting Numbers: [43, 54]
Generated Node #0,1,2: 47:[43, 54] Operation: 11+43=54
Exploring Operation: 43-11=32, Resulting Numbers: [43, 32]
Generated Node #0,1,3: 47:[43, 32] Operation: 43-11=32
Exploring Operation: 43+43=86, Resulting Numbers: [11, 86]
Generated Node #0,1,4: 47:[11, 86] Operation: 43+43=86
Moving to Node #0,1,1
Current State: 47:[43, 54], Operations: ['37+6=43', '43+11=54']
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 43*54=2322, Resulting Numbers: [2322]
2322,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[43, 54], Operations: ['37+6=43', '11+43=54']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 43*54=2322, Resulting Numbers: [2322]
2322,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[43, 32], Operations: ['37+6=43', '43-11=32']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[43, 32], Operations: ['37+6=43', '43-11=32']
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,47 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[11, 86], Operations: ['37+6=43', '43+43=86']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,47 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[37, 43, 17], Operations: ['6+11=17']
Exploring Operation: 37+43=80, Resulting Numbers: [17, 80]
Generated Node #0,3,0: 47:[17, 80] Operation: 37+43=80
Exploring Operation: 37+17=54, Resulting Numbers: [43, 54]
Generated Node #0,3,1: 47:[43, 54] Operation: 37+17=54
Exploring Operation: 43-17=26, Resulting Numbers: [37, 26]
Generated Node #0,3,2: 47:[37, 26] Operation: 43-17=26
Exploring Operation: 37-17=20, Resulting Numbers: [43, 20]
Generated Node #0,3,3: 47:[43, 20] Operation: 37-17=20
Exploring Operation: 43+17=60, Resulting Numbers: [37, 60]
Generated Node #0,3,4: 47:[37, 60] Operation: 43+17=60
Moving to Node #0,3,1
Current State: 47:[43, 54], Operations: ['6+11=17', '37+17=54']
Exploring Operation: 43*54=2322, Resulting Numbers: [2322]
2322,47 unequal: No Solution
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[37, 60], Operations: ['6+11=17', '43+17=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,47 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[37, 26], Operations: ['6+11=17', '43-17=26']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,47 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[43, 20], Operations: ['6+11=17', '37-17=20']
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,47 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[17, 80], Operations: ['6+11=17', '37+43=80']
Exploring Operation: 17*80=1360, Resulting Numbers: [1360]
1360,47 unequal: No Solution
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[43, 6, 48], Operations: ['37+11=48']
Exploring Operation: 43-6=37, Resulting Numbers: [48, 37]
Generated Node #0,2,0: 47:[48, 37] Operation: 43-6=37
Exploring Operation: 48-6=42, Resulting Numbers: [43, 42]
Generated Node #0,2,1: 47:[43, 42] Operation: 48-6=42
Exploring Operation: 43+6=49, Resulting Numbers: [48, 49]
Generated Node #0,2,2: 47:[48, 49] Operation: 43+6=49
Exploring Operation: 48/6=8, Resulting Numbers: [43, 8]
Generated Node #0,2,3: 47:[43, 8] Operation: 48/6=8
Exploring Operation: 6+48=54, Resulting Numbers: [43, 54]
Generated Node #0,2,4: 47:[43, 54] Operation: 6+48=54
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[48, 49], Operations: ['37+11=48', '43+6=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,47 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[43, 42], Operations: ['37+11=48', '48-6=42']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[48, 37], Operations: ['37+11=48', '43-6=37']
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,47 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 47:[43, 54], Operations: ['37+11=48', '6+48=54']
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 43*54=2322, Resulting Numbers: [2322]
2322,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[43, 8], Operations: ['37+11=48', '48/6=8']
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,47 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,47 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[37, 11, 49], Operations: ['43+6=49']
Exploring Operation: 49-11=38, Resulting Numbers: [37, 38]
Generated Node #0,4,0: 47:[37, 38] Operation: 49-11=38
Exploring Operation: 11+49=60, Resulting Numbers: [37, 60]
Generated Node #0,4,1: 47:[37, 60] Operation: 11+49=60
Exploring Operation: 37-11=26, Resulting Numbers: [49, 26]
Generated Node #0,4,2: 47:[49, 26] Operation: 37-11=26
Exploring Operation: 37+11=48, Resulting Numbers: [49, 48]
Generated Node #0,4,3: 47:[49, 48] Operation: 37+11=48
Exploring Operation: 49-37=12, Resulting Numbers: [11, 12]
Generated Node #0,4,4: 47:[11, 12] Operation: 49-37=12
Moving to Node #0,4,3
Current State: 47:[49, 48], Operations: ['43+6=49', '37+11=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,47 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Moving to Node #0,4,0
Current State: 47:[37, 38], Operations: ['43+6=49', '49-11=38']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,47 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[37, 60], Operations: ['43+6=49', '11+49=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,47 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[49, 26], Operations: ['43+6=49', '37-11=26']
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[11, 12], Operations: ['43+6=49', '49-37=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,47 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 |
[
42,
58,
19,
62
] | 59 | [
"58-42=16",
"62-19=43",
"16+43=59"
] | Current State: 59:[42, 58, 19, 62], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [19, 62, 16]
Generated Node #2: [19, 62, 16] from Operation: 58-42=16
Current State: 59:[19, 62, 16], Operations: ['58-42=16']
Exploring Operation: 62-19=43, Resulting Numbers: [16, 43]
Generated Node #3: [16, 43] from Operation: 62-19=43
Current State: 59:[16, 43], Operations: ['58-42=16', '62-19=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[42, 58, 19, 62], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [42, 58, 43]
Generated Node #0,0: 59:[42, 58, 43] Operation: 62-19=43
Exploring Operation: 42+19=61, Resulting Numbers: [58, 62, 61]
Generated Node #0,1: 59:[58, 62, 61] Operation: 42+19=61
Exploring Operation: 58+19=77, Resulting Numbers: [42, 62, 77]
Generated Node #0,2: 59:[42, 62, 77] Operation: 58+19=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[58, 62, 61], Operations: ['42+19=61']
Exploring Operation: 61-58=3, Resulting Numbers: [62, 3]
Generated Node #0,1,0: 59:[62, 3] Operation: 61-58=3
Exploring Operation: 62-61=1, Resulting Numbers: [58, 1]
Generated Node #0,1,1: 59:[58, 1] Operation: 62-61=1
Exploring Operation: 62-58=4, Resulting Numbers: [61, 4]
Generated Node #0,1,2: 59:[61, 4] Operation: 62-58=4
Moving to Node #0,1,2
Current State: 59:[61, 4], Operations: ['42+19=61', '62-58=4']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[62, 3], Operations: ['42+19=61', '61-58=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[42, 58, 19, 62], Operations: []
Exploring Operation: 42+19=61, Resulting Numbers: [58, 62, 61]
Generated Node #0,1: 59:[58, 62, 61] Operation: 42+19=61
Moving to Node #0,1
Current State: 59:[58, 62, 61], Operations: ['42+19=61']
Exploring Operation: 61-58=3, Resulting Numbers: [62, 3]
Generated Node #0,1,0: 59:[62, 3] Operation: 61-58=3
Moving to Node #0,1,0
Current State: 59:[62, 3], Operations: ['42+19=61', '61-58=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
5,
16,
94,
16
] | 94 | [
"16-16=0",
"5*0=0",
"94+0=94"
] | Current State: 94:[5, 16, 94, 16], Operations: []
Exploring Operation: 16-16=0, Resulting Numbers: [5, 94, 0]
Generated Node #2: [5, 94, 0] from Operation: 16-16=0
Current State: 94:[5, 94, 0], Operations: ['16-16=0']
Exploring Operation: 5*0=0, Resulting Numbers: [94, 0]
Generated Node #3: [94, 0] from Operation: 5*0=0
Current State: 94:[94, 0], Operations: ['16-16=0', '5*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[5, 16, 94, 16], Operations: []
Exploring Operation: 16/16=1, Resulting Numbers: [5, 94, 1]
Generated Node #0,0: 94:[5, 94, 1] Operation: 16/16=1
Exploring Operation: 16-16=0, Resulting Numbers: [5, 94, 0]
Generated Node #0,1: 94:[5, 94, 0] Operation: 16-16=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[5, 94, 1], Operations: ['16/16=1']
Exploring Operation: 5-1=4, Resulting Numbers: [94, 4]
Generated Node #0,0,0: 94:[94, 4] Operation: 5-1=4
Exploring Operation: 5*1=5, Resulting Numbers: [94, 5]
Generated Node #0,0,1: 94:[94, 5] Operation: 5*1=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[94, 4], Operations: ['16/16=1', '5-1=4']
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,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,0,1
Current State: 94:[94, 5], Operations: ['16/16=1', '5*1=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,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,1
Current State: 94:[5, 94, 0], Operations: ['16-16=0']
Exploring Operation: 5+0=5, Resulting Numbers: [94, 5]
Generated Node #0,1,0: 94:[94, 5] Operation: 5+0=5
Exploring Operation: 5*0=0, Resulting Numbers: [94, 0]
Generated Node #0,1,1: 94:[94, 0] Operation: 5*0=0
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[94, 0], Operations: ['16-16=0', '5*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[5, 16, 94, 16], Operations: []
Exploring Operation: 16-16=0, Resulting Numbers: [5, 94, 0]
Generated Node #0,1: 94:[5, 94, 0] Operation: 16-16=0
Moving to Node #0,1
Current State: 94:[5, 94, 0], Operations: ['16-16=0']
Exploring Operation: 5*0=0, Resulting Numbers: [94, 0]
Generated Node #0,1,1: 94:[94, 0] Operation: 5*0=0
Moving to Node #0,1,1
Current State: 94:[94, 0], Operations: ['16-16=0', '5*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.