chore(i18n,learn): processed translations (#44866)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
id: 5900f49d1000cf542c50ffaf
|
||||
title: 'Problem 304: Primonacci'
|
||||
title: '問題 304: 素数フィボナッチ数列 (Primonacci)'
|
||||
challengeType: 5
|
||||
forumTopicId: 301958
|
||||
dashedName: problem-304-primonacci
|
||||
@ -8,19 +8,19 @@ dashedName: problem-304-primonacci
|
||||
|
||||
# --description--
|
||||
|
||||
For any positive integer $n$ the function $\text{next_prime}(n)$ returns the smallest prime $p$ such that $p > n$.
|
||||
任意の正の整数 $n$ について、関数 $\text{next_prime}(n)$ は、$p > n$ を満たす最小の素数 $p$ を返します。
|
||||
|
||||
The sequence $a(n)$ is defined by: $a(1) = \text{next_prime}({10}^{14})$ and $a(n) = \text{next_prime}(a(n - 1))$ for $n > 1$.
|
||||
数列 $a(n)$ は次のように定義されます: $n > 1$ のとき、$a(1) = \text{next_prime}({10}^{14})$, $a(n) = \text{next_prime}(a(n - 1))$
|
||||
|
||||
The fibonacci sequence $f(n)$ is defined by: $f(0) = 0$, $f(1) = 1$ and $f(n) = f(n - 1) + f(n - 2)$ for $n > 1$.
|
||||
フィボナッチ数列 $f(n)$ は次のように定義されます: $n > 1$ のとき、$f(0) = 0$, $f(1) = 1$, $f(n) = f(n - 1) + f(n - 2)$
|
||||
|
||||
The sequence $b(n)$ is defined as $f(a(n))$.
|
||||
数列 $b(n)$ は $f(a(n))$ と定義されます。
|
||||
|
||||
Find $\sum b(n)$ for $1≤n≤100\\,000$. Give your answer $\bmod 1\\,234\\,567\\,891\\,011$.
|
||||
$1 ≤ n ≤ 100\\,000$ のとき、$\sum b(n)$ を求めなさい。 $\bmod 1\\,234\\,567\\,891\\,011$ で答えること。
|
||||
|
||||
# --hints--
|
||||
|
||||
`primonacci()` should return `283988410192`.
|
||||
`primonacci()` は `283988410192` を返す必要があります。
|
||||
|
||||
```js
|
||||
assert.strictEqual(primonacci(), 283988410192);
|
||||
|
Reference in New Issue
Block a user