a. Let us prove that in any such placement of checkers on a triangular board with side n, the number of checkers q satisfies the inequality
q≤32n+1⋅k.
The main idea of the proof is double counting. Note that wherever a checker stands, if you count all the cells of the three lines in which it stands, and take into account the cell on which it stands three times, you get 2n+1. Let us denote by S this number summed over all checkers. We have
S=(2n+1)q.
Now let's find this amount based on the location of the checkers along the lines. Let there be x1,…,xn checkers in the n horizontal lines, y1,…,yn checkers in the n lines with angle 60∘, and in the n lines with angle 120∘ there are z1,…,zn checkers, as shown in Figure 1.

The i-th line has exactly i cells, and each of them is in the same line with xi,yi or zi checkers from that line depending on the angle. Therefore,
(3)S=1⋅(x1+y1+z1)+2⋅(x2+y2+z2)+⋯+n⋅(xn+yn+zn).
Since there are q checkers in total, but there are no more than k checkers in any row, we have the following conditions:
x1+⋯+xn=y1+⋯+yn=z1+⋯+zn=q,0≤xi,yi,zi≤min(i,k)for any 1≤i≤n.
Let q=mk+r, where 0≤r<k is the remainder when divided by k. It is clear that the expression (3) is maximized when the sums xi+yi+zi with higher coefficients are the maximum possible (that is, equal to 3k). Hence, under these conditions we get
(2n+1)q=(x1+y1+z1)+2(x2+y2+z2)+⋯+n(xn+yn+zn)≤n⋅3k+(n−1)⋅3k+⋯+(n−m+1)⋅3k+(n−m)⋅3r≤22n−m+1m⋅3k+(n−m)⋅3r≤26nmk−3m2k+3mk+3nr−3mr≤26n(mk+r)−3m2k+3(mk+r)−3r−6mr≤2(6n+3)q−3m2k−3r−6mr.
Moving (2n+1)q to the right side, multiplying the inequality by 2k and substituting mk=q−r, we arrive at a quadratic inequality for q:
0≤(6n+3−4n−2)kq−3(mk)2−3rk−6mkr=(2n+1)kq−3(q−r)2−6(q−r)r−3rk=(2n+1)kq−3q2+6qr−3r2−6qr+6r2−3rk=−3q2+(2n+1)kq+3r(r−k),
from which we obtain
3q2≤(2n+1)kq+3r(r−k)≤(2n+1)kq,that isq≤32n+1k,
because r−k<0. Since q is an integer, we get q≤⌊32n+1k⌋, as required.
b. We have T(1,n)=⌊32n+1⌋ and T(2,n)=⌊34n+2⌋. Placements of checkers, when equality is achieved in the last inequality, for k=1 and k=2, are shown in figures 2, 3 and 4.


