---
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?