Each day of the week, beginning with Sunday, can be identified by a code $x,$ where $0 \leq x \leq 6 .$ January 1 of any year $y$ can be determined using the following formula".
$$x \equiv\left(y+\left\lfloor\frac{y-1}{4}\right\rfloor-\left\lfloor\frac{y-1}{100}\right\rfloor+\left\lfloor\frac{y-1}{400}\right\rfloor\right)$$
Using this formula determine the first day in each year.
$$3000$$