login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045392 Primes congruent to 2 mod 7. 12
2, 23, 37, 79, 107, 149, 163, 191, 233, 317, 331, 359, 373, 401, 443, 457, 499, 541, 569, 653, 709, 751, 821, 863, 877, 919, 947, 1031, 1087, 1129, 1171, 1213, 1283, 1297, 1367, 1381, 1409, 1423, 1451, 1493, 1549, 1619, 1759, 1787, 1801, 1871, 1913, 1997 (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[Range[2, 50000, 7], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 13 2011 *)

PROG

(MAGMA) [p: p in PrimesUpTo(2000) | p mod 7 eq 2]; // Vincenzo Librandi, Aug 07 2012

(PARI) is(n)=isprime(n) && n%7==2 \\ Charles R Greathouse IV, Jul 01 2016

CROSSREFS

Cf. A045437, A045458, A045471.

Sequence in context: A117242 A144550 A106736 * A107374 A068835 A156557

Adjacent sequences:  A045389 A045390 A045391 * A045393 A045394 A045395

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

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 May 17 22:15 EDT 2021. Contains 343992 sequences. (Running on oeis4.)