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!)
A045439 Primes congruent to {0, 4, 5, 6} mod 7. 1
5, 7, 11, 13, 19, 41, 47, 53, 61, 67, 83, 89, 97, 103, 109, 131, 137, 139, 151, 167, 173, 179, 181, 193, 223, 229, 251, 257, 263, 271, 277, 293, 307, 313, 347, 349, 383, 389, 397, 419, 431, 433, 439, 461, 467, 487 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[200]], MemberQ[{0, 4, 5, 6}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 13 2012 *)
Select[Flatten[{0, 4, 5, 6}+#&/@(7Range[0, 70])], PrimeQ] (* or *) Select[LinearRecurrence[ {1, 0, 0, 1, -1}, {0, 4, 5, 6, 7}, 300], PrimeQ] (* Harvey P. Dale, Jul 22 2024 *)
PROG
(Magma) [ p: p in PrimesUpTo(700) | p mod 7 in {0, 4, 5, 6} ]; // Vincenzo Librandi, Aug 13 2012
CROSSREFS
Cf. A000040.
Sequence in context: A154275 A339347 A167460 * A093078 A314298 A314299
KEYWORD
nonn,easy
AUTHOR
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 August 25 09:49 EDT 2024. Contains 375425 sequences. (Running on oeis4.)