What extra distance, or reduction in distance is unaccounted for by simply adding the circular motion of the pedals to the motion of the bike?
Ok, hamster's stair stepper did it for me. I can see now that the distance would be less than the sum of these two. So this is solvable for a fixed gear, but I think there isn't one answer for a bike that can coast and shift gears.