Counting

how to sum if the terms do not decrease