i am not sure about the necessity but it is an odd integer in weierstrass' original paper and this does at least make the proof of the properties of this function a lot easier