OFFSET
1,2
EXAMPLE
9 is in this sequence because (sigma(9)-9)^(sigma(9)-9) = (13-4)^(13-4) = 256 modulo 13 equal to 9.
PROG
(Magma) [k: k in [1..50000] | (SumOfDivisorse(k)-k)^(SumOfDivisorse(k)-k) mod SumOfDivisors(k) eq k];
(PARI) isok(k) = my(s=sigma(k)); Mod(s-k, s)^(s-k) == k \\ Michel Marcus, Aug 29 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 29 2024
EXTENSIONS
More terms from Michel Marcus, Aug 29 2024
STATUS
approved