--- id: 5900f4451000cf542c50ff57 challengeType: 5 title: 'Problem 216: Investigating the primality of numbers of the form 2n2-1' videoUrl: '' localeTitle: 'Problema 216: Investigando a primalidade dos números da forma 2n2-1' --- ## Description
Considere os números t (n) da forma t (n) = 2n2-1 com n> 1. Os primeiros números são 7, 17, 31, 49, 71, 97, 127 e 161. Acontece que apenas 49 = 7 * 7 e 161 = 7 * 23 não são primos. Para n ≤ 10000 existem 2202 números t (n) que são primos.

Quantos números t (n) são primos para n ≤ 50.000.000?

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