OFFSET
1,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
a(n) <= n for all n > 1.
MATHEMATICA
a[n_] := Module[{k = 2}, While[! Divisible[n^n + k^k, n + k], k++]; k]; Array[a, 100] (* Amiram Eldar, Jun 04 2021 *)
PROG
(PARI) a(n) = my(k=2); while((n^n+k^k)%(n+k)!=0, k++); k;
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Seiichi Manyama, Jun 04 2021
STATUS
approved