Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #13 Apr 24 2016 16:38:25
%S 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,25,26,
%T 27,28,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,
%U 51,52,53,55,56,59,61,63,65,67,68,72,73,74,75,76,77,78
%N Numbers n such that abs(7*n^2 - 371*n + 4871) is prime.
%H Robert Price, <a href="/A272076/b272076.txt">Table of n, a(n) for n = 1..3530</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html">Prime-Generating Polynomials</a>
%e 4 is in this sequence since 7*4^2 - 371*4 + 4871 = 112-1484+4871 = 3499 is prime.
%t Select[Range[0, 100], PrimeQ[7#^2 - 371# + 4871] &]
%o (PARI) lista(nn) = for(n=0, nn, if(ispseudoprime(abs(7*n^2-371*n+4871)), print1(n, ", "))); \\ _Altug Alkan_, Apr 19 2016
%Y Cf. A050268, A050267, A005846, A007641, A007635, A048988, A050265, A050266.
%Y Cf. A271980, A272074, A272075, A272077.
%K nonn
%O 1,3
%A _Robert Price_, Apr 19 2016