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.

A065317 Largest prime divisor of the sum of the n-th primorial and the (n+1)-st prime.

Original entry on oeis.org

5, 11, 37, 17, 101, 30047, 510529, 9699713, 1427, 76829, 789077, 659863, 810104837, 13082761331670077, 652833094897, 32589158477190044789, 1922760350154212639131, 28406001782370300553, 770555057, 94904036422299534098897, 40729680599249024150621323549
Offset: 1

Views

Author

Labos Elemer, Oct 29 2001

Keywords

Examples

			For n = 4, 4th primorial = 210, prime(5) = 11, sum = 210 + 11 = 13 * 17, a(4) = 17.
		

Crossrefs

Programs

  • Mathematica
    With[{nn=20},FactorInteger[#][[-1,1]]&/@(Total/@Thread[{FoldList[ Times,Prime[Range[nn]]],Prime[Range[nn]+1]}])] (* Harvey P. Dale, Jul 26 2020 *)
  • PARI
    a(n) = vecmax(factor(vecprod(primes(n)) + prime(n+1))[,1]); \\ Daniel Suteu, May 26 2022

Formula

a(n) = A006530(A002110(n) + A000040(n+1)).
a(n) = A006530(A060881(n)). - Michel Marcus, Sep 08 2023

Extensions

Name clarified by Felix Fröhlich, May 26 2022