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.

A186811 Twin primes of the form k*6^m-1 and k*6^m+1, where k is prime.

Original entry on oeis.org

11, 13, 17, 19, 29, 31, 41, 43, 71, 73, 101, 103, 107, 109, 137, 139, 179, 181, 281, 283, 431, 433, 617, 619, 641, 643, 821, 823, 827, 829, 1697, 1699, 1877, 1879, 2081, 2083, 2237, 2239, 2381, 2383, 2591, 2593
Offset: 1

Views

Author

Gilbert Mozzo, Feb 27 2011

Keywords

Comments

Twins are obtained by comparing the values given in A185069 and A186782.

Examples

			17*6^13-1 and 17*6^13+1 are twins.
		

Crossrefs

Programs

  • Mathematica
    maxM = 5; r = Select[Prime[Range[PrimePi[2*6^maxM]]], PrimeQ[# + 2] &] + 1; u = Sort[Flatten[Table[Select[r,PrimeQ[#/6^k] &] - 1, {k, maxM}]]]; Sort[Join[u, u + 2]] (* T. D. Noe, Feb 28 2011 *)