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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A110896 Difference between prime(10^n) and prime(10^(n-1)). 1
 27, 512, 7378, 96810, 1194980, 14186154, 163938810, 1858650070, 20763688746, 229296037134, 2508629501894, 27235496973316, 293784284670498, 3151605249578196, 33649122286540910, 357782405858669892, 3790389667563960340, 40026493653364473662, 421463674881774896218 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Table of n, a(n) for n=1..19. FORMULA a(n) = A006988(n) - A006988(n-1) = prime(10^n) - prime(10^(n-1)). - Marvin Ray Burns, Dec 09 2007; corrected by Michel Marcus, Jun 22 2022 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] - Prime[10^(n - 1)], {n, 1, 12}] (* Marvin Ray Burns, Dec 09 2007 *) Differences[Table[Prime[10^n], {n, 0, 12}]] (* Harvey P. Dale, Jul 03 2017 *) PROG (PARI) a(n) = prime(10^n) - prime(10^(n-1)); \\ Jinyuan Wang, Nov 14 2020; adapted to offset by Georg Fischer, Jun 22 2022 (Python) from sympy import prime def a(n): return prime(10**n)-prime(10**(n-1)) print([a(n) for n in range(1, 10)]) # Michael S. Branicky, Jun 22 2022 CROSSREFS Cf. A000040, A006988, A135371, A135373. 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 More terms from Jinyuan Wang, Nov 14 2020 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.

Last modified June 9 14:45 EDT 2023. Contains 363181 sequences. (Running on oeis4.)