OFFSET
1,2
COMMENTS
Numbers k such that k divides A026898(k-1).
a(19) > 10^5.
FORMULA
0^6 + 1^5 + 2^4 + 3^3 + 4^2 + 5^1 + 6^0 = 66 = 6 * 11. So 6 is a term.
MATHEMATICA
Do[If[Mod[Sum[PowerMod[k, n - k, n], {k, 0, n}], n] == 0, Print[n]], {n, 1, 3000}] (* Vaclav Kotesovec, Feb 12 2021 *)
PROG
(PARI) isok(n) = sum(k=0, n, Mod(k, n)^(n-k))==0;
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Seiichi Manyama, Feb 11 2021
EXTENSIONS
a(19) from Vaclav Kotesovec, Feb 14 2021
a(20)-a(21) from Chai Wah Wu, Feb 15 2021
STATUS
approved