Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A033873
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A033873 Difference between first prime > 10^n (A003617) and 10^n. +0
20
1, 1, 1, 9, 7, 3, 3, 19, 7, 7, 19, 3, 39, 37, 31, 37, 61, 3, 3, 51, 39, 117, 9, 117, 7, 13, 67, 103, 331, 319, 57, 33, 49, 61, 193, 69, 67, 43, 133, 3, 121, 109, 63, 57, 31, 9, 121, 33, 193, 9, 151, 121, 327, 171, 31, 21, 3, 279, 159, 19, 7, 93, 447, 121, 57, 49, 49, 49, 99, 9 (list; graph; listen)
OFFSET

0,4

LINKS

T. D. Noe, Table of n, a(n) for n = 0..1000 (yielding probable primes)

V. Danilov, Table for large n

Eric Weisstein's World of Mathematics, Next Prime

EXAMPLE

The 23rd term is 117 since 10^23 + 117 = 100000000000000000000117 is prime.

MAPLE

seq(nextprime(10^n)-10^n, n=0..70); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 20 2006

MATHEMATICA

NextPrime[ n_Integer ] := (k = n + 1; While[ ! PrimeQ[ k ], k++ ]; Return[ k ]); Table[ NextPrime[ 10^n ] - 10^n, {n, 0, 75} ]

CROSSREFS

Cf. A003617.

Adjacent sequences: A033870 A033871 A033872 this_sequence A033874 A033875 A033876

Sequence in context: A029688 A091558 A002205 this_sequence A135449 A060388 A081821

KEYWORD

nonn,nice

AUTHOR

Vasiliy Danilov (danilovv(AT)usa.net)

EXTENSIONS

More terms from Patrick De Geest (pdg(AT)worldofnumbers.com)

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified May 17 13:36 EDT 2008. Contains 139908 sequences.


AT&T Labs Research