login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 15 mod 43.
1

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

%S 101,359,617,1907,1993,2251,2423,2767,2939,3541,4057,4229,4831,5003,

%T 5261,5347,5519,6121,6379,6551,6637,7411,7583,7669,7841,7927,8443,

%U 9733,10163,10937,11969,12227,12743,12829,13001,13259,14033,14549,15581,15667,16097

%N Primes congruent to 15 mod 43.

%H Harvey P. Dale, <a href="/A142264/b142264.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[Range[15,17000,43],PrimeQ] (* _Harvey P. Dale_, May 25 2012 *)

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

%o (Magma) [p: p in PrimesUpTo(17000) | p mod 43 eq 15]; // _Vincenzo Librandi_, Aug 25 2012

%o (PARI) is(n)=isprime(n) && n%43==15 \\ _Charles R Greathouse IV_, Jul 03 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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