A student worked on a riddle while discovered a forgotten melody while sailing across the seas.