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

A152854 Numbers n such that either 2n+3 is not prime or 4n+7 is not prime.

Original entry on oeis.org

2, 3, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82
Offset: 1

Views

Author

Vincenzo Librandi, Dec 14 2008

Keywords

Comments

Complement of A152843: Numbers n such that both 2n+3 and 4n+7 are prime.

Programs

  • Magma
    [n: n in [0..90] | not IsPrime(2*n+3) or not IsPrime(4*n+7)]; // Vincenzo Librandi, Oct 20 2012
  • Mathematica
    Select[Range[100],!PrimeQ[2#+3]||!PrimeQ[4#+7]&] (* Harvey P. Dale, Jan 18 2012 *)

Extensions

Edited and extended by Klaus Brockhaus, Dec 23 2008
Showing 1-1 of 1 results.