--- id: 5900f41c1000cf542c50ff2f title: '問題 176: 隣辺を共有する直角三角形' challengeType: 5 forumTopicId: 301811 dashedName: problem-176-right-angled-triangles-that-share-a-cathetus --- # --description-- 辺の長さが (9,12,15), (12,16,20), (5,12,13), (12,35,37) の 4 つの直角三角形はすべて、隣辺 (最長でない辺) のいずれかが 12 です。 辺の長さが整数、かつ隣辺のいずれかが 12 である直角三角形がこの 4 つのみであることが分かっています。 整数辺を持つちょうど 47547 個の異なる直角三角形の隣辺の長さとなり得る、最小の整数を求めなさい。 # --hints-- `trianglesSharingCathetus()` は `96818198400000` を返す必要があります。 ```js assert.strictEqual(trianglesSharingCathetus(), 96818198400000); ``` # --seed-- ## --seed-contents-- ```js function trianglesSharingCathetus() { return true; } trianglesSharingCathetus(); ``` # --solutions-- ```js // solution required ```