OFFSET
3,1
MATHEMATICA
Table[Sum[If[PrimePowerQ[i], Mod[Total[IntegerDigits[n, i]], n], 0], {i, 2, n-1}], {n, 3, 60}] (* Stefano Spezia, Sep 06 2022 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved