login
Primes congruent to 6 mod 47.
1

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

%S 53,241,523,617,1087,1181,1933,2027,2309,2591,3061,3343,3719,3907,

%T 4001,4283,5693,5881,6163,6257,7103,7573,7949,8231,8419,8513,9547,

%U 9829,9923,10111,10487,10957,11239,11897,12743,14153,14341,14717,15187,16033,16127

%N Primes congruent to 6 mod 47.

%H Vincenzo Librandi, <a href="/A142357/b142357.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[47Range[350]+6,PrimeQ] (* _Harvey P. Dale_, Jun 20 2011 *)

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

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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