Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Primes congruent to 1 mod 59.
6

%I #13 Sep 08 2022 08:46:03

%S 709,827,1063,1181,1889,2243,2833,3187,3541,3659,4013,4603,4721,4957,

%T 5783,6373,6491,7789,7907,8969,9323,9677,10267,10739,11093,11329,

%U 11447,11801,12037,12391,13099,13217,13807,14633,14869,16993,19471,20297,20533,20887

%N Primes congruent to 1 mod 59.

%C Different from A059312: the first term missing in A059312 is a(27)=11447.

%H Zak Seidov, <a href="/A216315/b216315.txt">Table of n, a(n) for n = 1..3000</a>

%t Select[Prime[Range[2500]], MemberQ[{1}, Mod[#, 59]] &] (* _Vincenzo Librandi_, Sep 07 2012 *)

%o (Magma) [p: p in PrimesUpTo(21000) | p mod 59 eq 1]; // _Vincenzo Librandi_, Sep 07 2012

%o (PARI) is(n)=isprime(n) && n%59==1 \\ _Charles R Greathouse IV_, Jul 01 2016

%Y Cf. A142729-A142785 (Primes congruent to 2-58 mod 59), A059312.

%K nonn,easy

%O 1,1

%A _Zak Seidov_, Sep 03 2012