--- id: 5900f3901000cf542c50fea3 challengeType: 5 title: 'Problem 36: Double-base palindromes' videoUrl: '' localeTitle: 'Задача 36: Палиндромы с двойной базой' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(doubleBasePalindromes(1000) == 1772, "doubleBasePalindromes(1000) should return 1772.");' - text: '' testString: 'assert(doubleBasePalindromes(50000) == 105795, "doubleBasePalindromes(50000) should return 105795.");' - text: '' testString: 'assert(doubleBasePalindromes(500000) == 286602, "doubleBasePalindromes(500000) should return 286602.");' - text: '' testString: 'assert(doubleBasePalindromes(1000000) == 872187, "doubleBasePalindromes(1000000) should return 872187.");' ```
## Challenge Seed
```js function doubleBasePalindromes(n) { // Good luck! return n; } doubleBasePalindromes(1000000); ```
## Solution
```js // solution required ```