OFFSET
1,1
COMMENTS
a(10) was taken from a file of all primes < 1 trillion. The next term, prime(1234567891011) ~ 37301821238347 is exact in the first 7 places. This and larger indices can be computed with an exponential bisection routine given in the link.
LINKS
Cino Hilliard, Approximation for the Nth prime.
FORMULA
a(n) = prime(A007908(n)). - Amiram Eldar, Jul 05 2024
EXAMPLE
The concatenation of the first three integers is 123. Prime(123) = 677, the 3rd term.
MATHEMATICA
Prime@*FromDigits@*Flatten@*IntegerDigits@*Range~Array~10 (* Giorgos Kalogeropoulos, Oct 19 2022 *)
PROG
(PARI) g(n) = st=""; for(x=1, n, st=concat(st, Str(x)); print1(prime(eval(st))", "))
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Cino Hilliard, Oct 06 2006
EXTENSIONS
a(11) from Giorgos Kalogeropoulos, Oct 19 2022
a(12)-a(13) from Amiram Eldar, Jul 05 2024
STATUS
approved