This is one of Brilliant's daily challenges. What I see is four arithmetic progressions. I did my calculations according to the formulas:
$$S_{n1} = \frac n2(2a + (n − 1) × d_1),$$ $d_1=1$. $$ S_{n2} = \frac n2(2a + (n − 1) × d_2),$$ $d_2=2$.
$X = S_{n1} + S_{n2} - 3$(so that I don't count the central dot four times) = $78 \cdot 2 + 144 \cdot 2 - 3 = 441$. The problem is Brilliant doesn't have such an answer. Did I make a mistake somewhere?
The first several centered hexagonal numbers are
$$1,7,19,37,61…$$
What is the 12th centered hexagonal number?


First method:
Let’s do it by their method. Look at one of their highlighted triangles. Each triangle contains $\displaystyle \frac{n(n+1)}{2}$ dots, where there are $n$ hexagonal rings outside the central dot. Since there are 6 such triangles, the total number of dots is (including the central dot): $\displaystyle 6\frac{n(n+1)}{2}+1=\fbox {3n(n+1)+1}$ where $n=0,1,2,…$ .
Second method:
Notice the pattern by counting the no. of dots in each row and summing it up for each n:$$n=0:\ 1$$$$n=1: \ 2+3+2=7$$$$n=2: \ 3+4+5+4+3=19$$ etc. So for $n=k$ we have Number of dots = $$\color{blue}{(k+1)}+(\color{blue}{(k+1)}+1)+…+ (\color{blue}{(k+1)}+(k-1))+\color{red}{(\color{blue}{(k+1)}+k)}+(\color{blue}{(k+1)}+(k-1))+… +\color{blue}{(k+1)}$$$$=2[(k+1)+((k+1)+1)+…+ ((k+1)+(k-1))]+ ((k+1)+k)$$ The part in square brackets is an AP with starting term k+1, common difference = 1 and number of terms = k. So the expression is $$2\left[\frac{k}{2}(2(k+1)+(k-1))\right]+(2k+1)$$$$=k(3k+1)+(2k+1)=3k^2+3k+1=\fbox{3k(k+1)+1}; k=0,1,2,3,…$$
To re-index values to have n starting from 1, replace n with (n-1). Thus the $nth$ “centered hexagonal number” is $$\color{green}{3n(n—1)+1}.$$ where n=1,2,3,…