1.9 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.9 KiB
		
	
	
	
	
	
	
	
id, challengeType, title, videoUrl, localeTitle
| id | challengeType | title | videoUrl | localeTitle | 
|---|---|---|---|---|
| 5900f39c1000cf542c50feae | 5 | Problem 47: Distinct primes factors | Проблема 47: Определенные коэффициенты простых чисел | 
Description
 14 = 2 × 7 
 15 = 3 × 5 
 Первые три последовательных номера имеют три различных основных фактора:  644 = 2 × × 7 × 23 
 645 = 3 × 5 × 43 
 646 = 2 × 17 × 19 
 Найдите первые четыре последовательных целых числа, каждый из которых имеет четыре различных основных фактора. Каков первый из этих чисел? Instructions
undefined
Tests
tests:
  - text: ''
    testString: 'assert.strictEqual(distinctPrimeFactors(2, 2), 14, "<code>distinctPrimeFactors(2, 2)</code> should return 14.");'
  - text: ''
    testString: 'assert.strictEqual(distinctPrimeFactors(3, 3), 644, "<code>distinctPrimeFactors(3, 3)</code> should return 644.");'
  - text: ''
    testString: 'assert.strictEqual(distinctPrimeFactors(4, 4), 134043, "<code>distinctPrimeFactors(4, 4)</code> should return 134043.");'
Challenge Seed
function distinctPrimeFactors(targetNumPrimes, targetConsecutive) {
  // Good luck!
  return true;
}
distinctPrimeFactors(4, 4);
Solution
// solution required