Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-341-golombs-self-describing-sequence.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

56 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4c11000cf542c50ffd3
challengeType: 5
videoUrl: ''
title: 问题341Golomb的自我描述序列
---
## Description
<section id="description"> Golomb的自描述序列{Gn}是唯一的非递减自然数序列因此n在序列中恰好出现Gn次。前几个n的Gn值是<p> n123456789101112131415 ... Gn的122334445556666 ... </p><p>给出G103= 86G106= 6137.对于1≤n&lt;103还给出ΣGn3= 153506976。 </p><p>找到ΣGn3为1≤n&lt;106。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler341()</code>应该返回56098610614277016。
testString: assert.strictEqual(euler341(), 56098610614277016);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler341() {
// Good luck!
return true;
}
euler341();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>