[go: up one dir, main page]

login
Primes congruent to 40 mod 53.
1

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

%S 199,941,1153,1259,1471,1789,2213,2531,3061,3167,3697,3803,4651,4969,

%T 5393,5711,5923,6029,6983,7937,8467,8573,9103,9209,9421,9739,10163,

%U 10799,11117,11329,12071,12601,12919,13873,14827,15569,15887,16417,17053,17159,17477

%N Primes congruent to 40 mod 53.

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

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

%t Select[Prime[Range[2600]], MemberQ[{40}, Mod[#, 53]] &] (* _Vincenzo Librandi_, Aug 30 2012 *)

%t Select[Range[40,18000,53],PrimeQ] (* _Harvey P. Dale_, Aug 31 2020 *)

%o (Magma) [p: p in PrimesUpTo(20000) | p mod 53 eq 40]; // _Vincenzo Librandi_, Aug 30 2012

%o (PARI) is(n)=isprime(n) && n%53==40 \\ _Charles R Greathouse IV_, Jul 04 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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