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!)
A142421 Primes congruent to 9 mod 49. 1

%I #14 Nov 04 2023 10:23:40

%S 107,401,499,1087,1283,1381,1871,2459,2557,2753,2851,3733,3929,4027,

%T 4517,4909,5399,5693,5791,5987,6379,6673,6869,6967,7457,8731,9221,

%U 9319,9613,9907,10103,10691,10789,11083,11279,11867,12161,12553,13043,13337,13729

%N Primes congruent to 9 mod 49.

%H Vincenzo Librandi, <a href="/A142421/b142421.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[1700]],Mod[#,49]==9&] (* _Harvey P. Dale_, Apr 20 2011 *)

%t Select[Prime[Range[2500]], MemberQ[{9}, Mod[#, 49]] &] (* _Vincenzo Librandi_, Aug 27 2012 *)

%t Select[Range[9,14000,49],PrimeQ] (* _Harvey P. Dale_, Nov 04 2023 *)

%o (Magma) [p: p in PrimesUpTo(16000) | p mod 49 eq 9]; // _Vincenzo Librandi_, Aug 27 2012

%o (PARI) is(n)=isprime(n) && n%49==9 \\ _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 July 26 05:23 EDT 2024. Contains 374615 sequences. (Running on oeis4.)