Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #17 Oct 01 2024 07:23:04
%S 13,271,443,701,787,1217,1303,1733,2593,2851,3023,3109,3539,3797,4657,
%T 5087,5431,5689,5861,7151,7237,7753,8011,8269,8527,8699,9043,9473,
%U 9817,10247,10333,11279,12569,13171,13687,13859,14461,14633,14891,15149,15493,15923
%N Primes congruent to 13 mod 43.
%H Vincenzo Librandi, <a href="/A142262/b142262.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[{13},Mod[#,43]]&] (* _Vincenzo Librandi_, Aug 25 2012 *)
%t Select[Range[13,16000,43],PrimeQ] (* _Harvey P. Dale_, Aug 05 2019 *)
%o (Magma) [p: p in PrimesUpTo(17000) | p mod 43 eq 13 ]; // _Vincenzo Librandi_, Aug 25 2012
%o (PARI) is(n)=isprime(n) && n%43==13 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008