login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074476 Largest prime factor of 3^n + 1. 9
2, 2, 5, 7, 41, 61, 73, 547, 193, 37, 1181, 661, 6481, 398581, 16493, 271, 21523361, 1021, 530713, 101917, 42521761, 2269, 570461, 23535794707, 769, 22996651, 4795973261, 19927, 647753, 5385997, 47763361, 22434744889, 926510094425921 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..100

S. S. Wagstaff, Jr., The Cunningham Project

MATHEMATICA

Table[FactorInteger[3^n + 1][[-1, 1]], {n, 0, 40}] (* Vincenzo Librandi, Aug 23 2013 *)

PROG

(PARI) for(n=0, 35, v=factor(3^n+1); print1(v[matsize(v)[1], 1], ", "))

(MAGMA) [Maximum(PrimeDivisors(3^n+1)): n in [0..40]]; // Vincenzo Librandi, Aug 23 2013

CROSSREFS

Cf. A074477 (largest prime factor of 3^n - 1), A002587 (largest prime factor of 2^n + 1), A074478 (largest prime factor of 5^n + 1).

Sequence in context: A300439 A208818 A221835 * A224610 A265819 A254746

Adjacent sequences:  A074473 A074474 A074475 * A074477 A074478 A074479

KEYWORD

nonn

AUTHOR

Rick L. Shepherd, Aug 23 2002

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 20:05 EDT 2019. Contains 328129 sequences. (Running on oeis4.)