login
Primes congruent to 20 mod 33.
2

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

%S 53,251,317,383,449,647,911,977,1109,1307,1373,1439,1571,1637,1901,

%T 2099,2297,2693,2957,3023,3089,3221,3617,3881,3947,4013,4079,4211,

%U 4409,4673,4871,4937,5003,5333,5399,5531,5861,5927,6257,6323,6389,6521,6653,6719

%N Primes congruent to 20 mod 33.

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

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

%t Select[Range[20, 20000, 33], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 25 2011 *)

%t Select[Prime[Range[3000]],MemberQ[{20},Mod[#,33]]&] (* _Vincenzo Librandi_, Aug 18 2012 *)

%o (Magma) [p: p in PrimesUpTo(8000) | p mod 33 eq 20 ]; // _Vincenzo Librandi_, Aug 18 2012

%o (PARI) is(n)=isprime(n) && n%33==20 \\ _Charles R Greathouse IV_, Jul 02 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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