freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-296-angular-bisector-and-tangent.english.md
Valeriy 79d9012432 fix(curriculum): quotes in tests (#18828)
* fix(curriculum): tests quotes

* fix(curriculum): fill seed-teardown

* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30

1.0 KiB

id, challengeType, title
id challengeType title
5900f4941000cf542c50ffa7 5 Problem 296: Angular Bisector and Tangent

Description

Given is an integer sided triangle ABC with BC ≤ AC ≤ AB.k is the angular bisector of angle ACB.m is the tangent at C to the circumscribed circle of ABC.n is a line parallel to m through B. The intersection of n and k is called E.

How many triangles ABC with a perimeter not exceeding 100 000 exist such that BE has integral length?

Instructions

Tests

tests:
  - text: <code>euler296()</code> should return 1137208419.
    testString: assert.strictEqual(euler296(), 1137208419, '<code>euler296()</code> should return 1137208419.');

Challenge Seed

function euler296() {
  // Good luck!
  return true;
}

euler296();

Solution

// solution required