login

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

Primes congruent to 19 mod 41.
4

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

%S 19,101,347,593,757,839,1249,1741,1823,1987,2069,2971,3217,3299,3463,

%T 3709,4201,4283,4447,5021,5431,5923,6661,6907,7481,7727,8219,8629,

%U 9203,9613,9859,9941,10433,10597,11171,11827,11909,12073,12401,12647,12893,13877

%N Primes congruent to 19 mod 41.

%H Vincenzo Librandi, <a href="/A142216/b142216.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[19,30000,41],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 03 2011 *)

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

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

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

%Y Cf. A000040, A144562. - _Vincenzo Librandi_, Jan 17 2009

%K nonn,easy

%O 1,1

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