|
Search: id:A038343
|
|
|
| A038343 |
|
Maximal value of difference between successive primes among the first 10^n primes. |
|
+0 3
|
|
| 6, 18, 34, 72, 114, 154, 222, 292, 394, 486, 652, 766
(list; graph; listen)
|
|
|
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 J. Nicely, First occurrence prime gaps.
|
|
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}] (from Robert G. Wilson v Sep 24 2004)
|
|
CROSSREFS
|
Cf. A005250.
Sequence in context: A096286 A110671 A134078 this_sequence A110965 A111147 A069958
Adjacent sequences: A038340 A038341 A038342 this_sequence A038344 A038345 A038346
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Enoch Haga (Enokh(AT)comcast.net)
|
|
EXTENSIONS
|
Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 24 2004
|
|
|
Search completed in 0.002 seconds
|