Suppose you have a deck of cards. Each card has n images on it. Any two cards will have exactly one matching image. What would be the formula for the maximum number of unique images and the maximum number of unique cards?
At first I thought the maximum number of images would be:
$\sum\limits_{i=1}^n i$
But that doesn't seem right as the pairs themselves don't have to be unique (ie, you can have three cards that share a single image).