OFFSET
1,1
COMMENTS
Used in a primality test.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Chris Caldwell, Prime test.
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Prime[Range[800]], Mod[#, 17]==4&] (* Harvey P. Dale, Mar 22 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 17 eq 4 ]; // Vincenzo Librandi, Aug 14 2012
(PARI) is(n)=isprime(n) && n%17==4 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jun Mizuki (suzuki32(AT)sanken.osaka-u.ac.jp), Jun 14 2004
EXTENSIONS
More terms from Klaus Brockhaus, Jun 16 2004
STATUS
approved