OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 02 2016
EXAMPLE
17*2-5=29, 17*6-5=97, 17*8-5=131, 17*12-5=199,...
MATHEMATICA
a={}; Do[x=17*n-5; If[PrimeQ[x], AppendTo[a, x]], {n, 10^2}]; a
Select[Prime[Range[700]], MemberQ[{12}, Mod[#, 17]]&] (* Vincenzo Librandi, Aug 15 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 17 eq 12 ]; // Vincenzo Librandi, Aug 15 2012
(PARI) is(n)=isprime(n) && n%17==12 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 14 2008
EXTENSIONS
More terms from N. J. A. Sloane, Jul 11 2008
Edited by N. J. A. Sloane at the suggestion of R. J. Mathar, Jul 20 2008
STATUS
approved