Let $f(x)$ be defined as $f(5x/4)$. Let $x = 6$. The result should be $2$. How would I calculate this?
This equation arose while developing a game. Let's say you have a conveyor belt and you want to separate the items equally between $3$ lines. However, you only have a machine that separates them into $2$ lines equally. So you take one machine and on each of the $2$ out puts you put another machine, making $4$ equally separated lines. Than you take one of the lines and feed it back into the main line. When you have $6$ items per second, this should result in a result of $3$ lines with a total of 2 items per second. The Actual equations would be $f(x)=f(x + x/4)$. Hope this picture helps for visualization.
Edit: I don't think my function is right, because it tends to infinity.
I think it should be f(x)=x + f(x/4). And I think this should be an infinite sequence which should be convergent.
Edit: I think the infinite serize x + x/4 + x/16 + x/64 + x/256 ...
f(x)=x times the sum of 1/(4^i) where i = 1 and i goes to infinity. The infinite sum converges at 1/3. Meaning f(x) = x/3. If you use Wolfram Alpha, this is their syntax. Sum[Divide[1,Power[4,i]],{i,1,∞}]

$$\text{in}(t_n)=6+\frac14 {\text{out}(t_n)}\\ \text{out}(t_n)=\text{in}(t_{n-1})$$
Asume that the limits exist and $$\lim_{n\to \infty}\text{in}(t_n)=\text{in}_0$$ and $$\lim_{n\to \infty}\text{out}(t_n)=\text{out}_0$$ then you have $$\text{in}_0=6+\frac14 {\text{out}_0}\\ \text{out}_0=\text{in}_0$$ and from this $$\implies \text{in}_0=6+\frac14 {\text{in}_0}\implies \text{in}_0=8$$ and $$\frac14 \text{out}_0=2$$
The sequence $$ \text{in}(t_n)$$ is increasing and bounded by $8$, so it must be convergent.