[go: up one dir, main page]

login
Primes congruent to 39 mod 47.
1

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

%S 227,509,1543,1637,2389,2671,2953,3329,3517,4363,4457,5021,5209,5303,

%T 5867,6337,6619,7559,7841,8123,8311,8969,9157,9439,9533,9721,10567,

%U 11131,11789,12071,12541,12823,12917,13669,13763,14327,14797,14891,15173,15361,15643

%N Primes congruent to 39 mod 47.

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

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

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

%t Select[Range[39,16000,47],PrimeQ] (* _Harvey P. Dale_, Oct 14 2021 *)

%o (Magma) [p: p in PrimesUpTo(18000) | p mod 47 eq 39]; // _Vincenzo Librandi_, Aug 27 2012

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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