login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038804 Difference between largest n-digit prime and smallest n+1 digit prime. 2
4, 4, 12, 34, 12, 20, 28, 18, 70, 52, 26, 50, 66, 58, 48, 124, 6, 14, 90, 50, 218, 36, 140, 264, 136, 208, 202, 540, 346, 68, 60, 70, 70, 604, 92, 226, 124, 192, 60, 138, 228, 146, 138, 84, 18, 154, 74, 226, 66, 208, 444, 558, 348, 322, 132, 596, 372, 308, 160, 168 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Vasiliy Danilov, Smallest & largest n-digit primes.

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics (1).

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics (2).

EXAMPLE

a(n)=39 -> (10^39+3) - (10^39-57) = 60.

MATHEMATICA

(NextPrime[#]-NextPrime[#, -1])&/@(10^Range[100])  (* From Harvey P. Dale, Mar 23 2011 *)

CROSSREFS

Cf. A033873, A033874, A003617, A003618.

Sequence in context: A097073 A019085 A106232 * A183362 A088838 A127403

Adjacent sequences:  A038801 A038802 A038803 * A038805 A038806 A038807

KEYWORD

nonn,base

AUTHOR

Jeff Burch (gburch(AT)erols.com)

EXTENSIONS

Corrected and edited by Patrick De Geest (pdg(AT)worldofnumbers.com), Nov 06 2004.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 05:39 EST 2012. Contains 205436 sequences.