  A classical result of Dirichlet shows that certain elementary character sums
compute class numbers of quadratic imaginary number fields. We obtain analogous
relations between class numbers and a weighted character sum associated to a
2-isogeny of elliptic curves.
