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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110896 Difference between prime(10^n) and prime(10^(n-1)). 0
27, 512, 7378, 96810, 1194980, 14186154, 163938810, 1858650070, 20763688746, 229296037134, 2508629501894, 27235496973316 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Prime[10^(n + 1)] - Prime[10^n]. - Marvin Ray Burns, Dec 09 2007

LINKS

Table of n, a(n) for n=1..12.

FORMULA

Prime(n) is the n-th prime number.

EXAMPLE

The (10^1)th prime is 29. The (10^0)th prime is 2 and the difference is 27 the first entry.

MATHEMATICA

Table[Prime[10^(n + 1)] - Prime[10^n], {n, 0, 11}] - Marvin Ray Burns, Dec 09 2007

Differences[Table[Prime[10^n], {n, 0, 12}]] (* Harvey P. Dale, Jul 03 2017 *)

PROG

(PARI) g(n) = for(x=1, n, print1(prime2(10^x)-prime2(10^(x-1))", ")) prime2(n) = \ the n-th prime using f:\sieve\prime.exe calling ztest2-100.txt \ the 4118054813 primes < 100 10^9. { local(x, s); s=concat("f:/sieve/prime ", Str(n)); s=concat(s, " > temp.txt"); system(s); return(read("temp.txt")) }

CROSSREFS

Sequence in context: A019752 A001709 A016887 * A215039 A014928 A163199

Adjacent sequences:  A110893 A110894 A110895 * A110897 A110898 A110899

KEYWORD

nonn

AUTHOR

Cino Hilliard, Sep 20 2005

EXTENSIONS

Corrected and extended by Marvin Ray Burns, Dec 09 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 18 12:35 EST 2019. Contains 329261 sequences. (Running on oeis4.)