login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007571 a(n) = largest prime factor of n^n + 1.
(Formerly M1343)
13

%I M1343 #44 Oct 10 2023 06:21:33

%S 2,5,7,257,521,97,911,673,530713,27961,58367,2227777,79301,176597,

%T 142111,67280421310721,45957792327018709121,33388093,870542161121,

%U 4406613081041681,22864311556633,73194743542229,1522029233,27250359649

%N a(n) = largest prime factor of n^n + 1.

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H Tyler Busby, <a href="/A007571/b007571.txt">Table of n, a(n) for n = 1..148</a> (terms 1..123 from Hugo Pfoertner, terms 124..135 from Yurii Ivanov)

%H factordb, <a href="http://factordb.com/index.php?query=n%5En%2B1&amp;use=n&amp;perpage=20&amp;format=1&amp;sent=1&amp;PR=1&amp;PRP=1&amp;C=1&amp;CF=1&amp;U=1&amp;FF=1&amp;VP=1&amp;EV=1&amp;OD=1&amp;VC=1&amp;n=148">Status of 148^148+1 ... 167^167+1</a>.

%F a(n) = A006530(A014566(n)). - _Michel Marcus_, Aug 24 2019

%t Table[ FactorInteger[ n^n + 1, FactorComplete -> True ] [ [ -1, 1 ] ], {n, 1, 25} ]

%o (PARI) for(k=1, 24, my(x=factor(k^k+1), f=x[#x[, 1], 1]); print1(f,", ")) \\ _Hugo Pfoertner_, Aug 23 2019

%o (Magma) [Max(PrimeDivisors(n^n+1)):n in [1..24]]; // _Marius A. Burtea_, Aug 24 2019

%Y Cf. A006530, A006486, A014566, A056790.

%K nonn,hard

%O 1,1

%A _N. J. A. Sloane_, _Robert G. Wilson v_

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 12 05:07 EDT 2024. Contains 375842 sequences. (Running on oeis4.)