Cube of 3334/Historical Note

Historical Note on $3333$: (Three Thousand, Three Hundred and Thirty-Three
According to, the Gregorian calendar moves ahead $1$ day approximately every $3333$ years.

However, it is believed this is incorrect, and that it moves backwards one day every $3318$ years.

The origin of this statement is not given.