1.3 KiB
1.3 KiB
id | challengeType | title | forumTopicId |
---|---|---|---|
5900f4601000cf542c50ff73 | 5 | Problem 243: Resilience | 301890 |
Description
We shall call a fraction that cannot be cancelled down a resilient fraction. Furthermore we shall define the resilience of a denominator, R(d), to be the ratio of its proper fractions that are resilient; for example, R(12) = 4/11 . In fact, d = 12 is the smallest denominator having a resilience R(d) < 4/10 .
Find the smallest denominator d, having a resilience R(d) < 15499/94744 .
Instructions
Tests
tests:
- text: <code>euler243()</code> should return 892371480.
testString: assert.strictEqual(euler243(), 892371480);
Challenge Seed
function euler243() {
// Good luck!
return true;
}
euler243();
Solution
// solution required