This question is of recreation nature, but could be made more serious.
Given a $3\times 3\times 3$ cube, what is the maximum number of small $1\times 1\times 1$ blocks a plane could cut through? More generally, how about an $n\times n\times n$ cube?
Is there general reference about this type of questions?
Batominovski's edit:
A Lower Bound
Note that, in a $3\times 3$ square, it is possible to cut five $1\times 1$ cells with a line. Therefore, it is possible to cut at least $3\cdot 5=15$ unit blocks of a $3\times 3\times 3$ cube with a plane. Thus, $15$ is a lower bound for the correct answer.
For the general case, it can be easily seen that we can cut an $n\times n$ square with a line that go through $2n-1$ unit cells. Thus, in the $3$-dimensional setting, we can cut an $n\times n\times n$ cube with a plane that go through $n(2n-1)$ unit blocks. Hence, $n(2n-1)$ is a lower bound for the correct answer.


Given a cube $n \times n \times n$ or $[0,\, n]^3$ we want to find the plane $ax+by+cz=d$ which crosses the highest number of unitary cubes inside $[0,\, n]^3$, and find that number.
We individuate a single unit cube as $[x_k,\, x_k+1] \times [y_j,\, y_j+1] \times [z_l,\, z_l+1]$, with $j,k,l \in [0, \, n-1]$.
The cubes crossed by the plane will be those for which $$ \eqalign{ & ax_{\,k} + by_{\,j} + cz_{\,l} < d < a\left( {x_{\,k} + 1} \right) + b\left( {y_{\,j} + 1} \right) + c\left( {z_{\,l} + 1} \right)\quad \Rightarrow \cr & \Rightarrow \quad d - \left( {a + b + c} \right) < ax_{\,k} + by_{\,j} + cz_{\,l} < d\quad \Rightarrow \cr & \Rightarrow \quad {d \over {a + b + c}} - 1 < {{ax_{\,k} + by_{\,j} + cz_{\,l} } \over {a + b + c}} < {d \over {a + b + c}} \cr} $$
Consider $x_k$ as the realization a uniform discrete random variable $x$ on the support $[0,\, n-1]$, with probability $1/n$, mean $(n-1)/2$ and variance $(n^2-1)/12$ .
Same for $y, \, z$.
Their weighted sum $$ {{ax_{\,k} + by_{\,j} + cz_{\,l} } \over {a + b + c}} $$ will have mean, mode and median at $(n-1)/2$ and variance $$ \sigma ^2 = {{a^2 + b^2 + c^2 } \over {\left( {a + b + c} \right)^2 }}\left( {{{n^2 - 1} \over {12}}} \right) $$
Clearly the less is the variance the larger is the portion of the pmf satisfying the inequality given above, since the inequality's gauge is constant at $1$.
And the variance is clearly minimum for equal weights.
So we arrive to consider the inequality $$ \bbox[lightyellow] { \left\{ \matrix{ x_{\,k} ,y_{\,j} ,z_{\,l} ,n,s \in \mathbb Z \hfill \cr d \in \mathbb R \hfill \cr 0 \le x_{\,k} ,y_{\,j} ,z_{\,l} \le n - 1 \hfill \cr d - 3 < x_{\,k} + y_{\,j} + z_{\,l} = s < d \hfill \cr} \right. \tag{1}}$$
Now, the number of points on the diagonal plane of a $m$-D cube $$N_{\,b} (s,r,m) = \text{No}\text{. of solutions to}\;\left\{ \begin{gathered} 0 \leqslant \text{integer }x_{\,j} \leqslant r \hfill \\ x_{\,1} + x_{\,2} + \cdots + x_{\,m} = s \hfill \\ \end{gathered} \right.$$ is given by $$ \bbox[lightyellow] { N_b (s,r,m)\quad \left| {\;0 \leqslant \text{integers }s,m,r} \right.\quad = \sum\limits_{\left( {0\, \leqslant } \right)\,\,k\,\,\left( { \leqslant \,\frac{s}{r+1}\, \leqslant \,m} \right)} {\left( { - 1} \right)^k \binom{m}{k} \binom { s + m - 1 - k\left( {r + 1} \right) } { s - k\left( {r + 1} \right)}\ } \tag{2.a}}$$ as explained in this post.
Moreover the number of points on or below the diagonal plane are $$ \bbox[lightyellow] { \eqalign{ & M_b (s,r,m)\quad \left| {\;0 \le {\rm integers }s,m,r} \right.\quad = \cr & = \sum\limits_{0\, \le \,\,j\,\, \le \,s} {N_b (s,r,m)} = \cr & = \sum\limits_{\left( {0\, \le } \right)\,\,k\,\,\left( { \le \,{s \over {r + 1}}\, \le \,m} \right)} {\left( { - 1} \right)^k \left( \matrix{ m \hfill \cr k \hfill \cr} \right)\left( \matrix{ s + m - k\left( {r + 1} \right) \cr s - k\left( {r + 1} \right) \cr} \right)} \cr} \tag{2.b}}$$
At this point we need the help of a graphical visualization to grasp the behaviour of the inequality 1) wrt $N_b$
$N_{\,b} (s,n-1,3)/n^3$ is the pmf of the sum $s$ of the three uniform discrete random variables.
The sketch shows that the maximum portion of the histogram is intercepted when the the gauge of width $3$ of the inequality is almost centered around the mean.
That is actually so when n is odd, while for even $n$ we shall shift the gauge slightly to the left (or to the right).
Alas, the formula for $N_b$ is only valid for integral parameters (rewriting the binomial through gamma produces a discontinuous function).
We can circumvent the above and uniform the inequality by introducing a fixed $1/2$ shift from the mean and then rewriting the inequality as $$ \eqalign{ & d - 3 < x_{\,k} + y_{\,j} + z_{\,l} = s < d\quad \Rightarrow \cr & \Rightarrow \quad 3{{n - 1} \over 2} - 3/2 - 1/2 < s \le 3{{n - 1} \over 2} + 3/2 - 1/2\quad \Rightarrow \cr & \Rightarrow \quad \left\lfloor {3{{n - 1} \over 2} - 3/2 - 1/2} \right\rfloor < s \le \left\lfloor {3{{n - 1} \over 2} + 3/2 - 1/2} \right\rfloor \cr} $$ and in general, for a dimension $m$ $$ \bbox[lightyellow] { \eqalign{ & d - m < x_{\,k} + y_{\,j} + z_{\,l} = s < d\quad \Rightarrow \cr & \Rightarrow \quad m{{n - 1} \over 2} - m/2 - 1/2 < s \le m{{n - 1} \over 2} + m/2 - 1/2\quad \Rightarrow \cr & \Rightarrow \quad \left\lfloor {{{mn - 1} \over 2}} \right\rfloor - m < s \le \left\lfloor {{{mn - 1} \over 2}} \right\rfloor \cr} \tag{3}}$$ which leads to $$ \bbox[lightyellow] { N(n,m) = M_b \left( {\left\lfloor {{{mn - 1} \over 2}} \right\rfloor ,\;n - 1,\;m} \right) - M_b \left( {\left\lfloor {{{mn - 1} \over 2}} \right\rfloor - m,\;n - 1,\;m} \right) \tag{4}}$$
The values for smaller $m$ and $n$ given by the formula are
which check against direct computation.
Finally, concerning the asymptotic for large $n$, we make the following considerations:
so that the maximum of $N_b$ equals the points in the central stripe as shown, for large $n$ (small unit squares) tending to the
continuous and thus giving $$ \bbox[lightyellow] { N(n,3) \approx {9 \over 4}\left( {n - 1} \right)^2 \tag{5}}$$
and in fact