Right now, no matter how many mine, the block reward is the same.
Your formula would be difficult to implement and it's not future proof. After the last halving the miners will earn only from tx fees. How will you formula apply then? It won't. Sorry, IMHO it's not a good idea.