login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A093350
Primes congruent to 6 mod 13.
8
19, 71, 97, 149, 227, 331, 383, 409, 461, 487, 617, 643, 773, 877, 929, 1033, 1163, 1319, 1423, 1553, 1579, 1657, 1709, 1787, 2099, 2203, 2281, 2333, 2411, 2437, 2593, 2671, 2749, 2801, 2879, 2957, 3061, 3191, 3217
OFFSET
1,1
COMMENTS
Used in a primality test.
LINKS
Chris Caldwell, Prime Test.
MAPLE
p:=proc(n) if isprime(n)=true and n mod 13 = 6 then n else fi end:seq(p(n), n=1..4500); # Emeric Deutsch, Feb 28 2005
MATHEMATICA
Select[Range[6, 20000, 13], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 18 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(4500) | p mod 13 eq 6 ]; // Vincenzo Librandi, Aug 14 2012
(PARI) is(n)=isprime(n) && n%13==6 \\ Charles R Greathouse IV, Jul 01 2016
CROSSREFS
Sequence in context: A172078 A196136 A198002 * A226802 A342737 A142516
KEYWORD
nonn,easy
AUTHOR
Jun Mizuki (suzuki32(AT)sanken.osaka-u.ac.jp), Apr 26 2004
EXTENSIONS
Corrected and extended by Emeric Deutsch, Feb 28 2005
STATUS
approved