A scientist solved a hidden treasure to a friend.