I didn't get the first puzzle with the four numbers, I watched the walkthrough to try to get a hint and it just gave the answer. I still don't know how to solve that one but I got the rest.
You should be able to upgrade a certain mineral type, like it would be helpful for me to just upgrade silver (the one right below gold) because it is the only mineral I'm waiting on for the next upgrade.
Thanks!