login

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

Primes congruent to 18 mod 43.
1

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

%S 61,233,491,577,1093,1523,1609,1867,2039,2297,2383,3329,3673,3931,

%T 4447,4877,5393,5479,5651,5737,7027,7457,8059,8231,8317,8747,9091,

%U 9349,9521,10037,10639,11069,12101,12703,13219,13477,13649,13907,14251,14423,14767

%N Primes congruent to 18 mod 43.

%H Vincenzo Librandi, <a href="/A142267/b142267.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[{18},Mod[#,43]]&] (* _Vincenzo Librandi_, Aug 25 2012 *)

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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