Animation on keyframe and timeline
When you add keyframes they are stored in an Action to let them repeat add the action as an Action Strip to the NLA Editor and set the repeat property (in the property panel N) to the number of repetitions. Note that the Action Editor is mode of the Dopesheet Editor.