n and N
Small n is the number of cases in a sample or group, capital N usually the total number of cases. For groups: n₁, n₂. In the binomial distribution n is the number of trials. Some books call the size of the population N.
Example: Three groups of 20 people each: n = 20 per group, N = 60.
Caution: Whether N means the sample or the population depends on the book. The result or its legend says which.