So you want this Equation to be developed in Java. If I am not wrong, T(1) will not be 4. Can you justify your statement.