--- id: 5900f44b1000cf542c50ff5e title: 'Problem 223: Almost right-angled triangles I' challengeType: 5 forumTopicId: 301866 dashedName: problem-223-almost-right-angled-triangles-i --- # --description-- Let us call an integer sided triangle with sides $a ≤ b ≤ c$ barely acute if the sides satisfy $a^2 + b^2 = c^2 + 1$. How many barely acute triangles are there with perimeter $≤ 25\\,000\\,000$? # --hints-- `almostRightAngledTrianglesOne()` should return `61614848`. ```js assert.strictEqual(almostRightAngledTrianglesOne(), 61614848); ``` # --seed-- ## --seed-contents-- ```js function almostRightAngledTrianglesOne() { return true; } almostRightAngledTrianglesOne(); ``` # --solutions-- ```js // solution required ```