* fix(curriculum): tests quotes * fix(curriculum): fill seed-teardown * fix(curriculum): fix tests and remove unneeded seed-teardown
		
			
				
	
	
	
		
			1.3 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.3 KiB
		
	
	
	
	
	
	
	
id, challengeType, title
| id | challengeType | title | 
|---|---|---|
| 5900f42c1000cf542c50ff3f | 5 | Problem 192: Best Approximations | 
Description
|p/q-x| < |r/s-x| ⇒ q > d
For example, the best approximation to √13 for the denominator bound 20 is 18/5 and the best approximation to √13 for the denominator bound 30 is 101/28.
Find the sum of all denominators of the best approximations to √n for the denominator bound 1012, where n is not a perfect square and 1 < n ≤ 100000.
Instructions
Tests
tests:
  - text: <code>euler192()</code> should return 57060635927998344.
    testString: assert.strictEqual(euler192(), 57060635927998344, '<code>euler192()</code> should return 57060635927998344.');
Challenge Seed
function euler192() {
  // Good luck!
  return true;
}
euler192();
Solution
// solution required