Problem 60 » 履歴 » バージョン 1
Noppi, 2024/01/23 12:44
| 1 | 1 | Noppi | [ホーム](https://redmine.noppi.jp) - [[Wiki|Project Euler]] |
|---|---|---|---|
| 2 | # [[Problem 60]] |
||
| 3 | |||
| 4 | ## Prime Pair Sets |
||
| 5 | The primes $3$, $7$, $109$, and $673$, are quite remarkable. By taking any two primes and concatenating them in any order the result will always be prime. For example, taking $7$ and $109$, both $7109$ and $1097$ are prime. The sum of these four primes, $792$, represents the lowest sum for a set of four primes with this property. |
||
| 6 | |||
| 7 | Find the lowest sum for a set of five primes for which any two primes concatenate to produce another prime. |
||
| 8 | |||
| 9 | ## 素数ペア集合 |
||
| 10 | 素数3, 7, 109, 673は非凡な性質を持っている. 任意の2つの素数を任意の順で繋げると, また素数になっている. 例えば, 7と109を用いると, 7109と1097の両方が素数である. これら4つの素数の和は792である. これは, このような性質をもつ4つの素数の集合の和の中で最小である. |
||
| 11 | |||
| 12 | 任意の2つの素数を繋げたときに別の素数が生成される, 5つの素数の集合の和の中で最小のものを求めよ. |
||
| 13 | |||
| 14 | ```scheme |
||
| 15 | ``` |