login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A142218 Primes congruent to 21 mod 41. 1

%I #18 May 16 2024 15:44:15

%S 103,349,431,677,1087,1579,1907,2153,2399,3137,3301,3547,3793,5023,

%T 5351,5843,6007,6089,6581,6827,6991,7237,8221,8467,8713,9041,9533,

%U 9697,10271,11173,12157,12239,13469,13633,13879,14207,14699,15601,15683,16339,16421

%N Primes congruent to 21 mod 41.

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

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

%t Select[Range[21,30000,41],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 03 2011 *)

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

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

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

%Y Cf. A000040, A142216, A142217.

%K nonn,easy

%O 1,1

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 30 19:14 EDT 2024. Contains 374771 sequences. (Running on oeis4.)