How can I show that $n\bmod m$ is periodic?
If I have a simple example like $n\bmod6 \equiv a$ how can I show that this is periodic if e.g $f(n) = n\bmod6$?
How can I show that $n\bmod m$ is periodic?
If I have a simple example like $n\bmod6 \equiv a$ how can I show that this is periodic if e.g $f(n) = n\bmod6$?
Copyright © 2021 JogjaFile Inc.
Hint: A function $f$ is periodic with period $m$ if $f(n+m)=f(n)$ for all $n$.