Suppose the days of the year are numbered from 1 to 365 and January 1 falls on a Tuesday as it did in 2008. What is the correct For statement to use if you want only the numbers for the Thursdays in 2008?

1 answer

3,10,17, 24, ... 3+n*7....3+51*7