Bountiful Bacteria
You work at a lab that mainly produces and packages bacteria used for medical purposes. The bacteria you are tasked with, has the peculiarity that every bacterium splits into 3 bacteria every minute.
The vials used to distribute the bacteria can hold seven thousand individual bacteria. The rest must be disposed of.
After minutes, how many bacteria will you have to throw away if you started with one?
Hint
It is not necessary to calculate how many bacteria there will be in total; and all the calculations can be done using 32 bit integers.