freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-303-multiples-with-...

886 B
Raw Blame History

id challengeType videoUrl localeTitle
5900f49b1000cf542c50ffae 5 问题303小数的倍数

Description

对于正整数n将fn定义为n的最小正整数以10为底的数字只能使用≤2的数字。 因此f2= 2f3= 12f7= 21f42= 210f89= 1121222。 另外,。

找 。

Instructions

Tests

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

Challenge Seed

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

euler303();

Solution

// solution required

/section>