login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes congruent to 2 mod 49.
1

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

%S 2,149,443,541,1031,1129,1423,1619,1913,2011,2207,3089,3187,3677,4363,

%T 4657,4951,5147,5441,6029,6323,6421,6911,7499,7793,8087,8969,9067,

%U 9851,9949,10243,10733,10831,11027,11321,11909,12007,12203,12301,12497,12791,12889

%N Primes congruent to 2 mod 49.

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

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

%t Select[Prime[Range[2500]], MemberQ[{2}, Mod[#, 49]] &] (* _Vincenzo Librandi_, Aug 27 2012 *)

%t Select[Range[2,13000,49],PrimeQ] (* _Harvey P. Dale_, May 30 2020 *)

%o (Magma) [p: p in PrimesUpTo(16000) | p mod 49 eq 2]; // _Vincenzo Librandi_, Aug 27 2012

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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