Create a periodic object
Use an array modifier.  Select the object you want to duplicate, and click on the wrench icon in the properties panel.  Then click Add Modifier, and select Array.  Then in the tab it brings up, select Relative Offset, and change it to what you want.  Finally, change Count to the number of duplicates you want.  Sorry that I can't upload any screenshots, but I'm rendering right now.