Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163521
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163521 a(n) = Floor(Sum_{k = 2..10^n} k/log(k)). +0
3
30, 1255, 78698, 5762750, 455059956, 37607986470, 3204942375900, 279238346962895, 24739954333817884 (list; graph; listen)
OFFSET

1,1

COMMENT

a(n)=sum(x=2,n,x/log(x)) closely approximates the number of primes < n^2.

In fact, the sum is as good as Li(n^2) but summing a(n) is rather time

consuming fo large n. For n = 10^9,

a(n) = 24739954333817884.

Pi(n^2) = 24739954287740860.

Li(n^2) = 24739954309690415. Logarithmic integral approximation of Pi(n^2)

R(n^2) = 24739954284239494. Riemann's approximation of Pi(n^2)

Now x/(log(x)-1) is a much better approximation of Pi(x) than x/log(x).

10^18/(log(10^18)-1)=24723998785919976 and 10^18/log(10^18)=24127471216847323.

Ironically though, a(n) = sum(x=2,n,x/(log(x)-1) is way off Pi(n^2).

EXAMPLE

For n = 9, floor(sum(x=2,10^n,x/log(x))) = 24739954333817884, the 9-th entry.

PROGRAM

(PARI) nthsum(n) = for(j=1, n, print1(floor(sum(x=2, 10^j, x/log(x)))", "));

CROSSREFS

Sequence in context: A027488 A075187 A060076 this_sequence A002456 A107768 A048536

Adjacent sequences: A163518 A163519 A163520 this_sequence A163522 A163523 A163524

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)hotmail.com), Jul 30 2009

EXTENSIONS

Definition clarified by R. J. Mathar and Omar E. Pol, Aug 01 2009

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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research