OFFSET
1,2
EXAMPLE
9 is in this sequence because 9^(sigma(9) - 9) = 9^(13 - 9) = 9^4 = 6561 modulo 13 is equal to 9.
PROG
(Magma) [1] cat [k: k in [2..200] | k^(SumOfDivisors(k)-k) mod SumOfDivisors(k) eq k];
(PARI) isok(k) = Mod(k, sigma(k))^(sigma(k) - k) == k; \\ Michel Marcus, Aug 18 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 17 2024
STATUS
approved