OFFSET
1,1
COMMENTS
The values k=0 through 15 all give primes.
LINKS
Felix Fröhlich, Table of n, a(n) for n = 1..10000
EXAMPLE
For k=15 we get 1697, a prime.
For k=16 we get 1921 = 17*113, not a prime, so not a term of the sequence.
MATHEMATICA
Select[Table[7 n^2 + 7 n +17, {n, 0, 600}], PrimeQ]
PROG
(Magma) [ a: n in [0..200] | IsPrime(a) where a is 7*n^2 + 7*n + 17 ];
(PARI) for(k=0, 1e2, if(ispseudoprime(7*k^2+7*k+17), print1(7*k^2+7*k+17, ", "))) \\ Felix Fröhlich, Apr 01 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Avi Friedlich, Mar 26 2015
EXTENSIONS
Corrected by Vincenzo Librandi, Mar 27 2015
Edited by N. J. A. Sloane, Mar 27 2015
STATUS
approved