where p and q are integers and q ≠ 0 : (viii) 0.404040…