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.

A002585 Largest prime factor of 1 + (product of first n primes).

Original entry on oeis.org

3, 7, 31, 211, 2311, 509, 277, 27953, 703763, 34231, 200560490131, 676421, 11072701, 78339888213593, 13808181181, 18564761860301, 19026377261, 525956867082542470777, 143581524529603, 2892214489673, 16156160491570418147806951, 96888414202798247, 1004988035964897329167431269
Offset: 1

Views

Author

Keywords

Comments

Based on Euclid's proof that there are infinitely many primes.
The products of the first primes are called primorial numbers. - Franklin T. Adams-Watters, Jun 12 2014

References

  • M. Kraitchik, On the divisibility of factorials, Scripta Math., 14 (1948), 24-26 (but beware errors).
  • M. Kraitchik, Introduction à la Théorie des Nombres. Gauthier-Villars, Paris, 1952, p. 2.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    FactorInteger[#][[-1,1]]&/@Rest[FoldList[Times,1,Prime[Range[30]]]+1] (* Harvey P. Dale, Apr 10 2012 *)
  • PARI
    a(n)=my(f=factor(prod(i=1,n,prime(i))+1)[,1]); f[#f] \\ Charles R Greathouse IV, Feb 07 2017

Formula

a(n) = A006530(A006862(n)). - Amiram Eldar, Feb 13 2020

Extensions

More terms from Labos Elemer, May 02 2000
More terms from Robert G. Wilson v, Mar 24 2001
Terms up to a(81) in b-file added by Sean A. Irvine, Apr 19 2014
Terms a(82)-a(87) in b-file added by Amiram Eldar, Feb 13 2020
Terms a(88)-a(98) in b-file added by Max Alekseyev, Aug 26 2021