If I count in 3's like $(3,6,9,12,15, ...)$ - then the last digit forms a repeating sequence $[3, 6, 9 / 2, 5, 8 / 1, 4, 7 / 0]$ (slash separates logical groups - we just do "minus one" from each number in the first [3,6,9] group, then we do "minus two", until "three minus three" gives zero).
If I count in 4's like $(4, 8, 12, 16, 20, 24, 28, ...)$ - then the last digit forms a repeating sequence $[4, 8, 2, 6, 0]$. I don't see any (easy mnemonic) rule here - like in the above "count in 3's" case.
Question: if I count in 2's, 3's, 4's, 6's, 7's, 8's, 9's - is there a general rule for n (n=2, n=3, ... n=9) how to produce that repeating sequence of last digits?
For 3's there is a simple (though not general) rule - take $3, 6, 9$ and subtract one until $3-3=0$ (see the first paragraph).
Maybe there is a similar simple rule for others (4's, 6's, 7's, 8's, 9's) or even a general rule (one simple trick for them all).
P.S. Originaly I wanted to provide a nice life-hack for my child learning to count in 3's, 4's etc - this hack is highly wanted, but besides I got interested myself. Sorry, I'm not a professional mathematician. Maybe modular arithmetics or some modern algebra / number theory findings (ring of residues modulo N?) does that (mnemonic / generalizing) trick?