--- id: 5900f3ec1000cf542c50fefe challengeType: 5 title: 'Problem 127: abc-hits' videoUrl: '' localeTitle: 'Problema 127: abc-hits' --- ## Description
El radical de n, rad (n), es el producto de distintos factores primos de n. Por ejemplo, 504 = 23 × 32 × 7, entonces rad (504) = 2 × 3 × 7 = 42. Definiremos que el triplete de enteros positivos (a, b, c) sea un acierto si: GCD ( a, b) = GCD (a, c) = GCD (b, c) = 1 a <ba + b = c rad (abc) <c Por ejemplo, (5, 27, 32) es un éxito abc, porque : GCD (5, 27) = GCD (5, 32) = GCD (27, 32) = 1 5 <27 5 + 27 = 32 rad (4320) = 30 <32 Resulta que los abc-hits son bastante raros y solo hay treinta y un abc-hits para c <1000, con ∑c = 12523. Encuentra ∑c para c <120000.
## Instructions
## Tests
```yml tests: - text: euler127() debe devolver 18407904. testString: 'assert.strictEqual(euler127(), 18407904, "euler127() should return 18407904.");' ```
## Challenge Seed
```js function euler127() { // Good luck! return true; } euler127(); ```
## Solution
```js // solution required ```