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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108955 Floor(Li(2n) - Li(n)). 0
1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
LINKS
FORMULA
Li(x) = Int(t=2, x, dt/log(t)) = Logarithmic Integral.
MATHEMATICA
Table[Floor[LogIntegral[2n]-LogIntegral[n]], {n, 2, 90}] (* Harvey P. Dale, Jun 21 2017 *)
PROG
(PARI) L(n) = for(x=2, n, y=Li(2*x)-Li(x); print1(floor(y)", ")) Li(x) = \ Logarithmic integral { -eint1(log(1/x)) }
CROSSREFS
Sequence in context: A232746 A052146 A097882 * A108956 A289133 A367194
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Jul 22 2005
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 13:48 EDT 2024. Contains 372303 sequences. (Running on oeis4.)