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.

A142159 Primes congruent to 1 mod 39.

This page as a plain text file.
%I A142159 #11 Sep 08 2022 08:45:35
%S A142159 79,157,313,547,859,937,1093,1171,1249,1327,1483,1873,1951,2029,2341,
%T A142159 2731,2887,3121,3433,3511,3823,4057,4447,4603,4759,4993,5227,5851,
%U A142159 6007,6163,6397,6553,6709,7177,7333,7411,7489,7723,7879,8191,8269,8581,8737,8893
%N A142159 Primes congruent to 1 mod 39.
%H A142159 Vincenzo Librandi, <a href="/A142159/b142159.txt">Table of n, a(n) for n = 1..1000</a>
%F A142159 a(n) ~ 24n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t A142159 Select[Prime[Range[3000]],MemberQ[{1},Mod[#,39]]&] (* _Vincenzo Librandi_, Aug 19 2012 *)
%t A142159 Select[Range[1,9000,39],PrimeQ] (* _Harvey P. Dale_, Dec 21 2014 *)
%o A142159 (Magma)[p: p in PrimesUpTo(9000) | p mod 39 eq 1 ]; // _Vincenzo Librandi_, Aug 19 2012
%o A142159 (PARI) is(n)=isprime(n) && n%39==1 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y A142159 Cf. A000040.
%K A142159 nonn,easy
%O A142159 1,1
%A A142159 _N. J. A. Sloane_, Jul 11 2008