I'm sorry, I missunderstood the problem. I imagined this was on 2 dimentions, so my solutions in that case would be correct.
to the 3 dimentions now:
If I get it right, every layer is an even triangle, and thus it has 1,3,6,...x balls total, correct? Now, if you see these numbers, they are...