The logarithmic integral li(x) plays a role in number theory because the related function Li(x) = li(x) - li(2) provides an estimate for the number of primes less than x. MATLAB's Symbolic Toolbox has the function logint, but it is not available in basic MATLAB or Cody.
Write a function to evaluate the logarithmic integral.

Solution Stats

71 Solutions

16 Solvers

Last Solution submitted on Jan 29, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers16

Suggested Problems

More from this Author321

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!