Creedy, Charles, mathematician