Pythagorean intervals