--- id: 5900f5001000cf542c510013 challengeType: 5 title: 'Problem 403: Lattice points enclosed by parabola and line' videoUrl: '' localeTitle: 'Problema 403: Puntos de celosía encerrados entre parábola y línea' --- ## Description
Para los enteros a y b, definimos D (a, b) como el dominio encerrado por la parábola y = x2 y la línea y = a · x + b: D (a, b) = {(x, y) | x2 ≤ y ≤ a · x + b}.

L (a, b) se define como el número de puntos de red contenidos en D (a, b). Por ejemplo, L (1, 2) = 8 y L (2, -1) = 1.

También definimos S (N) como la suma de L (a, b) para todos los pares (a, b) de manera que el área de D (a, b) sea un número racional y | a |, | b | ≤ N. Podemos verificar que S (5) = 344 y S (100) = 26709528.

Encontrar S (1012). Da tu respuesta mod 108.

## Instructions
## Tests
```yml tests: - text: euler403() debe devolver 18224771. testString: 'assert.strictEqual(euler403(), 18224771, "euler403() should return 18224771.");' ```
## Challenge Seed
```js function euler403() { // Good luck! return true; } euler403(); ```
## Solution
```js // solution required ```