Week numbers here follow ISO 8601, the international standard: a week starts on Monday, and week 1 is the week that holds the year's first Thursday, which is also the week that holds 4 January.
A year therefore has 52 or 53 weeks, and the first days of January can belong to the last week of the year before. In the United States and some other countries weeks are often counted from Sunday, with week 1 starting on 1 January, so a week number there can differ by one.