OFFSET
1,1
COMMENTS
Also primes of the form (n^2 + n + 41) / 43. Note that in the form 43n^2 + 3n + 1, both positive and negative n must be considered.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
a={}; Do[p=(n^2+n+41)/43; If[PrimeQ[p], AppendTo[a, p]], {n, 10^4}]; Print[a];
PROG
(PARI) for(n=1, 1e2, if(isprime(t=43*n^2-3*n+1), print1(t", ")); if(isprime(t=43*n^2+3*n+1), print1(t", "))) \\ Charles R Greathouse IV, Feb 27 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, Feb 08 2011
STATUS
approved