Sort:  

I think that it is this:

result = ( ( rshares + s ) * ( rshares + s ) - s * s ) / ( rshares + 4 * s )

where s is 2,000,000,000,000 (i.e. 2e12).

Coin Marketplace

STEEM 0.04
TRX 0.31
JST 0.077
BTC 63608.51
ETH 1667.04
USDT 1.00
SBD 0.43