Documentation

TauCeti.Data.Finset.NatAntidiagonal

The pairs of natural numbers with bounded sum #

The pairs (i, j) of natural numbers with i + j < m are the union of the antidiagonals i + j = s for s < m, and there are m (m + 1) / 2 of them.

Main results #

There are m (m + 1) / 2 pairs of natural numbers with sum less than m: the union of the antidiagonals i + j = s for s < m has m (m + 1) / 2 elements.