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.

This page as a plain text file.
%I A186811 #9 Aug 03 2014 14:01:28
%S A186811 11,13,17,19,29,31,41,43,71,73,101,103,107,109,137,139,179,181,281,
%T A186811 283,431,433,617,619,641,643,821,823,827,829,1697,1699,1877,1879,2081,
%U A186811 2083,2237,2239,2381,2383,2591,2593
%N A186811 Twin primes of the form k*6^m-1 and k*6^m+1, where k is prime.
%C A186811 Twins are obtained by comparing the values given in A185069 and A186782.
%e A186811 17*6^13-1 and 17*6^13+1 are twins.
%t A186811 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 *)
%o A186811 See A185069 and A186782.
%Y A186811 Cf. A185069, A186782.
%K A186811 nonn
%O A186811 1,1
%A A186811 _Gilbert Mozzo_, Feb 27 2011