OFFSET
1,4
LINKS
Michel Marcus, Table of n, a(n) for n = 1..5000
PROG
(PARI) a(n) = gcd(sum(k=1, n, k^k), n^n); \\ Michel Marcus, Jul 11 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
José María Grau Ribas, Jun 12 2022
STATUS
approved