login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 18 mod 49.
1

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

%S 67,263,557,1439,1733,1831,2027,2713,2909,3203,3301,3889,4673,4967,

%T 5261,5653,5849,6143,6829,7417,7907,8887,9181,9377,9769,10259,10357,

%U 10651,10847,11239,11827,12611,13003,13297,13591,14081,14669,14767,15061,15551,15649

%N Primes congruent to 18 mod 49.

%H Vincenzo Librandi, <a href="/A142429/b142429.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[{18}, Mod[#,49]] &] (* _Vincenzo Librandi_, Aug 28 2012 *)

%t Select[Range[18,16000,49],PrimeQ] (* _Harvey P. Dale_, Jul 27 2017 *)

%o (Magma) [p: p in PrimesUpTo(17000) | p mod 49 eq 18]; // _Vincenzo Librandi_, Aug 28 2012

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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