We call a point $P$ inside a triangle $\triangle ABC$ marvellous if exactly $27$ rays can be drawn from it, intersecting the sides of $\triangle ABC$ such that the triangle is divided into $27$ smaller triangles of equal areas.
Determine with proof the total number of marvellous points inside a given triangle $\triangle ABC$.
Assuming "intersecting the sides or vertices of $\triangle ABC$, the three rays must be drawn through the vertices, otherwise a quadrilateral will be formed on the vertex. Then from the point $P$ there must be drawn $24$ rays to the sides of $\triangle ABC$. Let the areas of the triangles $\triangle PBC$, $\triangle PAC$, $\triangle PAB$ be in ratio $a:b:c$, respectively. Refer to the figure:
$\hspace{3cm}$
Then: $$S_{\triangle PBC}=\frac{a}{27}S_{\triangle ABC}; \qquad S_{\triangle PAC}=\frac{b}{27}S_{\triangle ABC}; \qquad S_{\triangle PAB}=\frac{c}{27}S_{\triangle ABC}.$$
We will show that the point $P$ is unique for each ratio $a:b:c$. Note: $$a+b+c=27 \Rightarrow c=27-a-b; \\ PF=\frac{2S_{\triangle PBC}}{BC}=\frac{2aS_{\triangle ABC}}{27}; \ \ PD=\frac{2S_{\triangle PAC}}{AC}=\frac{2bS_{\triangle ABC}}{27}; \\ PE=\frac{2S_{\triangle PAB}}{AB}=\frac{2cS_{\triangle ABC}}{27}=\frac{2(27-a-b)S_{\triangle ABC}}{27}.$$ For each set of $a,b,c$, the altitudes $PF, PD, PE$ are uniquely determined.
Now we want the areas of $\triangle PBC$, $\triangle PAC$, $\triangle PAB$ to be in the ratio $a:b:c$ such that: $$a,b,c\in \mathbb{N^+};\\ 1\le a,b,c\le 25; \\ a+b+c=27.$$ Then we can have $a,b,c$ small triangles.
Using stars and bars method we find: $${27-1\choose 3-1}={26\choose 2}=325.$$