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.

A239007 Difference between the smallest 10^n-digit member of a sexy prime pair and 10^(10^n - 1).

This page as a plain text file.
%I A239007 #7 Feb 16 2025 08:33:21
%S A239007 4,87,34951,73203,475341523
%N A239007 Difference between the smallest 10^n-digit member of a sexy prime pair and 10^(10^n - 1).
%H A239007 G. L. Honaker, Jr. and Chris Caldwell, <a href="https://t5k.org/curios/cpage/18952.html">Prime Curios! 10000...34951 (100-digits)</a>
%H A239007 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/SexyPrimes.html">Sexy Primes</a>. [The definition in this webpage is unsatisfactory, because it defines a "sexy prime" as a pair of primes.- _N. J. A. Sloane_, Mar 07 2021]
%t A239007 lst = {}; Do[s = 10^(10^n - 1); n = NextPrime[s]; While[! PrimeQ[n + 6], n = NextPrime[n]]; AppendTo[lst, n - s], {n, 0, 2}]; lst
%Y A239007 Cf. A023201.
%K A239007 nonn,base,hard,more
%O A239007 0,1
%A A239007 _Arkadiusz Wesolowski_, Mar 08 2014