OFFSET
1,3
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Sum_{k=1..n-1} (k*10 mod n).
MATHEMATICA
Table[Total[Mod[Range[10, 10*(n-1), 10], n]], {n, 100}]
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Paolo Xausa, Jun 30 2024
STATUS
approved