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.

A173059 Nonnegative numbers k such that 2*k + 17 is prime.

Original entry on oeis.org

0, 1, 3, 6, 7, 10, 12, 13, 15, 18, 21, 22, 25, 27, 28, 31, 33, 36, 40, 42, 43, 45, 46, 48, 55, 57, 60, 61, 66, 67, 70, 73, 75, 78, 81, 82, 87, 88, 90, 91, 97, 103, 105, 106, 108, 111, 112, 117, 120, 123, 126, 127, 130, 132, 133, 138, 145, 147, 148, 150, 157, 160, 165
Offset: 1

Views

Author

Keywords

Crossrefs

Numbers n such that 2n+k is prime: A005097 (k=1), A067076 (k=3), A089038 (k=5), A105760 (k=7), A155722 (k=9), A101448 (k=11), A153081 (k=13), A089559 (k=15), this seq (k=17), A153143 (k=19).
Numbers n such that 2n-k is prime: A006254 (k=1), A098090 (k=3), A089253 (k=5), A089192 (k=7), A097069 (k=9), A097338 (k=11), A097363 (k=13), A097480 (k=15), A098605 (k=17), A097932 (k=19).

Programs

  • GAP
    Filtered([0..200], k-> IsPrime(2*k+17) ); # G. C. Greubel, May 22 2019
  • Magma
    [n: n in [0..200] | IsPrime(2*n+17) ]; // G. C. Greubel, May 22 2019
    
  • Mathematica
    (Prime[Range[7,100]]-17)/2
  • PARI
    is(n)=isprime(2*n+17) \\ Charles R Greathouse IV, Feb 17 2017
    
  • Sage
    [n for n in (0..200) if is_prime(2*n+17) ] # G. C. Greubel, May 22 2019
    

Extensions

Definition clarified by Zak Seidov, Jul 11 2014