freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-124-ordered-radical...

56 lines
1.3 KiB
Markdown
Raw Normal View History

---
id: 5900f3e81000cf542c50fefb
challengeType: 5
title: 'Problem 124: Ordered radicals'
videoUrl: ''
localeTitle: 问题124有序的激进分子
---
## Description
<section id="description"> nradn的基数是n的不同素因子的乘积。例如504 = 23×32×7因此rad504= 2×3×7 = 42.如果我们计算1≤n≤10的radn则在radn上对它们进行排序并进行排序如果激进值相等我们得到未分类<p>排序n radn </p><p> n radnk 11 </p><p> 111 22 </p><p> 222 33 </p><p> 423 42 </p><p> 824 55 </p><p> 335 66 </p><p> 936 77 </p><p> 557 82 </p><p> 668 93 </p><p> 779 1010 </p><p> 101010令Ek为有序n列中的第k个元素;例如E4= 8且E6= 9.如果radn按1≤n≤100000排序则找到E10000</p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler124()</code>应返回21417。
testString: 'assert.strictEqual(euler124(), 21417, "<code>euler124()</code> should return 21417.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler124() {
// Good luck!
return true;
}
euler124();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>