freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-296-angular-bisecto...

62 lines
989 B
Markdown

---
id: 5900f4941000cf542c50ffa7
challengeType: 5
title: 'Problem 296: Angular Bisector and Tangent'
---
## Description
<section id='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?
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler296()</code> should return 1137208419.
testString: assert.strictEqual(euler296(), 1137208419);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler296() {
// Good luck!
return true;
}
euler296();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>