The feature you want to use is called a sweep. To create a sweep you need a profile to sweep and a trajectory to sweep the profile along. You need to define a datum curve around the periphery of the cylinder as the trajectory and the profile will be the engagement of the end mill into the cylinder. The trajectory as per your requirements is a sin wave of period pi * d of the cylinder.
Have a go and if you cant do it I'll give you a hand.