Several schoolchildren signed up for math circles. They want to distribute them into groups evenly in such a way that the number of students in any two groups differs by no more than 1.
As a result of such an even division, 6 groups were formed, among which exactly 4 groups had 13 students. How many students could there have been in total? State all possible options.