The parity of the period of the continued fraction of d
É. Fouvry, J. Klüners, Proceedings of the London Mathematical Society 101 (2010) 337–391.