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.

A138629 Primes of form 17*n+7.

Original entry on oeis.org

7, 41, 109, 211, 313, 347, 449, 619, 653, 823, 857, 1061, 1129, 1163, 1231, 1367, 1571, 1741, 1877, 1979, 2081, 2251, 2557, 2591, 2659, 2693, 2897, 2999, 3067, 3169, 3203, 3271, 3373, 3407, 3917, 4019, 4597, 4733, 4801, 4903, 4937, 5039, 5107, 5209, 5413
Offset: 1

Views

Author

Keywords

Examples

			17*0+7=7, 17*2+7=41, 17*6+7=109, 17*18+7=211, ...
		

Crossrefs

Cf. A144562.

Programs

  • Magma
    [a: n in [0..450] | IsPrime(a) where a is 17*n+7 ]; // Vincenzo Librandi, Sep 01 2016
  • Mathematica
    a={};Do[x=17*n+7;If[PrimeQ[x],AppendTo[a,x]],{n,10^2}];a
    Select[17Range[0, 500] + 7, PrimeQ] (* Vincenzo Librandi, Sep 01 2016 *)

Extensions

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