1.5 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.5 KiB
		
	
	
	
	
	
	
	
id, challengeType, title, videoUrl, localeTitle
| id | challengeType | title | videoUrl | localeTitle | 
|---|---|---|---|---|
| 5900f4c41000cf542c50ffd6 | 5 | Problem 343: Fractional Sequences | 
Description
1/20 → 2/19 → 3/18 = 1/6 → 2/5 → 3/4 → 4/3 → 5/2 → 6/1 = 6
Итак, f (20) = 6.
Также f (1) = 1, f (2) = 2, f (3) = 1 и Σf (k3) = 118937 для 1 ≤ k ≤ 100.
Найти Σf (k3) для 1 ≤ k ≤ 2 × 106.
Instructions
Tests
tests:
  - text: <code>euler343()</code> должен вернуть 269533451410884200.
    testString: 'assert.strictEqual(euler343(), 269533451410884200, "<code>euler343()</code> should return 269533451410884200.");'
Challenge Seed
function euler343() {
  // Good luck!
  return true;
}
euler343();
Solution
// solution required