28 lines
485 B
Markdown
28 lines
485 B
Markdown
---
|
||
id: 5900f49b1000cf542c50ffae
|
||
title: 问题303:小数的倍数
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --description--
|
||
|
||
对于正整数n,将f(n)定义为n的最小正整数,以10为底的数字只能使用≤2的数字。
|
||
|
||
因此,f(2)= 2,f(3)= 12,f(7)= 21,f(42)= 210,f(89)= 1121222。
|
||
|
||
另外,。
|
||
|
||
找 。
|
||
|
||
# --hints--
|
||
|
||
`euler303()`应该返回1111981904675169。
|
||
|
||
```js
|
||
assert.strictEqual(euler303(), 1111981904675169);
|
||
```
|
||
|
||
# --solutions--
|
||
|