login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065316 Largest prime divisor of n-th primorial - (n+1)-st prime. 4
23, 199, 2297, 30013, 12451, 9699667, 79139, 122069683, 9241993, 77184383, 211941187, 72280449346243, 73629553, 142226610221, 131076443530861861, 382046844818915214929, 1348764323657, 1822793973448088839487, 217379667530071, 3217644767340672907899084554047, 267064515689275851355624017992701 (list; graph; refs; listen; history; text; internal format)
OFFSET
3,1
LINKS
R. 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-2018. - From N. J. A. Sloane, Jun 13 2012
FORMULA
a(n) = A006530(A002110(n)-A000040(n+1)).
EXAMPLE
n=3, 3rd primorial=30, 4th prime=7. difference=23, a(3)=23.
MATHEMATICA
Module[{nn=30, pmrl}, pmrl=FoldList[Times, Prime[Range[nn]]]; FactorInteger[ #][[-1, 1]]&/@(Drop[#[[1]]-#[[2]]&/@Thread[ {pmrl, Prime[ Range[ 2, nn+1]]}], 2])] (* Harvey P. Dale, Dec 30 2021 *)
PROG
(PARI) a(n) = vecmax(factor(prod(i=1, n, prime(i)) - prime(n+1))[, 1]); \\ Michel Marcus, Aug 29 2019
CROSSREFS
Sequence in context: A307355 A058193 A065314 * A060882 A367182 A221670
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 29 2001
EXTENSIONS
More terms from Michel Marcus, Aug 29 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)