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.

A299159 Numbers k such that 4*k-1, 6*k-1 and 12*k-1 are prime.

Original entry on oeis.org

1, 2, 5, 15, 32, 42, 60, 110, 120, 152, 215, 242, 260, 315, 357, 390, 392, 425, 470, 495, 560, 732, 735, 840, 1055, 1082, 1127, 1275, 1307, 1352, 1457, 1562, 1590, 1755, 1782, 1797, 1887, 1925, 1967, 2055, 2112, 2132, 2150, 2175, 2205, 2360, 2387, 2472, 2517, 2567, 2667, 2717, 2822, 2882, 2930, 2945
Offset: 1

Views

Author

Robert Israel, Feb 04 2018

Keywords

Crossrefs

Cf. A299068.

Programs

  • Magma
    [n: n in [0..3000] |IsPrime(4*n-1) and IsPrime(6*n-1) and IsPrime(12*n-1)]; // Vincenzo Librandi, Feb 04 2018
  • Maple
    select(j -> isprime(4*j-1) and isprime(6*j-1) and isprime(12*j-1), [$1..10000]);
  • Mathematica
    Select[Range[3000], And@@PrimeQ/@({4, 6, 12} # - 1) &] (* Vincenzo Librandi, Feb 04 2018 *)
Showing 1-1 of 1 results.