OFFSET
1,3
FORMULA
a(A050226(k)) = 0.
EXAMPLE
n = 7: a(7) = A006218(7) mod 7 = 2.
MATHEMATICA
With[{nmax = 100}, Mod[Accumulate[DivisorSigma[0, Range[nmax]]], Range[nmax]]] (* Amiram Eldar, Jan 06 2025 *)
PROG
(PARI) a(n) = sum(k=1, n, numdiv(k)) % n; \\ Michel Marcus, Jan 06 2025
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Ctibor O. Zizka, Jan 06 2025
STATUS
approved