The Back and the Forth

Maybe a math question