Software Search For how to calculate 4d number