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!)
A127578 Primes congruent to 31 mod 32. 17
31, 127, 191, 223, 383, 479, 607, 863, 991, 1087, 1151, 1279, 1439, 1471, 1567, 1663, 1759, 1823, 1951, 2111, 2143, 2207, 2239, 2399, 2591, 2687, 2719, 2879, 3167, 3359, 3391, 3583, 3967, 4127, 4159, 4447, 4639, 4703, 4799, 4831, 5023, 5087, 5119, 5279 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

lst={}; Do[p=Prime[n]; If[Mod[p, 32]==31, AppendTo[lst, p]], {n, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Feb 26 2009 *)

Select[Prime[Range[6000]], Mod[#, 32]==31&] (* Vincenzo Librandi, Aug 14 2012 *)

Select[Range[31, 5300, 32], PrimeQ] (* Harvey P. Dale, Oct 03 2012 *)

PROG

(MAGMA) [p: p in PrimesUpTo(6000) | p mod 32 eq 31 ]; // Vincenzo Librandi, Aug 14 2012

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

CROSSREFS

Cf. A000040, A127575, A127576, A127577, A127579, A127580, A127581.

Sequence in context: A183836 A078656 A095322 * A333245 A158563 A079141

Adjacent sequences:  A127575 A127576 A127577 * A127579 A127580 A127581

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski, Jan 19 2007

EXTENSIONS

Corrected by N. J. A. Sloane, Jul 11 2008

Edited by N. J. A. Sloane at the suggestion of R. J. Mathar, Jul 20 2008

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 July 14 16:21 EDT 2020. Contains 335729 sequences. (Running on oeis4.)