Li(x) calculator