chore(i8n,learn): processed translations

This commit is contained in:
Crowdin Bot
2021-02-06 04:42:36 +00:00
committed by Mrugesh Mohapatra
parent 15047f2d90
commit e5c44a3ae5
3274 changed files with 172122 additions and 14164 deletions

View File

@ -1,26 +1,28 @@
---
id: 5900f4421000cf542c50ff55
title: 问题214个欧拉链
title: 'Problem 214: Totient Chains'
challengeType: 5
videoUrl: ''
forumTopicId: 301856
dashedName: problem-214-totient-chains
---
# --description--
设φ是欧拉的函数即对于自然数nφn是k的数1≤k≤ngcdkn= 1。
Let φ be Euler's totient function, i.e. for a natural number n,
通过迭代φ每个正整数产生以1结尾的数字递减的链。例如如果我们从5开始则生成序列5,4,2,1。以下列出了长度为4的所有链条
φ(n) is the number of k, 1 ≤ k ≤ n, for which gcd(k,n) = 1.
5,4,2,1 7,6,2,1 8,4,2,1 9,6,2,1 10,4,2,1 12,4,2,1 14,6,2,1 18 6,2,1
By iterating φ, each positive integer generates a decreasing chain of numbers ending in 1. E.g. if we start with 5 the sequence 5,4,2,1 is generated. Here is a listing of all chains with length 4:
这些链中只有两个以素数开头它们的总和为12。
5,4,2,1 7,6,2,1 8,4,2,1 9,6,2,1 10,4,2,1 12,4,2,1 14,6,2,1 18,6,2,1
所有小于40000000的素数的总和是多少它产生一个长度为25的链
Only two of these chains start with a prime, their sum is 12.
What is the sum of all primes less than 40000000 which generate a chain of length 25?
# --hints--
`euler214()`应该返回1677366278943
`euler214()` should return 1677366278943.
```js
assert.strictEqual(euler214(), 1677366278943);