cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A062439 Primes at large indices: a(n) = prime(n!).

Original entry on oeis.org

2, 2, 3, 13, 89, 659, 5443, 49033, 484037, 5222429, 61194647, 774825383, 10552185239, 153903050137, 2394322471421, 39588599419319, 693389445083107, 12826386978604427, 249902442548157673, 5115640857307591139, 109776797549312197217, 2464348772728229970857
Offset: 0

Views

Author

Labos Elemer, Jul 09 2001

Keywords

Crossrefs

Programs

  • Magma
    [(NthPrime(Factorial(n))): n in [0..11]]; // Vincenzo Librandi, Dec 07 2018
    
  • 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 *)
  • PARI
    a(n) = prime(n!)
    
  • Python
    from sympy import prime, factorial
    for n in range(0,14): print(prime(factorial(n))) # Stefano Spezia, Dec 07 2018

Formula

a(n) = A000040(A000142(n)).

Extensions

a(15)-a(19) from Jens Kruse Andersen, May 08 2010
a(20)-a(21) from Henri Lifchitz, Sep 09 2014