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) ~ 18n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[ Prime[ Range[750]], Mod[ #, 19] == 3 &] (* Robert G. Wilson v, Apr 09 2004 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 19 eq 3]; // Vincenzo Librandi, Aug 06 2012
(PARI) is(n)=isprime(n) && n%19==3 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jun Mizuki (suzuki32(AT)sanken.osaka-u.ac.jp), Apr 01 2004
EXTENSIONS
More terms from Robert G. Wilson v, Apr 09 2004
STATUS
approved