1.0 KiB
1.0 KiB
id | challengeType | videoUrl | localeTitle |
---|---|---|---|
5900f5111000cf542c510023 | 5 | 问题420:2x2正整数矩阵 |
Description
我们将F(N)定义为迹线小于N的2x2正整数矩阵的数目,并且可以用两种不同的方式将其表示为正整数矩阵的平方。 我们可以验证F(50)= 7和F(1000)= 1019。
找出F(107)。
Instructions
Tests
tests:
- text: <code>euler420()</code>应该返回145159332。
testString: assert.strictEqual(euler420(), 145159332);
Challenge Seed
function euler420() {
// Good luck!
return true;
}
euler420();
Solution
// solution required
/section>