--- id: 5900f5271000cf542c51003a challengeType: 5 title: 'Problem 443: GCD sequence' videoUrl: '' localeTitle: '' --- ## Description
设g(n)为如下定义的序列:g(4)= 13,g(n)= g(n-1)+ gcd(n,g(n-1)),n> 4。

前几个值是:

 n4567891011121314151617181920... g(n)1314161718272829303132333451545560... 

给出g(1 000)= 2524和g(1 000 000)= 2624152。

找到g(1015)。

## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert.strictEqual(euler443(), 2744233049300770, "euler443() should return 2744233049300770.");' ```
## Challenge Seed
```js function euler443() { // Good luck! return true; } euler443(); ```
## Solution
```js // solution required ```