finding diamond riches formula glup