Tesler's theorem