How long does it take for earth, mars, and Jupiter to line themselves up to a certain separation angle. Background information: I am doing this project where we are trying to do a Hohmann transfer from earth's stationary orbit to Mars and doing a flyby gravity assist at mars and shoot for Jupiter. Now we are at the point where we have to find out the exact time it takes for all three planets to lineup at a perfect angle for this whole mission to be completed. Knowns: -the original positions we need for all three planets to be. - the time it takes for mars to lineup with earth - the time it takes for mars to lineup with Jupiter - the time it takes for earth to lineup with Jupiter Unknowns: the time it takes for all above scenarios to happen. For example, the grand tour alignment, however this time it is only 3 planets.