login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

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

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

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

Adjacent sequences:  A045407 A045408 A045409 * A045411 A045412 A045413

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 10 04:15 EST 2019. Contains 329885 sequences. (Running on oeis4.)