--- id: 5900f49b1000cf542c50ffae challengeType: 5 videoUrl: '' title: 问题303:小数的倍数 --- ## Description
对于正整数n,将f(n)定义为n的最小正整数,以10为底的数字只能使用≤2的数字。 因此,f(2)= 2,f(3)= 12,f(7)= 21,f(42)= 210,f(89)= 1121222。 另外,。 找 。
## Instructions
## Tests
```yml tests: - text: euler303()应该返回1111981904675169。 testString: assert.strictEqual(euler303(), 1111981904675169); ```
## Challenge Seed
```js function euler303() { // Good luck! return true; } euler303(); ```
## Solution
```js // solution required ``` /section>