The sum of the first N natural numbers applied to calculate the number of assignments of repeatify()

sum first n natural numbers