Lattice Square Math Problems