I generated this image in Inkscape because I don't know enough TikZ to write a description of it in that language, but given the amount of examples of TikZ trees available online, it strikes me as comparatively easy.

I know I can generate eg. the 8th of these trees like this:
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[
node/.style={circle, fill, minimum size=1em,inner sep=2pt}]
\node[node] {}
child { node[node] {}
child { node[node] {}
child { node[node] {} }
child { node[node] {} }}}
child { node[node] {}
child { node[node] {}
child { node[node] {} }}};
\end{tikzpicture}
\end{document}
which looks like this
How do I generate the entire row, with nice space between them and fractions under them, in a size of \textwidth×5em of a beamer frame? In another question I found mention of the \tikz command and tried the following picture
\begin{tikzpicture}[
scale=0.2,
node/.style={circle, fill, minimum size=0.15em,inner sep=1pt}]
\node (n1) {
\tikz[scale=0.2]{\node[node] {}
child { node[node] {}
child { node[node] {}
child { node[node] {} }}};
}};
\node[below=1pt of n1] {$\frac{8}{27}$};
\node[right=1pt of n1] (n2) {
\tikz[scale=0.2]{\node[node] {}
child { node[node] {}
child { node[node] {}
child { node[node] {} }
child { node[node] {} }}};
}};
\node[below=1pt of n2] {$\frac{4}{27}$};
\node[right=1pt of n2] (n8) {
\tikz[scale=0.2]{\node[node] {}
child { node[node] {}
child { node[node] {}
child { node[node] {} }
child { node[node] {} }}}
child { node[node] {}
child { node[node] {}
child { node[node] {} }}};
}};
\node[below=1pt of n8] {$\frac{8}{243}$};
\end{tikzpicture}




\tikzis a shortform for thetikzpictureenvironment, and nestingtikzpictures doesn't always work that well. I think options from the parent node is passed to the nested\tikz, which causes the skew. – Torbjørn T. Jul 16 '18 at 18:23