2.2 KiB
2.2 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f3d21000cf542c50fee4 | 5 | Problem 101: Optimum polynomial | 问题101:最佳多项式 |
Description
OP(1,n)= 11 1,1,1,1 ...... OP(2,n)= 7n-6 1,8,15,...... OP(3,n)= 6n2-11n + 6 1,8,27,58,... OP(4,n)= n3 1,8,27,64,125,......
显然,对于k≥4,不存在BOP。通过考虑BOP产生的FIT之和(以红色表示),我们得到1 + 15 + 58 = 74.考虑下面的十度多项式生成函数:un = 1 - n + n2 - n3 + n4 - n5 + n6 - n7 + n8 - n9 + n10求BOP的FIT之和。
Instructions
Tests
tests:
- text: <code>euler101()</code>应该返回37076114526。
testString: 'assert.strictEqual(euler101(), 37076114526, "<code>euler101()</code> should return 37076114526.");'
Challenge Seed
function euler101() {
// Good luck!
return true;
}
euler101();
Solution
// solution required