Computing intersections of closed geodesics on the modular curve

James Rickards
9/9/2019
math.NT

Official code: JamesRickards-Canada/Q-Quadratic (3 stars, C, GPL-3.0, last commit 2025-08-21).

Abstract

In a recent work of Duke, Imamoglu, and Tóth, the linking number of certain links on the space $\text{SL}(2,\mathbb{Z})\backslash\text{SL}(2,\mathbb{R})$ is investigated. This linking number has an alternative interpretation as the intersection number of closed geodesics on the modular curve, which is the focus of this paper.

Show full abstract

By relating the intersection number to a combinatorial computation involving rivers of Conway topographs, an efficient algorithm for computing intersection numbers is produced. A formula for the total intersection of a pair of positive coprime fundamental discriminants is also derived, which can be thought of as a real quadratic analogue of a classical result of Gross and Zagier. The paper ends with numerical computations and distribution questions relating to intersection numbers.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A PARI/GP package for integral binary quadratic forms and quaternion algebras over Q, with an emphasis on indefinite quadratic forms and indefinite quaternion algebras.

30C, PythonJun 19, 20201 years agoGPL-3.0
binary-quadratic-formgpparipari-gpquaternion-algebra

Similar Papers

Cite this paper

@article{rickards2019computing,
  title  = {Computing intersections of closed geodesics on the modular curve},
  author = {James Rickards},
  year   = {2019},
  eprint = {1909.04103},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.04103}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.04103.svg)](https://codeofpaper.com/paper/1909.04103)

Discussion