Calendar repeats when the total number of odd days is 0 (for non-leap years) or 7 (accounting for leap years). From 2024 to 2052 is 28 years, containing 7 leap years (2024, 2028, 2032, 2036, 2040, 2044, 2048). Total odd days = 28 + 7 = 35, which is divisible by 7, so the calendar repeats in 2052.