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.

A225057 Least prime p such that p*6^n +/- 1 are primes.

This page as a plain text file.
%I A225057 #7 Apr 03 2023 10:36:13
%S A225057 2,2,2,2,47,3,53,677,823,227,1907,1103,17,163,2693,1213,277,2767,887,
%T A225057 8353,1013,773,6967,1423,2593,9643,157,18013,263,2137,2837,107,3467,
%U A225057 2137,17,2777,1453,2683,7963,3517,2767,53527,8563,227,367,27673,30853,5087,7723,14753,41687,137,48647,26357,16747,2797,9887,35933
%N A225057 Least prime p such that p*6^n +/- 1 are primes.
%C A225057 a(1) >= A064215(n). First n's such that a(n) = A064215(n): 2, 3, 4, 6, 13, 27, 29, 32, 35, 40, 44, 45, 52, 60, 67, 71, 79, 86, 87, 97, 99.
%C A225057 According to Dickson's Conjecture a(n) exists for any n.
%H A225057 Chris Caldwell, <a href="https://t5k.org/glossary/xpage/DicksonsConjecture.html">Prime Glossary: Dickson's Conjecture</a>
%t A225057 Table[ n6=6^n; p = 2; While[ ! PrimeQ[q = p*n6 + 1 ] || ! PrimeQ[ q - 2 ], p = NextPrime[p] ]; p, {n, 100}]
%Y A225057 Cf. A064215 (least k: k*6^n +/- 1 are  primes).
%K A225057 nonn
%O A225057 1,1
%A A225057 _Zak Seidov_, Apr 26 2013