OFFSET
1,2
COMMENTS
As n is a divisor of n^n this sequence is also the numbers that are a divisor of the sum of their proper divisors to their own powers.
Integers k such that k divides A062796(k). - Michel Marcus, Aug 07 2020
a(36) > 280 million if it exists. - David A. Corneth, Aug 10 2020
EXAMPLE
10 is a term as the divisors of 10 are 1,2,5,10 and 1^1+2^2+5^5+10^10 = 3130 + 10^10 which is divisible by 10.
12 is a term as the divisors of 12 are 1,2,3,4,6,12 and 1^1+2^2+3^3+4^4+6^6+12^12 = 46944 + 12^12 which is divisible by 12.
MATHEMATICA
seqQ[n_] := Divisible[DivisorSum[n, PowerMod[#, #, n] &], n]; Select[Range[10^5], seqQ] (* Amiram Eldar, Aug 10 2020 *)
PROG
(PARI) isokb(k) = ! sumdiv(k, d, if (d<k, Mod(d, k)^d)); \\ Michel Marcus, Aug 10 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Aug 07 2020
EXTENSIONS
a(19)-a(25) from Amiram Eldar, Aug 08 2020
a(26)-a(32) from Michel Marcus, Aug 10 2020
a(33)-a(35) from David A. Corneth, Aug 10 2020
STATUS
approved