Expected counts are checked integer products of population and probability. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Choose a finite population
A population of 40 makes both expected counts integers.