chore(i18n,learn): processed translations (#44866)

This commit is contained in:
camperbot
2022-01-22 20:38:20 +05:30
committed by GitHub
parent d039479e66
commit 43a2a0a395
324 changed files with 2907 additions and 2916 deletions

View File

@ -1,6 +1,6 @@
---
id: 5900f5271000cf542c51003a
title: 'Problem 443: GCD sequence'
title: '問題 443: 最大公約数の数列'
challengeType: 5
forumTopicId: 302115
dashedName: problem-443-gcd-sequence
@ -8,21 +8,21 @@ dashedName: problem-443-gcd-sequence
# --description--
Let $g(n)$ be a sequence defined as follows:
次のように定義される数列を $g(n)$ とします。
$$\begin{align} & g(4) = 13, \\\\ & g(n) = g(n-1) + gcd(n, g(n - 1)) \text{ for } n > 4. \end{align}$$
$$\begin{align} & g(4) = 13, \\\\ & n > 4 \text{ のとき、} g(n) = g(n-1) + gcd(n, g(n - 1)) \end{align}$$
The first few values are:
最初のいくつかの値は次のようになります。
$$\begin{array}{l} n & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19 & 20 & \ldots \\\\ g(n) & 13 & 14 & 16 & 17 & 18 & 27 & 28 & 29 & 30 & 31 & 32 & 33 & 34 & 51 & 54 & 55 & 60 & \ldots \end{array}$$
You are given that $g(1\\,000) = 2\\,524$ and $g(1\\,000\\,000) = 2\\,624\\,152$.
$g(1\\,000) = 2\\,524$, $g(1\\,000\\,000) = 2\\,624\\,152$ が与えられます。
Find $g({10}^{15})$.
$g({10}^{15})$ を求めなさい。
# --hints--
`gcdSequence()` should return `2744233049300770`.
`gcdSequence()` `2744233049300770` を返す必要があります。
```js
assert.strictEqual(gcdSequence(), 2744233049300770);