A certain roller coaster ride has more than 29 people waiting in line ...
Let's analyze the given information:
If riders are let on only in groups of 5, there will be 2 riders that do not get on. This means the total number of riders is not divisible by 5.
If riders are let on only in groups of 6, all riders will be able to get on. This means the total number of riders is divisible by 6.
To find the largest possible value of the number of people in line, we need to find the least common multiple (LCM) of 5 and 6.
Factorizing 5: 5 = 5^1 Factorizing 6: 6 = 2 * 3^1
Taking the highest power of each prime factor: LCM(5, 6) = 2 * 3 * 5^1 = 30
Since the total number of riders must be divisible by 6, and less than 112 people are in the line, the largest possible value of the number of people in line is a multiple of 30 that is less than 112.
The largest possible value of the number of people in line is 102 (30 × 3 + 12).
Therefore, the correct answer is D.