Ryan Lee&#39;s Continuity Formula