The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A045320 Primes not congruent to 5 (mod 7). 12
2, 3, 7, 11, 13, 17, 23, 29, 31, 37, 41, 43, 53, 59, 67, 71, 73, 79, 83, 97, 101, 107, 109, 113, 127, 137, 139, 149, 151, 157, 163, 167, 179, 181, 191, 193, 197, 199, 211, 223, 227, 233, 239, 241, 251, 263, 269, 277, 281, 283, 293, 307, 311, 317, 331, 337, 347 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Mohammed Yaseen, Table of n, a(n) for n = 1..10000 (first 1000 terms from Harvey P. Dale)
MATHEMATICA
Select[Prime[Range[2000]], Mod[#, 7]!=5&] (* Harvey P. Dale, Feb 26 2013 *)
PROG
(PARI) forprime(p=2, 350, if(p%7 != 5, print1(p, ", "))) \\ Mohammed Yaseen, Mar 18 2023
CROSSREFS
Cf. A045334.
Sequence in context: A038921 A129633 A020622 * A045321 A045322 A296931
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Mohammed Yaseen, Mar 18 2023
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 May 22 19:48 EDT 2024. Contains 372758 sequences. (Running on oeis4.)