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.

A274904 Largest prime factor of 6^n + 1.

Original entry on oeis.org

2, 7, 37, 31, 1297, 101, 97, 197, 98801, 46441, 6781, 51828151, 1678321, 37571, 5030761, 1950271, 4709377, 12690943, 55117, 48713705333, 68754507401, 2527867231, 863017, 990000731, 473896897, 3655688315536801, 6291946695217, 883383463, 81035189089
Offset: 0

Views

Author

Vincenzo Librandi, Jul 11 2016

Keywords

Examples

			6^3 + 1 = 217 = 7*31, so a(3) = 31.
		

Crossrefs

Cf. similar sequences listed in A274903.

Programs

  • Magma
    [Maximum(PrimeDivisors(6^n+1)): n in [0..40]];
  • Mathematica
    Table[FactorInteger[6^n + 1][[-1, 1]], {n, 0, 40}]

Formula

a(n) = A006530(A062394(n)). - Michel Marcus, Jul 11 2016

Extensions

Terms to a(100) in b-file from Vincenzo Librandi, Jul 12 2016
a(101)-a(408) in b-file from Amiram Eldar, Feb 02 2020
a(409)-a(430) in b-file from Max Alekseyev, Apr 25 2022, Apr 15 2025