A267069 Nonnegative numbers n such that abs(103*n^2 - 4707*n + 50383) is prime.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 47, 49, 50, 51, 52, 53, 54, 57, 59, 60, 61, 63, 64, 65, 66, 67, 69, 73, 74, 76, 77, 80
Offset: 1
Keywords
Examples
4 is in this sequence since 103*4^2 - 4707*4 + 50383 = 1648-18828+50383 = 33203 is prime.
Links
- Robert Price, Table of n, a(n) for n = 1..3885
- Eric Weisstein's World of Mathematics, Prime-Generating Polynomials
Crossrefs
Programs
-
Mathematica
Select[Range[0, 100], PrimeQ[103#^2 - 4707# + 50383 ] &]
-
PARI
lista(nn) = for(n=0, nn, if(isprime(abs(103*n^2-4707*n+50383)), print1(n, ", "))); \\ Altug Alkan, Apr 28 2016, corrected by Hugo Pfoertner, Dec 13 2019
Extensions
Title corrected by Hugo Pfoertner, Dec 13 2019
Comments