Elliptic curves and continued fractions