Instead of 200 trillion, call it 2^48, and if records (including overhead) are 512 bytes (2^9) so back of the envelope math is that you need 2^57 bytes of storage, just for the data. That's 128 petabytes of storage, at $100,000 for a petabyte of data, you're going to be looking at a budget of some multiple of $10,000,000. (I don't know how much the backup, indexing, data warehouse, etc. will cost since I don't really know what you're trying to do.)
Now, here's the question I have: are you actually trying to store that much data, or if it's just mathematical, can you just calculate it on the fly?