login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes of the form 10n^2+14n+5, n >= 0.
1

%I #16 May 03 2024 19:46:59

%S 5,29,73,137,449,593,757,941,1613,1877,2161,2789,3881,5153,6101,7129,

%T 7673,8237,8821,12041,13469,15761,17389,18233,26729,27773,28837,29921,

%U 34457,38069,39313,40577,45833,60373,63521,66749,71741,75169,76913

%N Primes of the form 10n^2+14n+5, n >= 0.

%H Vincenzo Librandi, <a href="/A154412/b154412.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Table[10n^2+14n+5,{n,0,200}],PrimeQ] (* _Vincenzo Librandi_, Jul 23 2012 *)

%o (Magma) [a: n in [0..100] | IsPrime(a) where a is 10*n^2+14*n+5]; // _Vincenzo Librandi_, Jul 23 2012

%o (PARI) {for(n=0, 100, if(isprime(k=10*n^2+14*n+5), print1(k, ", ")))}; \\ _Vincenzo Librandi_, Jul 23 2012

%Y Cf. A017353, A154408.

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Jan 09 2009

%E Corrected by _Don Reble_, Jun 16 2010