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

%I #9 Sep 08 2022 08:45:36

%S 31,211,571,661,751,1021,1201,1291,1381,1471,1741,1831,2011,2281,2371,

%T 2551,2731,3001,3181,3271,3361,3541,3631,4261,4441,4621,4801,5431,

%U 5521,5701,5791,5881,6151,6421,6691,6781,6871,6961,7321,7411,7591,7681,7951,8221

%N Primes congruent to 31 mod 45.

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

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

%t Select[Prime[Range[1200]],MemberQ[{31},Mod[#,45]]&] (* _Vincenzo Librandi_, Aug 26 2012 *)

%o (Magma) [p: p in PrimesUpTo(10000) | p mod 45 eq 31]; // _Vincenzo Librandi_, Aug 26 2012 *)

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

%Y Cf. A000040.

%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 March 29 06:57 EDT 2024. Contains 371265 sequences. (Running on oeis4.)