OFFSET
0,1
COMMENTS
Note that n^n + (n+1)^(n+1) = A056788(n+1).
Becomes "hard" (unknown) around n ~ 112, cf. link: As of today, even A217435(113) (number of prime factors) is unknown. - M. F. Hasler, Oct 04 2012
As of today, the first unknown term is a(143). - Daniel Suteu, Mar 11 2019
LINKS
Daniel Suteu, Table of n, a(n) for n = 0..142
Walter Nissen, np(n) = n^n + (n+1)^(n+1) -- 2 prominent questions. (Updated Oct 02 2012)
FORMULA
EXAMPLE
a(4) = 23 because 4^4 + 5^5 = 3381 = 3 * 7^2 * 23.
MATHEMATICA
Join[{2}, FactorInteger[Total[#]][[-1, 1]]&/@Partition[Table[n^n, {n, 30}], 2, 1]] (* Harvey P. Dale, Apr 21 2018 *)
PROG
(PARI) A056790(n)=vecmax(factor((n+1)^(n+1)+n^n)[, 1]) \\ M. F. Hasler, Oct 04 2012
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
Walter Nissen, Aug 20 2000
EXTENSIONS
a(0) = 2 added by Arkadiusz Wesolowski, Jun 30 2011
a(21)-a(22) added by Daniel Suteu, Mar 11 2019
STATUS
approved