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!)
A142495 Primes congruent to 31 mod 51. 1

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

%S 31,337,439,541,643,1051,1153,1459,1663,1867,2377,2683,2887,3499,3907,

%T 4111,4519,4621,4723,5233,5437,5641,5743,6151,6661,6763,6967,7069,

%U 7477,7681,8089,8191,8293,8599,8803,9007,9109,9619,9721,10333,10639,11047,11149,11251

%N Primes congruent to 31 mod 51.

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

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

%t Select[Prime[Range[2400]], MemberQ[{31}, Mod[#, 51]] &] (* _Vincenzo Librandi_, Aug 28 2012 *)

%t Select[Range[31,12000,51],PrimeQ] (* _Harvey P. Dale_, Apr 24 2017 *)

%o (Magma) [p: p in PrimesUpTo(13000) | p mod 51 eq 31]; // _Vincenzo Librandi_, Aug 28 2012

%o (PARI) is(n)=isprime(n) && n%51==31 \\ _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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)