A120024 Numbers k such that 2*6^k-1 and 2*6^k+1 are twin primes.
1, 2, 3, 4, 2175
Offset: 1
Programs
-
Mathematica
Select[Range[2175],PrimeQ[2*6^#-1]&&PrimeQ[2*6^#+1]&] (* James C. McMahon, Sep 24 2024 *)
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.
Select[Range[2175],PrimeQ[2*6^#-1]&&PrimeQ[2*6^#+1]&] (* James C. McMahon, Sep 24 2024 *)
Comments