Deriving some formula on your own then trying to figure out whether it "fits" somehow is a dangerous way to live your life. You'll get yourself into all sorts of scrapes of your own making and miss out on most of the blessings God has in store.
Instead, you should learn to use Scripture as a sort of lens or framework by which to understand the world. If you had approached the issue of suffering by starting with the Scriptures then applying what you found there to the world, you would come to a different conclusion about the importance of suffering. Most significatly, I think you would find that it has meaning / purpose.
In Scripture, suffering is not a divide by zero equation, it produces something:
Romans 5:3-5 (ESV)
3 Not only that, but we rejoice in our sufferings, knowing that suffering produces endurance, 4 and endurance produces character, and character produces hope, 5 and hope does not put us to shame, because God's love has been poured into our hearts through the Holy Spirit who has been given to us.
Furthermore we know that besides just some end product, the actual process has value:
1 Peter 2:19 (ESV)
19 For this is a gracious thing, when, mindful of God, one endures sorrows while suffering unjustly.
In summary, making suffering out to be of no consequence would clearly conflict with Scripture.
On the math issue, it's probably worth noting the kind of time based math we currently operate in is not the same order that God operates in or that we will eventually be ushered into. This creation (and it's timeline) are just a created capsule sustained by God's will for a purpose for a time. It will have an end. The economy of what survives and is of eternal value and what will perish and will "not matter" is defined by God's rules. Physics, chemistry and even theoretical math do not govern what does and does not have eternal consequences. Neither do any philosophies of men.