1.2 KiB
1.2 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4791000cf542c50ff8c | 5 | Problem 269: Polynomials with at least one integer root | 问题269:具有至少一个整数根的多项式 |
Description
我们可以看到:Pn(0)是n的最后一位,Pn(1)是n的位数之和,Pn(10)是n本身。定义Z(k)作为正整数的数量,n ,不超过多项式Pn具有至少一个整数根的k。
可以证实Z(100 000)是14696。
什么是Z(1016)?
Instructions
Tests
tests:
- text: <code>euler269()</code>应该返回1311109198529286。
testString: 'assert.strictEqual(euler269(), 1311109198529286, "<code>euler269()</code> should return 1311109198529286.");'
Challenge Seed
function euler269() {
// Good luck!
return true;
}
euler269();
Solution
// solution required