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.

A176114 Numbers n such that 30*n-1, 30*n+1 are twin primes.

Original entry on oeis.org

1, 2, 5, 6, 8, 9, 14, 19, 20, 22, 27, 34, 35, 41, 43, 44, 54, 65, 71, 77, 78, 85, 91, 93, 99, 100, 104, 110, 111, 112, 113, 118, 131, 134, 135, 141, 142, 155, 160, 167, 170, 176, 184, 188, 195, 196, 203, 209, 210, 212, 215, 219, 222, 223, 226, 229, 232, 245, 252
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A002822.

Programs

  • Mathematica
    Select[Range[6! ],PrimeQ[30*#-1]&&PrimeQ[30*#+1]&]
    Select[Range[300],AllTrue[30#+{1,-1},PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Mar 21 2018 *)