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!)
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
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
Sequence in context: A183836 A078656 A095322 * A333245 A158563 A079141
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)