What is the value of $F(4)$ using the following procedure:
function F(K : integer) integer; begin if (k<3) then F:=k else F:=F(k-1)*F(k-2)+F(k-3) end;
64.3k questions
77.9k answers
244k comments
80.0k users