The answer to the title question is that $\operatorname{RE}(3)=3$ and $\operatorname{RE}(n)=\lfloor n^2/4\rfloor$ for $n\ne3$.
To save typing let $f(n)=\operatorname{RE}(n)$. It is easy to verify that $f(3)=3$ and $f(n)=\lfloor n^2/4\rfloor$ for $n=1,2,4$. Moreover, it's easy to see that $f(n)\ge\lfloor n^2/4\rfloor$ for all $n$; just color the edges of $K_n$ so that the spanning subgraph formed by the red edges is a complete bipartite graph $K_{\lceil n/2\rceil,\lfloor n/2\rfloor}$. We will prove by induction that $f(n)\le\lfloor n^2/4\rfloor$ for $n\gt4$.
First, by counting in two ways the pairs $(e,v)$ consisting of a red edge $e$ and a vertex $v$ not incident with $e$, we see that $f(n)\cdot(n-2)\le nf(n-1)$, i.e.,
$$f(n)\le\left\lfloor\frac n{n-2}f(n-1)\right\rfloor$$
for $n\gt2$.
For the inductive step, let $n\gt4$ and assume that $f(n-1)\le\lfloor(n-1)^2/4\rfloor$; we have to show that $f(n)\le\lfloor n^2/4\rfloor$. We consider two cases depending on the parity of $n$.
Case 1. $n=2k$ and $f(n-1)=f(2k-1)\le\lfloor(2k-1)^2/4\rfloor=k(k-1)$. Then
$$f(n)=f(2k)\le\frac{2k}{2k-2}k(k-1)=k^2=\left\lfloor\frac{n^2}4\right\rfloor.$$
Case 2. $n=2k+1$ and $f(n-1)=f(2k)\le\lfloor(2k)^2/4\rfloor=k^2$. Then
$$f(n)=f(2k+1)\le\left\lfloor\frac{2k+1}{2k-1}k^2\right\rfloor\le k^2+k=\left\lfloor\frac{n^2}4\right\rfloor$$
since
$$\frac{2k+1}{2k-1}k^2\lt k^2+k+1.$$