1. R. Ayoub, An introduction to the theory of numbers, AMS 1963, Providence, Rhode Island.
2. S. Chowla, On the order of N(R), the number of terms in the period of the continued fraction for
$$\sqrt R $$
R
, The J. of Indian Math Soc., 18 (1929), 142–144.
3. S. Chowla and S. S. Pillai, Periodic simple continued fractions, Proc. London Math. Soc., 6 (1930), 85–89.
4. H. Cohn, A second course in number theory, New York, John Wiley, 1962.
5. J. H. E. Cohn, The length of the period of the simple continued fraction of
$$\sqrt d $$
d
, Pacific J. Math., 71(1) (1977), 21–32.