EN
We generalize Rademacher's reciprocity formula for the Dedekind sum to a family of cotangent sums. One of the sums in this family is strictly related to the Vasyunin sum, a function defined on the rationals that is relevant to the Nyman-Beurling-Báez-Duarte approach to the Riemann hypothesis.