Text this: Unexpected links between Egyptian and Babylonian mathematics