login
Primes congruent to 9 mod 11.
7

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

%S 31,53,97,163,229,251,317,383,449,647,691,757,823,911,977,1021,1087,

%T 1109,1153,1307,1373,1439,1483,1549,1571,1637,1747,1879,1901,2011,

%U 2099,2143,2297,2341,2473,2539,2671,2693,2803,2957,3001,3023,3067,3089,3221,3331

%N Primes congruent to 9 mod 11.

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

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

%t Select[Range[9, 50000, 11], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 13 2011 *)

%o (Magma) [ p: p in PrimesUpTo(5000) | p mod 11 eq 9 ]; // _Vincenzo Librandi_, Apr 19 2011

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

%K nonn,easy

%O 1,1

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