Greetings. I am not entirely sure this is the proper forum for this question, but it seems to me that it would most likely be some sort of algebraic formula that is required. I mostly need help just figuring out which formula I need to use, which I can then use to answer all the questions that I would have. Here's the outline of the primary problem from which the formula would derive.
A planet has eight moons. Each moon has a different orbital period and a different offset. The orbital period is how long it takes for the moon to make one orbit around the planet. The offset is how many days from the first day of the first year of the calendar the orbital period begins. (For example, a moon with an orbital period of ten and an offset of one would start the orbital period on the second day of the first month and end it on the eleventh, with a full moon on the seventh)
The planet's calendar has fifteen months, each month with a different amount of days.
The result I am looking for is the ability to calculate full moons, whether a single moon or multiple moons, without having to essentially draw up a calendar and browse it until I find what I am looking for. The calculation would need to be able to accurately predict a period when all eight moons are full at the same time.
Thank you in advance for reading. If this needs clarification, I am more than happy to explain further and provide all the numbers required if it would be easier.
A planet has eight moons. Each moon has a different orbital period and a different offset. The orbital period is how long it takes for the moon to make one orbit around the planet. The offset is how many days from the first day of the first year of the calendar the orbital period begins. (For example, a moon with an orbital period of ten and an offset of one would start the orbital period on the second day of the first month and end it on the eleventh, with a full moon on the seventh)
The planet's calendar has fifteen months, each month with a different amount of days.
The result I am looking for is the ability to calculate full moons, whether a single moon or multiple moons, without having to essentially draw up a calendar and browse it until I find what I am looking for. The calculation would need to be able to accurately predict a period when all eight moons are full at the same time.
Thank you in advance for reading. If this needs clarification, I am more than happy to explain further and provide all the numbers required if it would be easier.