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-2 of 2 results.

A156288 Numbers n such that 4*n-5 is not a prime number.

Original entry on oeis.org

5, 8, 10, 11, 14, 15, 17, 20, 23, 24, 25, 26, 29, 30, 31, 32, 35, 37, 38, 40, 41, 44, 45, 47, 48, 50, 52, 53, 55, 56, 59, 60, 62, 63, 65, 66, 68, 70, 71, 73, 74, 75, 76, 77, 80, 81, 82, 83, 85, 86, 87, 89, 90, 92, 94, 95, 98, 99, 100, 101, 102, 103, 104, 105, 107, 108, 110
Offset: 1

Views

Author

Vincenzo Librandi, Feb 07 2009

Keywords

Crossrefs

Cf. A156287.

Programs

  • Magma
    [n: n in [2..150] | not IsPrime(4*n-5)]; // Vincenzo Librandi, Apr 06 2013
  • Mathematica
    Select[Range[2, 150], !PrimeQ[4 # - 5]&] (* Vincenzo Librandi, Apr 06 2013 *)

A156300 Primes p such that 4*p - 5 is also prime.

Original entry on oeis.org

2, 3, 7, 13, 19, 43, 61, 67, 79, 97, 109, 127, 151, 163, 181, 211, 223, 229, 277, 307, 331, 373, 379, 397, 457, 463, 523, 601, 607, 613, 673, 727, 733, 751, 757, 853, 883, 907, 919, 967, 1021, 1033, 1069, 1117, 1171, 1201, 1231, 1237, 1321, 1327, 1381, 1399
Offset: 1

Views

Author

Vincenzo Librandi, Feb 07 2009

Keywords

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(1400) | IsPrime(4*p - 5)]; // Vincenzo Librandi, Oct 31 2012
  • Mathematica
    Select[Prime[Range[1400]], PrimeQ[(4# - 5)]&] (* Vincenzo Librandi, Oct 31 2012 *)
Showing 1-2 of 2 results.