1,1

The logarithmic integral can be computed in PARI: Li(x) = -eint1(log(1/x)).

Table of n, a(n) for n=1..72.

(PARI) lip(n) = forstep(x=1, n, 1, y=floor(-eint1(log(1/x))); if(isprime(y), print1(y", ")))

Cf. A047783.

Sequence in context: A131429 A105605 A237710 * A113636 A262463 A151800

Adjacent sequences: A090470 A090471 A090472 * A090474 A090475 A090476

easy,nonn

Cino Hilliard, Feb 01 2004

Edited by David Wasserman, Nov 16 2005

approved