OFFSET
1,1
LINKS
Tyler Busby, Table of n, a(n) for n = 1..84 (terms 1..68 from Daniel Suteu, terms 69..79 from Sean A. Irvine)
Romeo Mestrovic, Euclid's theorem on the infinitude of primes: a historical survey of its proofs (300 BC--2012) and another new proof, arXiv preprint arXiv:1202.3670 [math.HO], 2012-2023. - From N. J. A. Sloane, Jun 13 2012
FORMULA
EXAMPLE
For n = 4, 4th primorial = 210, prime(5) = 11, sum = 210 + 11 = 13 * 17, a(4) = 17.
MATHEMATICA
With[{nn=20}, FactorInteger[#][[-1, 1]]&/@(Total/@Thread[{FoldList[ Times, Prime[Range[nn]]], Prime[Range[nn]+1]}])] (* Harvey P. Dale, Jul 26 2020 *)
PROG
(PARI) a(n) = vecmax(factor(vecprod(primes(n)) + prime(n+1))[, 1]); \\ Daniel Suteu, May 26 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 29 2001
EXTENSIONS
Name clarified by Felix Fröhlich, May 26 2022
STATUS
approved