login
Primes congruent to 22 mod 49.
1

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

%S 71,463,659,757,953,1051,1933,2129,2423,2521,3011,3109,3697,4481,5167,

%T 5657,6343,6637,6833,7127,8009,8597,9283,9479,9871,10067,10459,10753,

%U 10949,11047,11243,11831,12517,12713,13007,13399,13693,14281,14771,14869,15359,16339

%N Primes congruent to 22 mod 49.

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

%t Select[Range[22,17000,49],PrimeQ] (* _Harvey P. Dale_, Aug 13 2014 *)

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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