Files
freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-296-angular-bisector-and-tangent.english.md
Oliver Eyton-Williams f1c9b08cf3 fix(curriculum): add isHidden: false to challenges
This includes certificates (where it does nothing), but does not
include any translations.
2020-05-25 16:25:19 +05:30

1.0 KiB

id, challengeType, isHidden, title, forumTopicId
id challengeType isHidden title forumTopicId
5900f4941000cf542c50ffa7 5 false Problem 296: Angular Bisector and Tangent 301948

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);

Challenge Seed

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

euler296();

Solution

// solution required