# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a142244 Showing 1-1 of 1 %I A142244 #11 Sep 08 2022 08:45:36 %S A142244 23,107,149,191,233,317,359,401,443,569,653,821,863,947,1031,1283, %T A142244 1367,1409,1451,1493,1619,1787,1871,1913,1997,2039,2081,2207,2333, %U A142244 2417,2459,2543,2711,2753,2837,2879,2963,3089,3257,3299,3467,3593,3677,3719,3761 %N A142244 Primes congruent to 23 mod 42. %H A142244 Vincenzo Librandi, Table of n, a(n) for n = 1..1000 %F A142244 a(n) ~ 12n log n. - _Charles R Greathouse IV_, Jul 02 2016 %t A142244 Select[Prime[Range[1500]],MemberQ[{23},Mod[#,42]]&] (* _Vincenzo Librandi_, Aug 24 2012 *) %t A142244 Select[Range[23,4000,42],PrimeQ] (* _Harvey P. Dale_, Dec 18 2013 *) %o A142244 (Magma) [p: p in PrimesUpTo(4000) | p mod 42 eq 23 ]; // _Vincenzo Librandi_, Aug 24 2012 %o A142244 (PARI) is(n)=isprime(n) && n%42==23 \\ _Charles R Greathouse IV_, Jul 02 2016 %Y A142244 Cf. A000040. %K A142244 nonn,easy %O A142244 1,1 %A A142244 _N. J. A. Sloane_, Jul 11 2008 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE