Files
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

47 lines
958 B
Markdown

---
id: 5900f3a81000cf542c50febb
title: 'Problem 60: Prime pair sets'
challengeType: 5
forumTopicId: 302172
dashedName: problem-60-prime-pair-sets
---
# --description--
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.
Find the lowest sum for a set of five primes for which any two primes concatenate to produce another prime.
# --hints--
`primePairSets()` should return a number.
```js
assert(typeof primePairSets() === 'number');
```
`primePairSets()` should return 26033.
```js
assert.strictEqual(primePairSets(), 26033);
```
# --seed--
## --seed-contents--
```js
function primePairSets() {
return true;
}
primePairSets();
```
# --solutions--
```js
// solution required
```