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!)
A142235 Primes congruent to 38 mod 41. 1

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

%S 79,571,653,1063,1637,1801,2129,2293,2539,2621,3359,3769,3851,4261,

%T 4507,4999,5081,5573,5737,6229,6311,6803,6967,7213,7459,7541,7951,

%U 8443,8689,9181,10247,10657,10739,10903,11149,11887,11969,12379,12953,13691,14347

%N Primes congruent to 38 mod 41.

%H Vincenzo Librandi, <a href="/A142235/b142235.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[Prime[Range[5000]],MemberQ[{38},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 24 2012 *)

%t Select[Range[38,15000,41],PrimeQ] (* _Harvey P. Dale_, Dec 29 2013 *)

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

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

%Y Cf. A000040.

%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 April 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)