There might already be a post regarding this problem: Guaranteeing an integer lattice point centroid, but I am too dumb to figure out a proof given the discussion on the said post.
Let $S\subset\mathbb{Z}^2$. I am trying to show that if $\# S = 13$, then there always exists four points $z_1,\dots,z_4$ such that
$$\frac{1}{4}\sum_{k=1}^4 z_k\in\mathbb{Z}^2$$
This is the same as saying that for the sum $w = \sum_{k=1}^4z_k$, both coordinates are divisible by $4$. I am fully aware that some form of Pigeonhole principle needs to be applied, but I do not see what the categories that we should consider are.
Were the problem to be that the mean of two points is a lattice point, then this problem is quite simple to conclude for $\# S = 5$: The mean of two lattice points is a lattice point precisely when both the sums of both coordinates are even. Each lattice point can be categorized as $(0,0),(1,0),(0,1),(1,1)$ based on residue modulo $2$. So when we choose any five points, necessarily two of them are in the same class and hence the claim follows.
This is quite a bit trickier with modulo $4$ since it seems that given a class (when we consider the coordinates of points based on their residues modulo $4$) e.g. $(1,1)$, either all other points need to also be in the class $(1,1)$ or if one is, say, $(3, 3)$, then the choices for the other two points are $(2,2),(3,1),(1,3),(0,0)$ such that the sums of the both coordinates (individually) are divisible by $4$. Not so simple...