freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-49-prime-permutatio...

1.1 KiB
Raw Blame History

id challengeType videoUrl localeTitle
5900f39d1000cf542c50feb0 5 问题49主要排列

Description

算术序列1487,4817,8147其中每个项增加3330在两个方面是不寻常的i三个项中的每一个都是素数并且ii每个4位数字是彼此的排列。没有由三个1位2位或3位数的素数组成的算术序列表现出这种性质但还有另外一个4位数的增加序列。你通过连接这个序列中的三个术语来形成12位数字

Instructions

Tests

tests:
  - text: <code>primePermutations()</code>应该返回296962999629。
    testString: assert.strictEqual(primePermutations(), 296962999629);

Challenge Seed

function primePermutations() {
  // Good luck!
  return true;
}

primePermutations();

Solution

// solution required

/section>