There are several children. The first child has 2 more candies than the second child, the second child has 2 more candies than the third child, and so on, with each preceding child always having 2 more candies than the following child. They sit in a circle and play a game. Starting with the first child, they give 2 candies to the next child, the second child gives 4 candies to the third child, and so on, with each child always adding their 2 candies to the ones received from the previous child before passing them on. During the game, at some point, a child receives candies from the previous child but is unable to pass them on as per the rules, and at this point, the ratio of candies between two neighboring children is . What is the maximum number of children?