OFFSET
2,1
EXAMPLE
a(5) = 118678 because 1^5 + 1^5 + 8^5 + 6^5 + 7^5 + 8^5 = 90121, and sum of the divisors 1 < d < a(5) = sigma(118678) - 118678 - 1 = 90121.
PROG
(PARI) f(k, n) = my(d=digits(k)); sum(i=1, #d, d[i]^n);
a(n) = my(k=1); while(f(k, n) != sigma(k)-k-1, k++); k; \\ Michel Marcus, Sep 29 2018
CROSSREFS
KEYWORD
nonn,hard,base,more
AUTHOR
Michel Lagneau, Dec 16 2011
EXTENSIONS
a(8)-a(9) added by Amiram Eldar, Sep 29 2018
a(10)-a(13) from Giovanni Resta, Oct 04 2018
STATUS
approved