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.

Showing 1-3 of 3 results.

A129484 Primes of the form 17k + 1.

Original entry on oeis.org

103, 137, 239, 307, 409, 443, 613, 647, 919, 953, 1021, 1123, 1259, 1327, 1361, 1429, 1531, 1667, 1871, 1973, 2143, 2347, 2381, 2551, 2687, 2789, 2857, 3061, 3163, 3299, 3469, 3571, 3673, 3877, 3911, 4013, 4217, 4421, 4523, 4591, 4931, 4999, 5101, 5237
Offset: 1

Views

Author

Cino Hilliard, May 29 2007

Keywords

Crossrefs

Programs

  • Magma
    [n: n in [1..5000 by 17] | IsPrime(n)] ; // Vincenzo Librandi, Apr 04 2011
  • Mathematica
    Select[Range[1,5000,17],PrimeQ[#]&] (* Vladimir Joseph Stephan Orlovsky, Apr 03 2011 *)
  • PARI
    cicadayear(n) = forstep(x=1,n,17,if(isprime(x),print1(x",")))
    

A138631 Primes of the form 17*k + 9.

Original entry on oeis.org

43, 179, 281, 349, 383, 587, 757, 859, 1063, 1097, 1301, 1471, 1607, 1709, 1777, 1811, 1879, 1913, 2083, 2287, 2389, 2423, 2593, 2729, 2797, 3001, 3137, 3307, 3511, 3613, 3851, 3919, 4021, 4157, 4259, 4327, 4463, 4871, 4973, 5279, 5347, 5381, 5449, 5483
Offset: 1

Views

Author

Keywords

Examples

			17*2 + 9 = 43, 17*10 + 9 = 179, 17*16 + 9 = 281, 17*20 + 9 = 349, 17*22 + 9 = 349, ...
		

Crossrefs

Cf. A138632.
Primes congruent to k mod 17: A129484 (k=1), A140544 (k=2), A092074 (k=3), A094657 (k=4), A138623 (k=5), A140545 (k=6), A138629 (k=7), A138633 (k=8), this sequence (k=9), A138627 (k=10), A140542 (k=11), A138625 (k=12), A141865 (k=13), A140540 (k=14), A140543 (k=15), A140541 (k=16).

Programs

  • Mathematica
    a={};Do[x=17*n+9;If[PrimeQ[x],AppendTo[a,x]],{n,10^2}];a
    Select[17*Range[350]+9,PrimeQ] (* Harvey P. Dale, May 14 2017 *)

Formula

From A.H.M. Smeets, Sep 05 2019: (Start)
a(n)/log(a(n)) ~ 16*n;
Integral_{x=2..a(n)} dx/log(x) ~ 16*n. (End)

Extensions

More terms from N. J. A. Sloane, Jul 11 2008

A138633 Primes of the form 17*k - 9.

Original entry on oeis.org

59, 127, 229, 263, 331, 433, 467, 569, 739, 773, 977, 1181, 1249, 1283, 1453, 1487, 1657, 1759, 1861, 1997, 2099, 2269, 2371, 2473, 2609, 2677, 2711, 3119, 3187, 3221, 3323, 3391, 3527, 3697, 3833, 4003, 4139, 4241, 4513, 4547, 4649, 4751, 5023, 5227, 5261
Offset: 1

Views

Author

Keywords

Examples

			17*4 - 9 = 59, 17*8 - 9 = 127, 17*14 - 9 = 229, 17*16 - 9 = 263, 17*20 - 9 = 331, 17*26 - 9 = 433, 17*28 - 9 = 467, ...
		

Crossrefs

Cf. A138634.
Primes congruent to k mod 17: A129484 (k=1), A140544 (k=2), A092074 (k=3), A094657 (k=4), A138623 (k=5), A140545 (k=6), A138629 (k=7), this sequence (k=8), A138631 (k=9), A138627 (k=10), A140542 (k=11), A138625 (k=12), A141865 (k=13), A140540 (k=14), A140543 (k=15), A140541 (k=16).

Programs

  • Mathematica
    a={};Do[x=17*n-9;If[PrimeQ[x],AppendTo[a,x]],{n,10^2}];a
    Select[17*Range[400]-9,PrimeQ] (* Harvey P. Dale, Jul 25 2020 *)

Formula

From A.H.M. Smeets, Sep 05 2019: (Start)
n ~ (1/16) * a(n)/log(a(n)).
n ~ (1/16) * Integral_{x=2..a(n)} dx/log(x). (End)

Extensions

More terms from N. J. A. Sloane, Jul 11 2008
Showing 1-3 of 3 results.