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.

A024898 Positive integers k such that 6*k - 1 is prime.

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 8, 9, 10, 12, 14, 15, 17, 18, 19, 22, 23, 25, 28, 29, 30, 32, 33, 38, 39, 40, 42, 43, 44, 45, 47, 49, 52, 53, 58, 59, 60, 64, 65, 67, 70, 72, 74, 75, 77, 78, 80, 82, 84, 85, 87, 93, 94, 95, 98, 99, 100, 103, 107, 108, 109, 110, 113, 114, 117, 120, 124, 127, 129, 133
Offset: 1

Views

Author

Keywords

Comments

Actual primes are A007528.
Number of terms less than 10^r, r=1,2,3,...: 8, 56, 397, 3040, 24571, 206502, 1781237, ... - Muniru A Asiru, Jan 26 2018

Crossrefs

Cf. A007528, A046953 (complement).

Programs

  • GAP
    Filtered([1..1000], k->IsPrime(6*k-1)); # Muniru A Asiru, Jan 26 2018
  • Magma
    [n: n in [0..1000]| IsPrime(6*n-1)]; // Vincenzo Librandi, Nov 20 2010
    
  • Maple
    select(k -> isprime(6*k-1), [$1..10^3]); # Muniru A Asiru, Jan 26 2018
  • Mathematica
    Select[Range[150], PrimeQ[6 # - 1] &] (* Bruno Berselli, Jul 14 2014 *)