login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239006 Difference between the smallest 10^n-digit member of a cousin prime pair and 10^(10^n - 1). 0

%I #5 Apr 03 2023 10:36:13

%S 2,93,22857,5352807,24204297

%N Difference between the smallest 10^n-digit member of a cousin prime pair and 10^(10^n - 1).

%H G. L. Honaker, Jr. and Chris Caldwell, <a href="https://t5k.org/curios/cpage/18745.html">Prime Curios! 10000...22857 (100-digits)</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/CousinPrimes.html">Cousin Primes</a>

%t lst = {}; Do[s = 10^(10^n - 1); n = NextPrime[s]; While[! PrimeQ[n + 4], n = NextPrime[n]]; AppendTo[lst, n - s], {n, 0, 2}]; lst

%Y Cf. A023200.

%K nonn,base,hard,more

%O 0,1

%A _Arkadiusz Wesolowski_, Mar 08 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 17:02 EDT 2024. Contains 371962 sequences. (Running on oeis4.)