login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045410 Primes congruent to {3, 5} mod 6. 8
3, 5, 11, 17, 23, 29, 41, 47, 53, 59, 71, 83, 89, 101, 107, 113, 131, 137, 149, 167, 173, 179, 191, 197, 227, 233, 239, 251, 257, 263, 269, 281, 293, 311, 317, 347, 353, 359, 383, 389, 401, 419, 431, 443, 449, 461, 467, 479, 491, 503, 509, 521, 557, 563, 569 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[200]], MemberQ[{3, 5}, Mod[#, 6]]&] (* Vincenzo Librandi, Aug 12 2012 *)
PROG
(Magma) [ p: p in PrimesUpTo(600) | p mod 6 in {3, 5} ]; // Vincenzo Librandi, Aug 12 2012
(PARI) is(n)=(n%6==5 && isprime(n)) || n==3 \\ Charles R Greathouse IV, Jul 20 2015
CROSSREFS
Essentially the same as A007528.
Cf. A000040.
Sequence in context: A167921 A216366 A136084 * A248173 A244029 A106902
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Extended by Charles R Greathouse IV, Mar 19 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 14 13:32 EDT 2024. Contains 375921 sequences. (Running on oeis4.)