Files
gikf 397a9f0c3e fix(curriculum): clean-up Project Euler 462-480 (#43069)
* fix: clean-up Project Euler 462-480

* fix: missing image extension

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-30 08:32:21 -07:00

877 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f5481000cf542c51005b Problem 476: Circle Packing II 5 302153 problem-476-circle-packing-ii

--description--

Let R(a, b, c) be the maximum area covered by three non-overlapping circles inside a triangle with edge lengths a, b and c.

Let S(n) be the average value of R(a, b, c) over all integer triplets (a, b, c) such that 1 ≤ a ≤ b ≤ c &lt; a + b ≤ n.

You are given S(2) = R(1, 1, 1) ≈ 0.31998, S(5) ≈ 1.25899.

Find S(1803) rounded to 5 decimal places behind the decimal point.

--hints--

circlePackingTwo() should return 110242.87794.

assert.strictEqual(circlePackingTwo(), 110242.87794);

--seed--

--seed-contents--

function circlePackingTwo() {

  return true;
}

circlePackingTwo();

--solutions--

// solution required