Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131581
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131581 The next prime greater than the square root of 10^n. +0
1
2, 5, 11, 37, 101, 317, 1009, 3163, 10007, 31627, 100003, 316241, 1000003, 3162283, 10000019, 31622777, 100000007, 316227767, 1000000007, 3162277669, 10000000019, 31622776621, 100000000003, 316227766069, 1000000000039 (list; graph; listen)
OFFSET

0,1

COMMENT

The difference between a(n) and floor(sqrt(10^n)): 1, 2, 1, 6, 1, 1, 9, 1, 7, 5, 3, 14, 3, 6, 19, 1, 7, 1, 7, 9, ....

Values for which the difference between a(n) and floor(sqrt(10^n)) equals one: 0, 2, 4, 5, 7, 15, 17, 25, 145, 1079, ..., (1350). Only even terms are 0, 2 & 4; all the rest must be odd.

MATHEMATICA

NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; Table[ NextPrim@ Floor@ Sqrt[10^n], {n, 0, 25}]

CROSSREFS

Cf. A003617.

Sequence in context: A130622 A112600 A092298 this_sequence A056301 A001344 A056302

Adjacent sequences: A131578 A131579 A131580 this_sequence A131582 A131583 A131584

KEYWORD

easy,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 12 2007

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 July 23 17:35 EDT 2008. Contains 142285 sequences.


AT&T Labs Research