I haven't time to do the calculations. Let's say I have exactly 2 TH/S. If I was to mine from now until the total amount of coin's hit 21 mil, what would be more profitable? Solo mining, or pool mining? Pool mining will give me a higher chance of hitting a block, but also a lower payout. Solo is vice versa.
Disregarding clocking, general wear and tear of my miner, and factoring the halvings, rising amount of hashing power on the network, and me staying at 2 TH/S, which one, by the end, would have made me the most?
I will make conditions since you left them out.
You will be dead by the time we mine the 21 mill coins.
you do not stop mining.
your gear does not break.
I can break down the math but if the ½ ings go as scheduled and btc actually does mine down to almost 0 coins (it will never get to 0 coins if it continues to mine) All of us will be dead.
So I will make first condition
12.5 btc is reward July 2016 5.25 mill coins
6.25 btc is reward Dec 2018 2.625 mill coins
3.125 btc is reward July 2021 1.3125 mill coins
1.5625 btc is reward Dec 2023 656,250 coins
.78125 btc is reward July 2026 328,125 coins I say use this date not the end of coins
Second condition
free gear and free power = mine in a pool as you will certainly make a profit while the chances are you will not hit a block
free gear and pay for power = mine in a pool as long as you get more coin then the power costs then switch to solo. this is an absolute certain way of getting some coins and you could hit a block once it stops paying a profit to mine in a pool.
you purchased the gear and have free power. mine in a pool till the end you will have some coins and may turn a profit
last you paid for the gear and you pay for power.
mine in a pool until the power cost makes you losing money to be int the pool then mine in a solo
you will get some coins and may hit a block.
Notice in no case did I ever say mine solo all the way until you die or btc dies.
If the gear was free and your power is free and you need a space heater you could mine solo.
once it is too hot switch to a pool you will get heat from the solo mining and may hit a block and you will get some coins when it it warm and you do not need the heat. (this is a convoluted way of thinking and some will disagree with it)
good luck