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!)
A142251 Primes congruent to 2 mod 43. 1

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

%S 2,131,389,647,733,991,1163,1249,2281,2539,2711,2797,2969,3313,3571,

%T 4001,4259,4517,4603,4861,5119,5807,6151,6323,6581,7699,8387,8731,

%U 9161,9419,9677,10193,10709,11311,11483,11827,12343,12601,13633,14149,14321,14407

%N Primes congruent to 2 mod 43.

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

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

%t Select[Prime[Range[5000]],MemberQ[{2},Mod[#,43]]&] (* _Vincenzo Librandi_, Aug 24 2012 *)

%t Select[Range[2,15000,43],PrimeQ] (* _Harvey P. Dale_, Jan 02 2019 *)

%o (Magma) [p: p in PrimesUpTo(15000) | p mod 43 eq 2 ]; // _Vincenzo Librandi_, Aug 24 2012

%o (PARI) is(n)=isprime(n) && n%43==2 \\ _Charles R Greathouse IV_, Jul 03 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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)