OFFSET
1,1
COMMENTS
All terms are == 3 (mod 4).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
For n = 2 we have 6*2^2 - 2*2 -1 = 19.
MATHEMATICA
Select[Table[6n^2-2n-1, {n, 0, 2000}], PrimeQ] (* Vincenzo Librandi, Jul 17 2012 *)
PROG
(PARI) for(k=1, 120, if(isprime(p=6*k^2-2*k-1), print1(p, ", ")))
(Magma) [a: n in [0..250] | IsPrime(a) where a is 6*n^2 - 2*n - 1]; // Vincenzo Librandi, Jul 17 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Nov 07 2004
EXTENSIONS
Edited, corrected and extended by Klaus Brockhaus, Nov 12 2004
STATUS
approved