login
Primes congruent to 42 mod 55.
1

%I #9 Sep 08 2022 08:45:37

%S 97,317,647,757,977,1087,1307,1637,1747,2297,2957,3067,3617,3727,3947,

%T 4057,4937,5927,6037,6257,6367,6917,7027,7247,7577,7687,7907,8017,

%U 8237,8677,9007,9227,9337,9887,10657,10987,11317,11867,12197,12527,12637,12967,13187

%N Primes congruent to 42 mod 55.

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

%t Select[Prime[Range[2500]], MemberQ[{42}, Mod[#, 55]] &] (* _Vincenzo Librandi_, Aug 31 2012 *)

%t Select[Range[42, 14000, 55], PrimeQ] (* _Bruno Berselli_, Aug 31 2012 *)

%o (Magma) [p: p in PrimesUpTo(14000) | p mod 55 eq 42]; // _Vincenzo Librandi_, Aug 31 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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