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.

A080798 Largest prime factor of 3^n-2.

This page as a plain text file.
%I A080798 #18 Nov 07 2023 03:21:44
%S A080798 7,5,79,241,727,23,937,19681,431,499,4703,8093,40193,2869781,483671,
%T A080798 94747,4657,232452293,498112057,2812679,31381059607,3765727153,
%U A080798 1364071,44594137339,125231,13170403,5353801183,4159349,46050353857,294487079,26892769,29178816413,3533781113
%N A080798 Largest prime factor of 3^n-2.
%H A080798 Hugo Pfoertner, <a href="/A080798/b080798.txt">Table of n, a(n) for n = 2..210</a>
%F A080798 a(n) = A006530(A058481(n)). - _Michel Marcus_, Jul 12 2019
%t A080798 FactorInteger[#][[-1,1]]&/@(3^Range[2,30]-2) (* _Harvey P. Dale_, Apr 07 2022 *)
%o A080798 (PARI) a(n) = vecmax(factor(3^n-2)[,1]); \\ _Michel Marcus_, Jul 12 2019
%o A080798 (Magma) [Max(PrimeDivisors(3^n-2)):n in [2..30]]; // _Marius A. Burtea_, Jul 12 2019
%Y A080798 Cf. A014224, A014232, A080443, A080892.
%Y A080798 Cf. A006530, A058481.
%K A080798 nonn
%O A080798 2,1
%A A080798 _Hugo Pfoertner_, Mar 25 2003