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.

Showing 1-1 of 1 results.

A096058 a(1) = 1, a(n) = largest prime divisor of b(n), where b(1) = 1, b(n) = n*b(n-1) + 1 = A002627(n).

Original entry on oeis.org

1, 3, 5, 41, 103, 1237, 433, 2389, 2711, 145007, 523, 164611949, 232603841, 201069629, 132267077, 35951249665217, 204405098431, 392881768421, 52255141388393, 8098687, 43894318766250120011, 386270005143001056097
Offset: 1

Views

Author

Amarnath Murthy, Jun 17 2004

Keywords

Examples

			a(4) = 41 because b(3) = 3*b(2)+1 = 3*3+1 = 10 and 4*10+1 = 41, which is prime.
b(n) = 1, 3, 10, 41, ... with largest prime divisors a(n) = 1, 3, 5, 41, ...
		

Crossrefs

Programs

  • Mathematica
    nxt[{n_,a_}]:={n+1,a(n+1)+1}; FactorInteger[#][[-1,1]]&/@NestList[nxt,{1,1},25][[;;,2]] (* Harvey P. Dale, Jul 22 2024 *)

Formula

a(n) = A006530(A002627(n)).

Extensions

Corrected and extended by Ray G. Opao, Aug 02 2004
Edited by Jonathan Sondow, Jan 09 2005
Showing 1-1 of 1 results.