3.5 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			3.5 KiB
		
	
	
	
	
	
	
	
id, challengeType, title, videoUrl, localeTitle
| id | challengeType | title | videoUrl | localeTitle | 
|---|---|---|---|---|
| 5900f3a31000cf542c50feb6 | 5 | Problem 55: Lychrel numbers | Проблема 55: числа Лычреля | 
Description
num ? ПРИМЕЧАНИЕ. Редакция немного изменилась 24 апреля 2007 года, чтобы подчеркнуть теоретический характер чисел Лычреля. Instructions
Tests
tests:
  - text: ''
    testString: 'assert.strictEqual(countLychrelNumbers(1000), 13, "<code>countLychrelNumbers(1000)</code> should return 13.");'
  - text: ''
    testString: 'assert.strictEqual(countLychrelNumbers(5000), 76, "<code>countLychrelNumbers(5000)</code> should return 76.");'
  - text: ''
    testString: 'assert.strictEqual(countLychrelNumbers(10000), 249, "<code>countLychrelNumbers(10000)</code> should return 249.");'
  - text: ''
    testString: 'assert.strictEqual(countLychrelNumbers(3243), 39, "Your function should count all Lychrel numbers.");'
  - text: ''
    testString: 'assert.strictEqual(countLychrelNumbers(7654), 140, "Your function should pass all test cases.");'
Challenge Seed
function countLychrelNumbers(num) {
  // Good luck!
  return true;
}
countLychrelNumbers(10000);
Solution
// solution required