Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-420-2x2-positive-integer-matrix.chinese.md
Kristofer Koishigawa b3213fc892 fix(i18n): chinese test suite (#38220)
* fix: Chinese test suite

Add localeTiltes, descriptions, and adjust test text and testStrings to get the automated test suite working.

* fix: ran script, updated testStrings and solutions
2020-03-03 18:49:47 +05:30

1.1 KiB
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f5111000cf542c510023 5 Problem 420: 2x2 positive integer matrix 问题4202x2正整数矩阵

Description

正整数矩阵是其元素均为正整数的矩阵。 一些正整数矩阵可以两种不同方式表示为正整数矩阵的平方。 这是一个例子:

我们将FN定义为迹线小于N的2x2正整数矩阵的数目并且可以用两种不同的方式将其表示为正整数矩阵的平方。 我们可以验证F50= 7和F1000= 1019。

找出F107

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