cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A142237 Primes congruent to 40 mod 41.

This page as a plain text file.
%I A142237 #11 Sep 08 2022 08:45:36
%S A142237 163,409,491,983,1229,1721,2131,2213,2377,2459,3361,3607,3853,4099,
%T A142237 4591,4673,4919,5657,5821,5903,6067,7297,7789,8117,8363,8527,8609,
%U A142237 9511,9839,10331,10987,11069,11807,11971,12791,13037,13693,14431,14759,14923,15497
%N A142237 Primes congruent to 40 mod 41.
%H A142237 Vincenzo Librandi, <a href="/A142237/b142237.txt">Table of n, a(n) for n = 1..1000</a>
%F A142237 a(n) ~ 40n log n. - _Charles R Greathouse IV_, Jul 02 2016
%t A142237 Select[Prime[Range[5000]],MemberQ[{40},Mod[#,41]]&] (* _Vincenzo Librandi_, Aug 24 2012 *)
%t A142237 Select[Range[40,16000,41],PrimeQ] (* _Harvey P. Dale_, Oct 11 2012 *)
%o A142237 (Magma) [p: p in PrimesUpTo(17000) | p mod 41 eq 40 ]; // _Vincenzo Librandi_, Aug 24 2012
%o A142237 (PARI) is(n)=isprime(n) && n%41==40 \\ _Charles R Greathouse IV_, Jul 02 2016
%Y A142237 Cf. A000040.
%K A142237 nonn,easy
%O A142237 1,1
%A A142237 _N. J. A. Sloane_, Jul 11 2008