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!)
A038343 Maximal value of difference between successive primes among the first 10^n primes. 2
6, 18, 34, 72, 114, 154, 222, 292, 394, 486, 652, 766 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
REFERENCES
Enoch Haga, Exploring Primes on Your PC, 2nd edition, 1998, ISBN 1-885794-16-9. Table 2, page 33.
LINKS
Thomas R. Nicely, First occurrence prime gaps [For local copy see A000101].
EXAMPLE
Among the first 10 primes, {2,3,...,23,29}, the largest difference is 29-23=6. Therefore 6 is the largest prime gap in the first ten primes.
MATHEMATICA
a = 1; b = 1; d = 0; k = 1; Do[ While[k <= 10^n, a = b; b = Prime[k]; If[b - a > d; d = b - a]; k++ ]; Print[d], {n, 12}] (* Robert G. Wilson v, Sep 24 2004 *)
CROSSREFS
Cf. A005250.
Sequence in context: A301715 A269755 A270135 * A271123 A271303 A110965
KEYWORD
nonn,more
AUTHOR
EXTENSIONS
Edited and extended by Robert G. Wilson v, Sep 24 2004
STATUS
approved

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 28 18:07 EDT 2024. Contains 372092 sequences. (Running on oeis4.)