Some arithmetic Ramsey problems and inverse theorems