A periodic function is a function defined the ways that:
f(x) = f(x+n) (n != 0)
If f has a period k, then:
f(x) = f(x+k) = f(x+kn) (n being an integer)