login
Primes congruent to 16 mod 41.
2

%I #16 Oct 01 2024 05:55:34

%S 139,467,631,877,1123,1451,1697,1861,2927,3583,3911,4157,4567,4649,

%T 4813,5059,5387,5879,6043,6781,6863,7027,7109,8011,8093,8831,9241,

%U 9323,9733,10061,10799,11701,11783,13177,13259,13669,13751,13997,14243,14407,14489

%N Primes congruent to 16 mod 41.

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

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

%t Select[Range[16,30000,41],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, May 17 2011 *)

%t Select[Prime[Range[5000]],MemberQ[{16},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 23 2012 *)

%o (Magma) [p: p in PrimesUpTo(16000) | p mod 41 eq 16 ]; // _Vincenzo Librandi_, Aug 23 2012

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

%Y Cf. A000040, A059236, A142199, A142200, A142212.

%K nonn,easy

%O 1,1

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