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!)
A142010 Primes congruent to 6 mod 31. 2

%I #16 Sep 08 2022 08:45:35

%S 37,223,347,409,719,967,1091,1153,1277,2083,2207,2269,2393,2579,3137,

%T 3323,3571,3881,3943,4129,4253,5059,5431,5741,5927,6113,6299,6361,

%U 6547,6733,6857,7043,7229,7477,8221,8779,9151,9337,9461,9833,10267,10391,10453,10639

%N Primes congruent to 6 mod 31.

%H Vincenzo Librandi, <a href="/A142010/b142010.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) ~ 30n log n. - _Charles R Greathouse IV_, Jul 02 2016

%t Select[Range[6,20000,31],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 20 2011 *)

%o (Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 6 ]; // _Vincenzo Librandi_, Apr 20 2011

%o (PARI) is(n)=isprime(n) && n%31==6 \\ _Charles R Greathouse IV_, Jul 02 2016

%Y Cf. A000040, A142005, A142006.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008

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 20 08:05 EDT 2024. Contains 372703 sequences. (Running on oeis4.)