I think you're misunderstanding what you've read. This formula is for the discovery.zen.minimum_master_nodes setting, where N is the total number of master-eligible nodes in your cluster. N should be much smaller than 160, and normally 3 is the right number.
Furthermore this setting is deprecated and ignored in Elasticsearch 7 so this formula is not at all relevant any more.
Yes, do that.