login
A062439
Primes at large indices: a(n) = prime(n!).
8
2, 2, 3, 13, 89, 659, 5443, 49033, 484037, 5222429, 61194647, 774825383, 10552185239, 153903050137, 2394322471421, 39588599419319, 693389445083107, 12826386978604427, 249902442548157673, 5115640857307591139, 109776797549312197217, 2464348772728229970857
OFFSET
0,1
FORMULA
a(n) = A000040(A000142(n)).
MAPLE
seq(ithprime(factorial(n)), n=0..10); # Muniru A Asiru, Dec 07 2018
MATHEMATICA
Array[Prime[#!] &, 16, 0] (* Michael De Vlieger, Dec 06 2018 *)
PROG
(PARI) f(n) = for(x=0, n, print1(prime(x!)", "))
(Magma) [(NthPrime(Factorial(n))): n in [0..11]]: // Vincenzo Librandi, Dec 07 2018
(Python)
from sympy import prime, factorial
for n in range(0, 14): print(prime(factorial(n))) # Stefano Spezia, Dec 07 2018
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Labos Elemer, Jul 09 2001
EXTENSIONS
a(15)-a(19) from Jens Kruse Andersen, May 08 2010
a(20)-a(21) from Henri Lifchitz, Sep 09 2014
STATUS
approved